XMPP即时通讯客户端Spark二次开发之default.properties的功能修改

#################################################
################# Login Window  #################
#################################################
# The Login image
# suggested image dimensions 244 x 188 pixels

#这里修改登录界面上面的图片 官方推荐244*188像素
MAIN_IMAGE = images/spark.gif

#这里修改spark标志
APPLICATION_NAME = Spark
SHORT_NAME = Spark

############# Auto Set During Build #############
APPLICATION_VERSION = 2.8.2
# Passed into ant via cmd line argument:
#   -Dbuild.number=<build number>
# If not passed in, this field is ignored.
#通过命令行参数传入Ant:
#-dbuild.number=<内部版本号>
#如果未传入,则忽略此字段。
BUILD_NUMBER = 
#################################################

USER_DIRECTORY_WINDOWS = Spark
USER_DIRECTORY_LINUX = .Spark
USER_DIRECTORY_MAC = Library/Application Support/Spark

LOGIN_DIALOG_BACKGROUND_IMAGE =  images/login_dialog_background.png
TOP_BOTTOM_BACKGROUND_IMAGE = images/top_bottom_background_image.png
SECONDARY_BACKGROUND_IMAGE = images/steel.png

# Specify a fixed Hostname
# Changing the Hostname will also be prohibited if set
#指定固定主机名
#如果设置,也将禁止更改主机名
HOST_NAME = 
# Set true if you dont want user to change the server
#如果不希望用户更改服务器,请设置为true。
HOST_NAME_CHANGE_DISABLED = false
# Proxy Settings
# Protocols are HTTP or SOCKS , case sensitive!!!
#代理服务器设置
#协议是HTTP或SOCKS,区分大小写!!!
PROXY_PROTOCOL = 
PROXY_HOST = 
PROXY_PORT = 

# Remove account creation Button from Loginwindow
# Users wont be able to register new Accounts from within Spark
#从登录窗口中删除“帐户创建”按钮
#用户将无法从Spark注册新帐户
ACCOUNT_DISABLED = 
# Remove Advanced Configuration Button from Loginwindow
# Users wont be able to access the advanced configuration 
#从LoginWindow中删除“高级配置”按钮
#用户将无法访问高级配置
ADVANCED_DISABLED = 

# Force using hostname or version as a resource (both are "false" by default; only one can be
# "true" at a time; if both are "true", then hostname will be used as a resource)
#强制使用主机名或版本作为资源(默认情况下两者都是“false”;只能使用一个
#一次为“真”;如果两者都为“真”,则主机名将用作资源)
HOSTNAME_AS_RESOURCE = false
VERSION_AS_RESOURCE = false

# When enabled, it removes history from the chat window and doesn't save history into transcript files. Also removes history
# settings from the preferences, removes history button from the chat window and contact's history context menu.
#启用后,它会从聊天窗口中删除历史记录,不会将历史记录保存到转录文件中。同时删除历史记录
#设置从首选项,删除聊天窗口的历史记录按钮和联系人的历史记录上下文菜单。
HISTORY_DISABLED = false
# When enabled, it hides history settings from the preferences and removes Clear button from the context menu in the Chat window
#启用后,它会从首选项中隐藏历史设置,并从聊天窗口的上下文菜单中删除“清除”按钮。
HIDE_HISTORY_SETTINGS = false

#If Advanded preferences is enabled you are able to remove tabs, except the "General" tab
#Removes SSO Tab 
#如果启用了高级首选项,则可以删除选项卡,但“常规”选项卡除外。
#删除“SSO”选项卡
SSO_DISABLED = false
#Removes PKI Tab
#删除pki选项卡
PKI_DISABLED = false
#Removes Proxy Tab
#删除代理选项卡
PROXY_DISABLED = false


# Show Password Reset Button on LoginDialog. 
# !!!! This will repleace the "register new user" button, please set ACCOUNT_DISABLED = true !!!!
#在登录对话框上显示密码重置按钮。
#!!!!这将回复“注册新用户”按钮,请将ACCOUNT_DISABLED=true!!!
PASSWORD_RESET_ENABLED = false
# URL to your password reset html 
#密码重置HTML的URL
PASSWORD_RESET_URL = 
# Hides Save Password and Auto Login checkboxes on the Login screen and in the Preferences
#在登录屏幕和首选项中隐藏“保存密码”和“自动登录”复选框
HIDE_SAVE_PASSWORD_AND_AUTOLOGIN = false

# Branding only
# Branded images appear in the Top-Right corner, and must be included in the classpath
# place them in src/resource/images and path will be "images/file.jpg"
# BRANDED_IMAGE = images/my-corporation-logo.png
#仅限品牌
#品牌图片出现在右上角,必须包含在类路径中
#将它们放在src/resource/images中,路径为“images/file.jpg”
#品牌_image=images/my-corporation-logo.png
BRANDED_IMAGE = 

# Shows a powered by logo below the Main Image of Spark
#在Spark主图像下方显示Powered by徽标
SHOW_POWERED_BY = 
# Disables updateability, you should set this, if you have a custom Spark-build
# or are in an environment where installfiles are distributed via network
#禁用可更新性,如果有自定义的Spark生成,则应设置此项
#或者处于通过网络分发安装文件的环境中
DISABLE_UPDATES = 

# If true, Spark cannot shut down
# users wont be able to shut down Spark
#如果是真的,火花就不能熄灭
#用户将无法关闭Spark
DISABLE_EXIT = 

# If true, hides "Login as invisible" checkbox on the login screen
#如果为真,则在登录屏幕上隐藏“登录为不可见”复选框
HIDE_LOGIN_AS_INVISIBLE = false

HIDE_LOGIN_ANONYMOUSLY = false

# If true, the "Preferences" menu item will be disabled
#如果为真,“首选项”菜单项将被禁用。
DISABLE_PREFERENCES_MENU_ITEM = false

# This allows an administrator to override the DISABLE_PREFERENCES_MENU_ITEM setting
# The "Preferences" menu item will become enabled when the specified file exists
# Specify the maintenance path/file here (i.e. \\\\server\\share\\filename.ext)
# It is best to place this file on a read-only network share
#这允许管理员覆盖“禁用”菜单项设置。
#当指定的文件存在时,“首选项”菜单项将启用。
#在此处指定维护路径/文件(即\ \ \ \服务器\共享\文件名.ext)
#最好将此文件放在只读网络共享上
MAINT_FILESPEC =

# If true, don't allow user to manually change presence status
#如果为真,则不允许用户手动更改状态
DISABLE_PRESENCE_STATUS_CHANGE = false

# If true, disable all "Broadcast" menu items
#如果为真,则禁用所有“广播”菜单项
DISABLE_BROADCAST_MENU_ITEM = false

# If true, remove the "Avatar" tab in profile dialog
#如果为真,请删除配置文件对话框中的“avatar”选项卡。
DISABLE_AVATAR_TAB = false

# If true, disable the "Plugins" menu item
#如果为真,则禁用“插件”菜单项
DISABLE_PLUGINS_MENU_ITEM = false

# If true, disable the option to transfer files and images
#如果为真,则禁用传输文件和图像的选项
DISABLE_FILE_XFER = false

# If true, disable the option to remove contacts and groups in roster
#如果为真,则禁用删除排班中联系人和组的选项
DISABLE_REMOVALS = false

# If true, disable the option to rename contacts and groups in roster
#如果为真,则禁用重命名排班中联系人和组的选项
DISABLE_RENAMES = false

# If true, disable the options to move and copy contacts
#如果为真,则禁用移动和复制联系人的选项
DISABLE_MOVE_AND_COPY = false

# If true, disable the option to edit the profile
#如果为真,则禁用编辑配置文件的选项
DISABLE_EDIT_PROFILE = false

# If true, disable the "View notes" option under "Actions"
#如果为真,则禁用“操作”下的“查看注释”选项。
DISABLE_VIEW_NOTES = false

# If true, disable the "View task list" option under "Actions"
#如果为真,则禁用“操作”下的“查看任务列表”选项。
DISABLE_VIEW_TASK_LIST = false

#################################################
################## File Transfer ################
#################################################

# Specify a size on which Users will get a 
# warning of a possibly too big file
# 10MB  = 10485760
# 100MB = 104857600
# 1GB   = 1073741824
# default = -1 (infinity)
# maximum is 9223372036854775806 byte = 8388608TB
#指定用户将获得的大小
#警告文件可能太大
#10MB=10485760
#100MB=104857600
#1GB=1073741824
#默认值为-1(无穷大)
#最大9223372036854775806字节=8388608TB
FILE_TRANSFER_WARNING_SIZE = -1

# Specify the Maximum file size to be permitted to send
# 10MB  = 10485760
# 100MB = 104857600
# 1GB   = 1073741824
# default = -1 (infinity)
# maximum is 9223372036854775806 byte = 8.388.608 TB
#指定允许发送的最大文件大小
#10MB=10485760
#100MB=104857600
#1GB=1073741824
#默认值为-1(无穷大)
#最大9223372036854775806字节=8.388.608 TB
FILE_TRANSFER_MAXIMUM_SIZE = -1


#################################################
################## Main Window ##################
#################################################
# [Not yet implemented:]
# Changing this wont have any effect
# Roster Management
#HOVER_TEXT_COLOR =
#TEXT_COLOR =
#CONTACT_GROUP_START_COLOR =
#CONTACT_GROUP_END_COLOR =
#TAB_START_COLOR =
#TAB_END_COLOR =
# [/NYI]
#[尚未实现:]
#改变这个不会有任何效果
#排班管理
#悬停文本颜色=
#文本颜色=
#联系人组开始颜色=
#联系人组结束颜色=
#制表符开始颜色=
#制表符结束颜色=
#[/NYI]
#################################################
################ Settings Window ################
#################################################

# Disables adding of contacts
# The User wont be able to add contacts, 
# usefull for shared roster management
#禁止添加联系人
#用户将无法添加联系人,
#用于共享花名册管理
ADD_CONTACT_DISABLED = 
# Disables adding contact groups
# The User wont be able to add contact groups, 
# usefull for shared roster management
#禁用添加联系人组
#用户将无法添加联系人组,
#用于共享花名册管理
ADD_CONTACT_GROUP_DISABLED = 

# Change Password Disabled
# Users wont be able to change their password
#更改密码已禁用
#用户将无法更改其密码
CHANGE_PASSWORD_DISABLED = 

# Sets the Location of the Userguide
#Default is http://www.igniterealtime.org/builds/spark/docs/spark_user_guide.pdf
#设置用户指南的位置
#默认值为http://www.igniterealtime.org/builds/spark/docs/spark_user_guide.pdf
HELP_USER_GUIDE = https://community.igniterealtime.org/docs/DOC-5213
# Set to true, if you dont want this displayed
#如果不想显示,请设置为“真”
HELP_USER_GUIDE_DISABLED = 
# Sets the Location of the Help-Forum
#Default is http://www.igniterealtime.org/forum/forum.jspa?forumID=49
#设置帮助论坛的位置
#默认值是http://www.igniterealtime.org/forum/forum.jspa?Forumid=49岁
HELP_FORUM = https://community.igniterealtime.org/community/support/spark_support
# Set to true, if you dont want this displayed
#如果不想显示,请设置为“真”
HELP_FORUM_DISABLED = 
# Following Text will be displayed instead of "Spark forum"
# leave blank for default
#将显示以下文本而不是“Spark Forum”
#默认为空
HELP_FORUM_TEXT = 

#################################################
############### About Box Window ################
#################################################

# Version and Developer Info
# Note: Application name and Version are always displayed

# Display Version and Developer Info
# 'true' or 'false'
#版本和开发人员信息
#注意:始终显示应用程序名称和版本
#显示版本和开发人员信息
#“真”或“假”
DISPLAY_DEV_INFO = true
# Leave blank for auto-detect
#留空自动检测
SMACK_VERSION =
JAVA_VERSION =

# Set additional About Box information
# About Box dynamically resizes depending on number of lines and length of text
# Leave blank to omit line and shift lines upwards
#设置关于框信息的附加信息
#关于框根据行数和文本长度动态调整大小
#留空以省略行并向上移动行
APPLICATION_INFO1 = Ignite Realtime
APPLICATION_INFO2 =
APPLICATION_INFO3 =
# Clickable Link - must be a valid and complete URL
# Ex: http://www.igniterealtime.org/
#可单击链接-必须是有效且完整的URL
#例如:http://www.igniterealtime.org/
APPLICATION_LICENSE_LINK = http://www.igniterealtime.org/builds/spark/docs/latest/LICENSE.html
APPLICATION_LICENSE_LINK_TXT = Apache License, Version 2.0
APPLICATION_INFO4 =
# Clickable Link - must be a valid and complete URL
# Ex: http://www.igniterealtime.org/
#可单击链接-必须是有效且完整的URL
#例如:http://www.igniterealtime.org/
APPLICATION_LINK = http://www.igniterealtime.org/
APPLICATION_LINK_TXT = www.igniterealtime.org

#################################################
################     Plugins     ################
#################################################

# This is the default location where Plugins can be downloaded from
# for a sample structure see trunk/documentation/sample_plugin_repository.xml
# default: http://www.igniterealtime.org/updater/plugins.jsp
#这是可以从中下载插件的默认位置
#有关示例结构,请参阅trunk/documentation/sample_plugin_repository.xml
#默认:http://www.igniterealtime.org/updater/plugins.jsp
PLUGIN_REPOSITORY = http://www.igniterealtime.org/updater/plugins.jsp
# Use Sparks global Proxy to connect to the repository?
# if your repository lies within your network, this probably needs to be disabled
# default: true
#使用Sparks全局代理连接到存储库?
#如果您的存储库位于网络中,则可能需要禁用它。
#默认值:真
PLUGIN_REPOSITORY_USE_PROXY = true
#http://www.igniterealtime.org/updater/plugins.jsp
# Disable Installing of Plugins
# set true if you want to disable installing of Plugins
#http://www.ignerirealtime.org/updater/plugins.jsp
#禁用插件安装
#如果要禁用插件安装,请设置为true。
INSTALL_PLUGINS_DISABLED = 
# Disable deleting of Plugins
# set true if you want to disable deinstalling of Plugins
#禁用删除插件
#如果要禁用卸载插件,请设置为true。
DEINSTALL_PLUGINS_DISABLED = 
# Put plugins here that you dont want enabled
# comma separated, case insensitive
# names of plugins can be found in the plugin.xml
# example: Fastpath,Jingle Client,Phone Client,Window Flashing Plugin
# default is empty
#在此处放置不希望启用的插件
#逗号分隔,不区分大小写
#插件的名称可以在plugin.xml中找到
#示例:fastpath、jingle客户端、phone客户端、window flashing插件
#默认为空
PLUGIN_BLACKLIST =
# Disable Plugins by entrypoint Class 
# Comma seperated, case sensitive
# example org.jivesoftware.fastpath.FastpathPlugin
# default is empty
#按入口点类禁用插件
#逗号分隔,区分大小写
#示例org.jivesoftware.fastpath.fastpathplugin
#默认为空
PLUGIN_BLACKLIST_CLASS =


#################################################
#########     Color + LookandFeel     ###########
#################################################

# by Default Server-Broadcast get their own JFrame containing the Message
# also HTML tags like <b> <i> <u> can be used
# if you want server broadcasts handled like every other message including transcripts
# set this to true
#默认情况下,服务器广播获取自己的包含消息的JFrame
#也可以使用HTML标记,如
#如果您希望服务器广播像其他所有消息一样处理,包括脚本
#设置为真
BROADCAST_IN_CHATWINDOW = false
# Disable Look&Feel change || "true" = disabled ,  anything else = enabled
# By Default the user can Change his Look&Feel in the Preferences Menu, 
# if you dont want this then set it to true
# Preferences -> Appearence -> Customization Tab
#禁用外观和感觉更改“真”=禁用,任何其他=启用
#默认情况下,用户可以在“首选项”菜单中更改外观。
#如果你不想这样,那就把它设为真。
#首选项->外观->自定义选项卡
LOOK_AND_FEEL_DISABLED = 
# Disable if you dont want Users to be able to Change the Textcolors in the Preference Menu
# the colors will be loaded from below
# Preferences -> Appearence -> ColorTab 
#如果不希望用户能够更改首选项菜单中的文本颜色,请禁用
#颜色将从下面加载
#首选项->外观->颜色选项卡
CHANGE_COLORS_DISABLED = 
# Changes the Default Look&Feel, if empty it will load the SystemSkin
# Default Spark skin is com.jtattoo.plaf.luna.LunaLookAndFeel
# other nice skin is org.jvnet.substance.skin.SubstanceBusinessBlueSteelLookAndFeel
#更改默认外观,如果为空,将加载系统外观
#默认Spark Skin为com.jttoto.plaf.luna.lunalookandfeel
#其他漂亮的皮肤是org.jvnet.substance.skin.substancebusinessbluesteellookandfeel

#皮肤在substance.jar里的org.pushingpixels.substance.api.skin包下,复制类名,去掉.class即可使用
DEFAULT_LOOK_AND_FEEL = com.jtattoo.plaf.luna.LunaLookAndFeel
DEFAULT_LOOK_AND_FEEL_MAC =
# in JTatto Menubars can have Texts, default is empty
#在jtatto菜单栏中可以有文本,默认为空
MENUBAR_TEXT = 

# tabs are placed on bottom by default. if set to true will be placed on top
#默认情况下,选项卡放在底部。如果设置为“真”,则将置于顶部
TABS_PLACEMENT_TOP =

# the person search field is displayed by default. if set to true the search field will
# not be displayed
#默认情况下会显示“人员搜索”字段。如果设置为true,搜索字段将
#不显示
HIDE_PERSON_SEARCH_FIELD =

# Below are Single Color Elements
# They are Stored as Redvalue,Greenvalue,Bluevalue,Alphavalue
# Ranging from 0 - 255
# an Alpha value of 255 means it is completly opaque
# an Alpha value of 0 means it is transparent 
# all values must be set or it will produce errors
# they are preconfigured to look nice with the Windowstheme or the SubstanceBusinessBlueSteel Look
#下面是单色元素
#它们存储为RedValue、GreenValue、BlueValue、AlphaValue
#范围从0-255
#alpha值为255表示它完全不透明。
#alpha值为0表示它是透明的
#必须设置所有值,否则将产生错误
#它们预配置为使用WindowsTheme或实体商务蓝钢外观美观。
ChatInput.SelectedTextColor = 255,255,255,255
ChatInput.SelectionColor = 10,36,106,255
ContactItemNickname.foreground = 0,0,0,255
ContactItemDescription.foreground = 128,128,128,255
ContactItem.background = 240,243,253,255
ContactItemOffline.color = 128,128,128,255
Link.foreground = 0,0,255,255
List.selectionBackground = 217,232,250,255
List.selectionForeground = 0,0,0,255
List.selectionBorder = 187,195,215,255
List.foreground = 0,0,0,255
List.background = 255,255,255,255
TextField.lightforeground = 128,128,128,255
TextField.foreground = 0,0,0,255
TextField.caretForeground = 0,0,0,255
TextPane.foreground = 0,0,0,255
TextPane.background = 255,255,255,255
TextPane.inactiveForeground = 255,255,255,255
TextPane.caretForeground = 0,0,0,255
MenuItem.selectionBackground = 217,232,250,255
MenuItem.selectionForeground = 0,0,0,255
Table.foreground = 0,0,0,255
Table.background = 255,255,255,255
## ChatWindow Colors: ##
Address.foreground = 212,160,0,255
User.foreground = 0,0,255,255
OtherUser.foreground = 255,0,0,255
Notification.foreground = 0,128,0,255
Error.foreground = 255,0,0,255
Question.foreground = 255,0,0,255
History.foreground = 64,64,64,255
SparkTabbedPane.startColor = 236,236,236,255
SparkTabbedPane.endColor = 236,236,236,255
SparkTabbedPane.borderColor = 192,192,192,255
Chat.activeTabColor = 0,0,0,255
Chat.inactiveTabColor = 80,80,80,255
Chat.unreadMessageColor = 255,0,0,255
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值