Bug 920801 - Port chat/ changes from Instantbird to comm-central - 6 - Bio 1769 - Make names of protocols localizable, r=clokep.

This commit is contained in:
Alexander L. Slovesnik 2013-06-28 00:56:30 +02:00
Родитель 7b17fb48a7
Коммит f819000d73
6 изменённых файлов: 14 добавлений и 4 удалений

Просмотреть файл

@ -2,6 +2,10 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# LOCALIZATION NOTE (twitter.protocolName)
# This name is used whenever the name of the protocol is shown.
twitter.protocolName=Twitter
# LOCALIZATION NOTE (error.*):
# These are errors that will be shown to the user in conversation.
error.tooLong=Status is over 140 characters.

Просмотреть файл

@ -78,6 +78,12 @@ options.connectionSecurity.allowUnencryptedAuth=Allow sending the password unenc
options.connectServer=Server
options.connectPort=Port
# LOCALIZATION NOTE (*.protocolName)
# This name is used whenever the name of the protocol is shown.
gtalk.protocolName=Google Talk
vkontakte.protocolName=VK
odnoklassniki.protocolName=Odnoklassniki
# LOCALIZATION NOTE (gtalk.usernameHint):
# This is displayed inside the accountUsernameInfoWithDescription
# string defined in imAccounts.properties when the user is

Просмотреть файл

@ -87,7 +87,7 @@ function GTalkProtocol() {
GTalkProtocol.prototype = {
__proto__: GenericProtocolPrototype,
get normalizedName() "gtalk",
get name() "Google Talk",
get name() _("gtalk.protocolName"),
get iconBaseURI() "chrome://prpl-gtalk/skin/",
get usernameEmptyText() _("gtalk.usernameHint"),
getAccount: function(aImAccount) new GTalkAccount(this, aImAccount),

Просмотреть файл

@ -46,7 +46,7 @@ function OdnoklassnikiProtocol() {
OdnoklassnikiProtocol.prototype = {
__proto__: GenericProtocolPrototype,
get normalizedName() "odnoklassniki",
get name() "Odnoklassniki",
get name() _("odnoklassniki.protocolName"),
get iconBaseURI() "chrome://prpl-odnoklassniki/skin/",
get usernameEmptyText() _("odnoklassniki.usernameHint"),
getAccount: function(aImAccount) new OdnoklassnikiAccount(this, aImAccount),

Просмотреть файл

@ -1077,7 +1077,7 @@ function TwitterProtocol() {
}
TwitterProtocol.prototype = {
__proto__: GenericProtocolPrototype,
get name() "Twitter",
get name() _("twitter.protocolName"),
get iconBaseURI() "chrome://prpl-twitter/skin/",
get noPassword() true,
options: {

Просмотреть файл

@ -46,7 +46,7 @@ function VkontakteProtocol() {
VkontakteProtocol.prototype = {
__proto__: GenericProtocolPrototype,
get normalizedName() "vkontakte",
get name() "Vkontakte",
get name() _("vkontakte.protocolName"),
get iconBaseURI() "chrome://prpl-vkontakte/skin/",
get usernameEmptyText() _("vkontakte.usernameHint"),
getAccount: function(aImAccount) new VkontakteAccount(this, aImAccount),