Fx60: Fix localization

Also fixes #1690 (at least on Catalina), and possibly other things

general.useragent.locale and intl.locale.matchOS are no longer used.
This commit is contained in:
Dan Stillman 2019-10-23 19:02:50 -04:00
parent 0061ffeb56
commit 513f7d6555
114 changed files with 466 additions and 317 deletions

View file

@ -2,7 +2,7 @@
const React = require('react')
const { PureComponent, createElement: create } = React
const { injectIntl, intlShape } = require('react-intl')
const { injectIntl } = require('react-intl')
const { IconDownChevron } = require('./icons')
const cx = require('classnames')
const {
@ -108,7 +108,6 @@ class Button extends PureComponent {
static propTypes = {
className: string,
icon: element,
intl: intlShape.isRequired,
isActive: bool,
isDisabled: bool,
isMenu: bool,

View file

@ -470,22 +470,18 @@ Zotero_Preferences.Advanced = {
refreshLocale: function () {
var matchOS = Zotero.Prefs.get('intl.locale.matchOS', true);
var requestedLocale = Services.locale.getRequestedLocale();
var autoLocaleName, currentValue;
// If matching OS, get the name of the current locale
if (matchOS) {
if (Zotero.Prefs.get('intl.regional_prefs.use_os_locales', true)) {
autoLocaleName = this._getAutomaticLocaleMenuLabel();
currentValue = 'automatic';
}
// Otherwise get the name of the locale specified in the pref
else {
let branch = Services.prefs.getBranch("");
let locale = branch.getComplexValue(
'general.useragent.locale', Components.interfaces.nsIPrefLocalizedString
);
autoLocaleName = Zotero.getString('zotero.preferences.locale.automatic');
currentValue = locale;
currentValue = requestedLocale;
}
// Populate menu
@ -503,19 +499,20 @@ Zotero_Preferences.Advanced = {
},
onLocaleChange: function () {
var requestedLocale = Services.locale.getRequestedLocale();
var menu = document.getElementById('locale-menu');
if (menu.value == 'automatic') {
// Changed if not already set to automatic (unless we have the automatic locale name,
// meaning we just switched away to the same manual locale and back to automatic)
var changed = !Zotero.Prefs.get('intl.locale.matchOS', true)
&& menu.label != this._getAutomaticLocaleMenuLabel();
Zotero.Prefs.set('intl.locale.matchOS', true, true);
var changed = requestedLocale && menu.label != this._getAutomaticLocaleMenuLabel();
Services.locale.setRequestedLocales([]);
Zotero.Prefs.clear('intl.regional_prefs.use_os_locales', true);
}
else {
// Changed if moving to a locale other than the current one
var changed = Zotero.locale != menu.value
Zotero.Prefs.set('intl.locale.matchOS', false, true);
Zotero.Prefs.set('general.useragent.locale', menu.value, true);
Services.locale.setRequestedLocales([menu.value]);
Zotero.Prefs.set('intl.regional_prefs.use_os_locales', false, true);
}
if (!changed) {

View file

@ -31,6 +31,25 @@ Zotero.Intl = new function () {
// Get settings from language pack (extracted by zotero-build/locale/merge_mozilla_files)
this.init = function () {
var prevMatchOS = Zotero.Prefs.get('intl.locale.matchOS', true);
var prevLocale = Zotero.Prefs.get('general.useragent.locale', true);
if (prevMatchOS !== undefined || prevLocale !== undefined) {
if (prevMatchOS) {
Services.locale.setRequestedLocales([]);
}
else if (prevLocale) {
try {
Services.locale.setRequestedLocales([prevLocale]);
}
catch (e) {
// Don't panic if the value is not a valid locale code
}
}
Zotero.Prefs.clear('intl.locale.matchOS', true);
Zotero.Prefs.clear('general.useragent.locale', true);
}
Components.utils.import("resource://gre/modules/PluralForm.jsm");
bundle = Services.strings.createBundle('chrome://zotero/locale/zotero.properties');
@ -39,7 +58,7 @@ Zotero.Intl = new function () {
[pluralFormGet, pluralFormNumForms] = PluralForm.makeGetter(parseInt(getIntlProp('pluralRule', 1)));
setOrClearIntlPref('intl.accept_languages', 'string');
Zotero.locale = getIntlProp('general.useragent.locale', 'en-US');
Zotero.locale = Services.locale.getRequestedLocale();
// Also load the brand as appName
Zotero.appName = Services.strings

View file

@ -565,16 +565,12 @@ Zotero.Schema = new function(){
if (!data) {
throw new Error("Data not provided");
}
var locale = data.locales[Zotero.locale];
if (!locale) {
Zotero.warn(`Locale ${Zotero.locale} not found in global schema locales`);
locale = data.locales['en-US'];
if (!locale) {
throw new Error("en-US locale not found in global schema locales");
}
}
Zotero.Schema.globalSchemaVersion = data.version;
Zotero.Schema.globalSchemaLocale = locale;
var locale = Zotero.Utilities.Internal.resolveLocale(
Zotero.locale,
Object.keys(data.locales)
);
Zotero.Schema.globalSchemaLocale = data.locales[locale];
Zotero.Schema.globalSchemaMeta = data.meta;
Zotero.Schema.CSL_TYPE_MAPPINGS = {};
Zotero.Schema.CSL_TYPE_MAPPINGS_REVERSE = {};

View file

@ -1385,6 +1385,48 @@ Zotero.Utilities.Internal = {
},
resolveLocale: function (locale, locales) {
// If the locale exists as-is, use it
if (locales.includes(locale)) {
return locale;
}
// If there's a locale with just the language, use that
var langCode = locale.substr(0, 2);
if (locales.includes(langCode)) {
return langCode;
}
// Find locales matching language
var possibleLocales = locales.filter(x => x.substr(0, 2) == langCode);
// If none, use en-US
if (!possibleLocales.length) {
if (!locales.includes('en-US')) {
throw new Error("Locales not available");
}
Zotero.logError(`Locale ${locale} not found`);
return 'en-US';
}
possibleLocales.sort(function (a, b) {
if (a == 'en-US') return -1;
if (b == 'en-US') return 1;
// Prefer canonical country (e.g., pt-PT over pt-BR)
if (a.substr(0, 2) == a.substr(3, 2).toLowerCase()) {
return -1;
}
if (b.substr(0, 2) == b.substr(3, 2).toLowerCase()) {
return 1;
}
return a.substr(3, 2).localeCompare(b.substr(3, 2));
});
return possibleLocales[0];
},
/**
* Get the next available numbered name that matches a base name, for use when duplicating
*

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Opsies">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Voorkeure">
<!ENTITY preferencesCmdUnix.accesskey "k">
<!ENTITY preferencesCmdUnix.accesskey "k">

View file

@ -1,3 +1,2 @@
general.useragent.locale=af-ZA
intl.accept_languages=af, en-ZA, en-GB, en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "خيارات">
<!ENTITY preferencesCmd2.accesskey "خ">
<!ENTITY preferencesCmdUnix.label "التفضيلات">
<!ENTITY preferencesCmdUnix.accesskey "ف">
<!ENTITY preferencesCmdUnix.accesskey "ف">

View file

@ -1,3 +1,2 @@
general.useragent.locale=ar
intl.accept_languages=ar, en-us, en
pluralRule=12

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Настройки">
<!ENTITY preferencesCmd2.accesskey "Н">
<!ENTITY preferencesCmdUnix.label "Настройки">
<!ENTITY preferencesCmdUnix.accesskey "Н">
<!ENTITY preferencesCmdUnix.accesskey "Н">

View file

@ -1,3 +1,2 @@
general.useragent.locale=bg-BG
intl.accept_languages=bg, en-US, en
pluralRule=1

View file

@ -0,0 +1,2 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmdUnix.label "Preferences">

View file

@ -0,0 +1,33 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- 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/. -->
<!ENTITY editMenu.label "Edit">
<!ENTITY editMenu.accesskey "e">
<!ENTITY undoCmd.label "Undo">
<!ENTITY undoCmd.key "Z">
<!ENTITY undoCmd.accesskey "u">
<!ENTITY redoCmd.label "Redo">
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "r">
<!ENTITY cutCmd.label "Cut">
<!ENTITY cutCmd.key "X">
<!ENTITY cutCmd.accesskey "t">
<!ENTITY copyCmd.label "Copy">
<!ENTITY copyCmd.key "C">
<!ENTITY copyCmd.accesskey "c">
<!ENTITY pasteCmd.label "Paste">
<!ENTITY pasteCmd.key "V">
<!ENTITY pasteCmd.accesskey "p">
<!ENTITY deleteCmd.label "Delete">
<!ENTITY deleteCmd.accesskey "d">
<!ENTITY selectAllCmd.label "Select All">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "a">
<!ENTITY findCmd.label "Find">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "F">
<!ENTITY findAgainCmd.label "Find Again">
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "g">

View file

@ -0,0 +1,2 @@
intl.accept_languages=en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Opcions">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferències">
<!ENTITY preferencesCmdUnix.accesskey "n">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -1,3 +1,2 @@
general.useragent.locale=ca-AD
intl.accept_languages=ca, en-us, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Možnosti">
<!ENTITY preferencesCmd2.accesskey "M">
<!ENTITY preferencesCmdUnix.label "Předvolby">
<!ENTITY preferencesCmdUnix.accesskey "v">
<!ENTITY preferencesCmdUnix.accesskey "v">

View file

@ -1,3 +1,2 @@
general.useragent.locale=cs-CZ
intl.accept_languages=cs, sk, en-US, en
pluralRule=8
intl.accept_languages=cs, en-us, en

View file

@ -1,3 +1,2 @@
general.useragent.locale=da-DK
pluralRule=1
intl.accept_languages=da, en-us, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Einstellungen">
<!ENTITY preferencesCmd2.accesskey "E">
<!ENTITY preferencesCmd2.accesskey "E">
<!ENTITY preferencesCmdUnix.label "Einstellungen">
<!ENTITY preferencesCmdUnix.accesskey "E">
<!ENTITY preferencesCmdUnix.accesskey "E">

View file

@ -1,3 +1,7 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- 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/. -->
<!ENTITY editMenu.label "Bearbeiten">
<!ENTITY editMenu.accesskey "B">
<!ENTITY undoCmd.label "Rückgängig">
@ -17,9 +21,9 @@
<!ENTITY pasteCmd.accesskey "E">
<!ENTITY deleteCmd.label "Löschen">
<!ENTITY deleteCmd.accesskey "L">
<!ENTITY selectAllCmd.label "Alles markieren">
<!ENTITY selectAllCmd.label "Alles auswählen">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "m">
<!ENTITY selectAllCmd.accesskey "u">
<!ENTITY findCmd.label "Suchen">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "S">

View file

@ -1,3 +1,2 @@
general.useragent.locale=de
intl.accept_languages=de, en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Επιλογές">
<!ENTITY preferencesCmd2.accesskey "Ε">
<!ENTITY preferencesCmdUnix.label "Προτιμήσεις">
<!ENTITY preferencesCmdUnix.accesskey "μ">
<!ENTITY preferencesCmdUnix.accesskey "μ">

View file

@ -1,3 +1,2 @@
general.useragent.locale=el-GR
intl.accept_languages=el-GR, el, en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferences">
<!ENTITY preferencesCmdUnix.accesskey "n">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -1,3 +1,2 @@
general.useragent.locale=en-GB
intl.accept_languages=en-GB, en
pluralRule=1

View file

@ -1,3 +1,2 @@
general.useragent.locale=en-US
intl.accept_languages=en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Opciones">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferencias">
<!ENTITY preferencesCmdUnix.accesskey "n">
<!ENTITY preferencesCmd2.label "Opciones">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferencias">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -1,3 +1,2 @@
general.useragent.locale =es-ES
intl.accept_languages = es-ES, es, en-US, en
pluralRule = 1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Sätted">
<!ENTITY preferencesCmd2.accesskey "S">
<!ENTITY preferencesCmdUnix.label "Eelistused">
<!ENTITY preferencesCmdUnix.accesskey "E">
<!ENTITY preferencesCmd2.label "Sätted">
<!ENTITY preferencesCmd2.accesskey "S">
<!ENTITY preferencesCmdUnix.label "Eelistused">
<!ENTITY preferencesCmdUnix.accesskey "E">

View file

@ -1,3 +1,2 @@
general.useragent.locale=et-EE
pluralRule=1
intl.accept_languages=et, et-ee, en-us, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Aukerak">
<!ENTITY preferencesCmd2.accesskey "A">
<!ENTITY preferencesCmdUnix.label "Hobespenak">
<!ENTITY preferencesCmdUnix.accesskey "n">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -1,3 +1,2 @@
general.useragent.locale=eu-ES
intl.accept_languages=eu, en-us, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "گزینه‌ها">
<!ENTITY preferencesCmd2.accesskey "گ">
<!ENTITY preferencesCmdUnix.label "ترجیحات">
<!ENTITY preferencesCmdUnix.accesskey "ح">
<!ENTITY preferencesCmdUnix.accesskey "ت">

View file

@ -1,3 +1,2 @@
general.useragent.locale=fa
intl.accept_languages=fa-ir, fa, en-us, en
pluralRule=0
pluralRule=2

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Asetukset">
<!ENTITY preferencesCmd2.accesskey "A">
<!ENTITY preferencesCmdUnix.label "Asetukset">
<!ENTITY preferencesCmdUnix.accesskey "A">
<!ENTITY preferencesCmdUnix.accesskey "A">

View file

@ -1,3 +1,2 @@
general.useragent.locale=fi-FI
intl.accept_languages=fi-fi, fi, en-us, en
pluralRule=1

View file

@ -1,3 +1,2 @@
general.useragent.locale=fr-FR
pluralRule=2
intl.accept_languages=fr, fr-fr, en-us, en
pluralRule=2

View file

@ -1,4 +1,2 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferences">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -31,5 +31,3 @@
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "g">
<!ENTITY findPreviousCmd.label "Find Previous">
<!ENTITY findPreviousCmd.accesskey "v">

View file

@ -1,3 +1,2 @@
general.useragent.locale=en-US
intl.accept_languages=en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "אפשרויות">
<!ENTITY preferencesCmd2.accesskey "א">
<!ENTITY preferencesCmdUnix.label "העדפות">
<!ENTITY preferencesCmdUnix.accesskey "ד">
<!ENTITY preferencesCmdUnix.accesskey "ד">

View file

@ -7,24 +7,24 @@
<!ENTITY undoCmd.label "בטל">
<!ENTITY undoCmd.key "Z">
<!ENTITY undoCmd.accesskey "ל">
<!ENTITY redoCmd.label צע שוב">
<!ENTITY redoCmd.label יצוע שוב">
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "צ">
<!ENTITY cutCmd.label "גזור">
<!ENTITY cutCmd.label "גזירה">
<!ENTITY cutCmd.key "X">
<!ENTITY cutCmd.accesskey "ג">
<!ENTITY copyCmd.label "העתק">
<!ENTITY copyCmd.label "העתקה">
<!ENTITY copyCmd.key "C">
<!ENTITY copyCmd.accesskey "ת">
<!ENTITY pasteCmd.label "הדבק">
<!ENTITY pasteCmd.label "הדבקה">
<!ENTITY pasteCmd.key "V">
<!ENTITY pasteCmd.accesskey "ה">
<!ENTITY deleteCmd.label "מחק">
<!ENTITY deleteCmd.label "מחיקה">
<!ENTITY deleteCmd.accesskey "מ">
<!ENTITY selectAllCmd.label "בחר הכול">
<!ENTITY selectAllCmd.label "בחירת הכל">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "ב">
<!ENTITY findCmd.label פש">
<!ENTITY findCmd.label יפוש">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "פ">
<!ENTITY findAgainCmd.label "מצא שוב">

View file

@ -1,3 +1,2 @@
general.useragent.locale=he-IL
intl.accept_languages=he, he-IL, en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Mogućnosti">
<!ENTITY preferencesCmd2.accesskey "M">
<!ENTITY preferencesCmdUnix.label "Postavke">
<!ENTITY preferencesCmdUnix.accesskey "P">
<!ENTITY preferencesCmdUnix.accesskey "P">

View file

@ -1,3 +1,2 @@
general.useragent.locale=hr-HR
intl.accept_languages=hr-hr, hr, en-us, en
pluralRule=7
pluralRule=19

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Beállítások">
<!ENTITY preferencesCmd2.accesskey "e">
<!ENTITY preferencesCmdUnix.label "Beállítások">
<!ENTITY preferencesCmdUnix.accesskey "e">
<!ENTITY preferencesCmdUnix.accesskey "e">

View file

@ -1,3 +1,2 @@
general.useragent.locale=hu-HU
intl.accept_languages=hu-hu, hu, en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Pengaturan…">
<!ENTITY preferencesCmd2.accesskey "g">
<!ENTITY preferencesCmdUnix.label "Pengaturan">
<!ENTITY preferencesCmdUnix.accesskey "g">
<!ENTITY preferencesCmdUnix.accesskey "g">

View file

@ -1,3 +1,2 @@
general.useragent.locale=id-ID
intl.accept_languages=id, en-us, en
pluralRule=0

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Valkostir">
<!ENTITY preferencesCmd2.accesskey "V">
<!ENTITY preferencesCmdUnix.label "Valkostir">
<!ENTITY preferencesCmdUnix.accesskey "V">
<!ENTITY preferencesCmdUnix.accesskey "V">

View file

@ -1,3 +1,2 @@
general.useragent.locale=is-IS
intl.accept_languages=is, en-us, en
pluralRule=15

View file

@ -1,3 +1,2 @@
general.useragent.locale =it-IT
intl.accept_languages = it-IT, it, en-US, en
pluralRule = 1

View file

@ -1,3 +1,2 @@
general.useragent.locale =ja-JP
intl.accept_languages = ja, en-us, en
intl.accept_languages = ja, en-US, en
pluralRule = 0

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "ជម្រើស">
<!ENTITY preferencesCmd2.accesskey "">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "ចំណូលចិត្ត">
<!ENTITY preferencesCmdUnix.accesskey "ច">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -1,3 +1,2 @@
general.useragent.locale=km
intl.accept_languages=km, en-US, en
pluralRule=1
pluralRule=0

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "설정…">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "환경 설정">
<!ENTITY preferencesCmdUnix.accesskey "n">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -1,3 +1,2 @@
general.useragent.locale=ko-KR
intl.accept_languages=ko-kr, ko, en-us, en
intl.accept_languages=ko-KR, ko, en-US, en
pluralRule=0

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Nuostatos">
<!ENTITY preferencesCmd2.accesskey "N">
<!ENTITY preferencesCmdUnix.label "Nuostatos">
<!ENTITY preferencesCmdUnix.accesskey "N">
<!ENTITY preferencesCmdUnix.accesskey "N">

View file

@ -28,7 +28,7 @@
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "I">
<!ENTITY findAgainCmd.label "Ieškoti toliau">
<!ENTITY findAgainCmd.key "o">
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "o">
<!ENTITY findPreviousCmd.label "Ieškoti ankstesnio">

View file

@ -1,3 +1,2 @@
general.useragent.locale=lt-LT
intl.accept_languages=lt, en-us, en, ru, pl
pluralRule=6

View file

@ -1,4 +1,2 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferences">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -31,5 +31,3 @@
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "g">
<!ENTITY findPreviousCmd.label "Find Previous">
<!ENTITY findPreviousCmd.accesskey "v">

View file

@ -1,3 +1,2 @@
general.useragent.locale=en-US
intl.accept_languages=en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Innstillinger">
<!ENTITY preferencesCmd2.accesskey "I">
<!ENTITY preferencesCmdUnix.label "Innstillinger">
<!ENTITY preferencesCmdUnix.accesskey "I">
<!ENTITY preferencesCmdUnix.accesskey "I">

View file

@ -1,3 +1,2 @@
general.useragent.locale=nb-NO
intl.accept_languages=nb-no, nb, no-no, no, nn-no, nn, en-us, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Opties">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Voorkeuren">
<!ENTITY preferencesCmdUnix.accesskey "V">

View file

@ -1,3 +1,2 @@
general.useragent.locale=nl-NL
intl.accept_languages=nl, en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Innstillingar">
<!ENTITY preferencesCmd2.accesskey "I">
<!ENTITY preferencesCmdUnix.label "Innstillingar">
<!ENTITY preferencesCmdUnix.accesskey "I">
<!ENTITY preferencesCmdUnix.accesskey "I">

View file

@ -4,7 +4,7 @@
<!ENTITY editMenu.label "Rediger">
<!ENTITY editMenu.accesskey "R">
<!ENTITY undoCmd.label "Angra">
<!ENTITY undoCmd.label "Angre">
<!ENTITY undoCmd.key "Z">
<!ENTITY undoCmd.accesskey "A">
<!ENTITY redoCmd.label "Gjer om">
@ -31,5 +31,5 @@
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "i">
<!ENTITY findPreviousCmd.label "Søk etter førre">
<!ENTITY findPreviousCmd.label "Søk etter føregåande">
<!ENTITY findPreviousCmd.accesskey "f">

View file

@ -1,3 +1,2 @@
general.useragent.locale=nn-NO
intl.accept_languages=nn-no, nn, no-no, no, nb-no, nb, en-us, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Opcje">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmd2.label "Opcje">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferencje">
<!ENTITY preferencesCmdUnix.accesskey "r">
<!ENTITY preferencesCmdUnix.accesskey "r">

View file

@ -1,3 +1,2 @@
general.useragent.locale=pl-PL
intl.accept_languages=pl, en-US, en
pluralRule=9

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Opções">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferências">
<!ENTITY preferencesCmdUnix.accesskey "P">
<!ENTITY preferencesCmdUnix.accesskey "P">

View file

@ -11,25 +11,25 @@
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "R">
<!ENTITY cutCmd.label "Cortar">
<!ENTITY cutCmd.key "x">
<!ENTITY cutCmd.key "X">
<!ENTITY cutCmd.accesskey "t">
<!ENTITY copyCmd.label "Copiar">
<!ENTITY copyCmd.key "c">
<!ENTITY copyCmd.key "C">
<!ENTITY copyCmd.accesskey "C">
<!ENTITY pasteCmd.label "Colar">
<!ENTITY pasteCmd.key "v">
<!ENTITY pasteCmd.key "V">
<!ENTITY pasteCmd.accesskey "o">
<!ENTITY deleteCmd.label "Excluir">
<!ENTITY deleteCmd.accesskey "x">
<!ENTITY selectAllCmd.label "Selecionar tudo">
<!ENTITY selectAllCmd.key "a">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "S">
<!ENTITY findCmd.label "Localizar">
<!ENTITY findCmd.key "f">
<!ENTITY findCmd.accesskey "z">
<!ENTITY findAgainCmd.label "Localizar próxima">
<!ENTITY findAgainCmd.key "g">
<!ENTITY findCmd.label "Procurar">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "P">
<!ENTITY findAgainCmd.label "Procurar próximo">
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "L">
<!ENTITY findPreviousCmd.label "Localizar anterior">
<!ENTITY findAgainCmd.accesskey "x">
<!ENTITY findPreviousCmd.label "Procurar anterior">
<!ENTITY findPreviousCmd.accesskey "a">

View file

@ -1,3 +1,2 @@
general.useragent.locale=pt-BR
intl.accept_languages=pt-BR, pt, en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Opções">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferências">
<!ENTITY preferencesCmdUnix.accesskey "f">
<!ENTITY preferencesCmdUnix.accesskey "f">

View file

@ -9,7 +9,7 @@
<!ENTITY undoCmd.accesskey "D">
<!ENTITY redoCmd.label "Refazer">
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "r">
<!ENTITY redoCmd.accesskey "R">
<!ENTITY cutCmd.label "Cortar">
<!ENTITY cutCmd.key "X">
<!ENTITY cutCmd.accesskey "t">

View file

@ -1,3 +1,2 @@
general.useragent.locale=pt-PT
intl.accept_languages=pt-pt, pt, en, en-us
intl.accept_languages=pt-PT, pt, en, en-US
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmd2.label "Opțiuni">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferences">
<!ENTITY preferencesCmdUnix.accesskey "n">
<!ENTITY preferencesCmdUnix.label "Preferințe">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -1,15 +1,7 @@
<!--
# Translator(s):
#
# nicubunu <nicubunu@gmail.com>
#
-->
<!--
# Reviewer(s):
#
# alexxed <alexxed@gmail.com>
#
-->
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- 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/. -->
<!ENTITY editMenu.label "Editare">
<!ENTITY editMenu.accesskey "E">
<!ENTITY undoCmd.label "Anulează">
@ -34,12 +26,10 @@
<!ENTITY selectAllCmd.accesskey "a">
<!ENTITY findCmd.label "Caută">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "C">
<!ENTITY findAgainCmd.label "Caută din nou">
<!ENTITY findCmd.accesskey "F">
<!ENTITY findAgainCmd.label "Găsește din nou">
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "d">
<!ENTITY findPreviousCmd.label "Caută înapoi">
<!ENTITY findPreviousCmd.accesskey "p">
<!ENTITY findAgainCmd.accesskey "G">
<!ENTITY findPreviousCmd.label "Găsește anterior">
<!ENTITY findPreviousCmd.accesskey "n">

View file

@ -1,3 +1,2 @@
general.useragent.locale=ro-RO
pluralRule=1
intl.accept_languages=ro-ro, ro, en-us, en-gb, en
intl.accept_languages=ro-RO, ro, en-US, en-GB, en
pluralRule=5

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Настройки">
<!ENTITY preferencesCmd2.accesskey "Н">
<!ENTITY preferencesCmdUnix.label "Настройки">
<!ENTITY preferencesCmdUnix.accesskey "Н">
<!ENTITY preferencesCmd2.label "Настройки">
<!ENTITY preferencesCmd2.accesskey "Н">
<!ENTITY preferencesCmdUnix.label "Настройки">
<!ENTITY preferencesCmdUnix.accesskey "Н">

View file

@ -2,34 +2,34 @@
- 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/. -->
<!ENTITY editMenu.label "Правка">
<!ENTITY editMenu.accesskey "П">
<!ENTITY undoCmd.label "Отменить">
<!ENTITY undoCmd.key "Z">
<!ENTITY undoCmd.accesskey "О">
<!ENTITY redoCmd.label "Повторить">
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "р">
<!ENTITY cutCmd.label "Вырезать">
<!ENTITY cutCmd.key "X">
<!ENTITY cutCmd.accesskey "В">
<!ENTITY copyCmd.label "Копировать">
<!ENTITY copyCmd.key "C">
<!ENTITY copyCmd.accesskey "К">
<!ENTITY pasteCmd.label "Вставить">
<!ENTITY pasteCmd.key "V">
<!ENTITY pasteCmd.accesskey "с">
<!ENTITY deleteCmd.label "Удалить">
<!ENTITY deleteCmd.accesskey "У">
<!ENTITY selectAllCmd.label "Выделить всё">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "д">
<!ENTITY findCmd.label "Найти">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "а">
<!ENTITY findAgainCmd.label "Найти ещё раз">
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "й">
<!ENTITY findPreviousCmd.label "Найти предыдущее совпадение">
<!ENTITY editMenu.label "Правка">
<!ENTITY editMenu.accesskey "П">
<!ENTITY undoCmd.label "Отменить">
<!ENTITY undoCmd.key "Z">
<!ENTITY undoCmd.accesskey "О">
<!ENTITY redoCmd.label "Повторить">
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "р">
<!ENTITY cutCmd.label "Вырезать">
<!ENTITY cutCmd.key "X">
<!ENTITY cutCmd.accesskey "В">
<!ENTITY copyCmd.label "Копировать">
<!ENTITY copyCmd.key "C">
<!ENTITY copyCmd.accesskey "К">
<!ENTITY pasteCmd.label "Вставить">
<!ENTITY pasteCmd.key "V">
<!ENTITY pasteCmd.accesskey "с">
<!ENTITY deleteCmd.label "Удалить">
<!ENTITY deleteCmd.accesskey "У">
<!ENTITY selectAllCmd.label "Выделить всё">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "д">
<!ENTITY findCmd.label "Найти">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "а">
<!ENTITY findAgainCmd.label "Найти ещё раз">
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "й">
<!ENTITY findPreviousCmd.label "Найти предыдущее совпадение">
<!ENTITY findPreviousCmd.accesskey "щ">

View file

@ -1,3 +1,2 @@
general.useragent.locale =ru-RU
intl.accept_languages = ru-RU, ru, en-US, en
pluralRule = 7
intl.accept_languages=ru-RU, ru, en-US, en
pluralRule=7

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Možnosti">
<!ENTITY preferencesCmd2.accesskey "M">
<!ENTITY preferencesCmdUnix.label "Možnosti">
<!ENTITY preferencesCmdUnix.accesskey "M">
<!ENTITY preferencesCmdUnix.accesskey "M">

View file

@ -2,34 +2,34 @@
- 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/. -->
<!ENTITY editMenu.label "Upraviť">
<!ENTITY editMenu.accesskey "U">
<!ENTITY undoCmd.label "Späť">
<!ENTITY undoCmd.key "Z">
<!ENTITY undoCmd.accesskey "S">
<!ENTITY redoCmd.label "Znova">
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "Z">
<!ENTITY cutCmd.label "Vystrihnúť">
<!ENTITY cutCmd.key "X">
<!ENTITY cutCmd.accesskey "V">
<!ENTITY copyCmd.label "Kopírovať">
<!ENTITY copyCmd.key "C">
<!ENTITY copyCmd.accesskey "K">
<!ENTITY pasteCmd.label "Prilepiť">
<!ENTITY pasteCmd.key "V">
<!ENTITY pasteCmd.accesskey "P">
<!ENTITY deleteCmd.label "Odstrániť">
<!ENTITY deleteCmd.accesskey "O">
<!ENTITY selectAllCmd.label "Vybrať všetko">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "a">
<!ENTITY findCmd.label "Hľadať">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "H">
<!ENTITY findAgainCmd.label "Hľadať znova">
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "n">
<!ENTITY findPreviousCmd.label "Hľadať predchádzajúci">
<!ENTITY editMenu.label "Upraviť">
<!ENTITY editMenu.accesskey "U">
<!ENTITY undoCmd.label "Späť">
<!ENTITY undoCmd.key "Z">
<!ENTITY undoCmd.accesskey "S">
<!ENTITY redoCmd.label "Znova">
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "Z">
<!ENTITY cutCmd.label "Vystrihnúť">
<!ENTITY cutCmd.key "X">
<!ENTITY cutCmd.accesskey "V">
<!ENTITY copyCmd.label "Kopírovať">
<!ENTITY copyCmd.key "C">
<!ENTITY copyCmd.accesskey "K">
<!ENTITY pasteCmd.label "Prilepiť">
<!ENTITY pasteCmd.key "V">
<!ENTITY pasteCmd.accesskey "P">
<!ENTITY deleteCmd.label "Odstrániť">
<!ENTITY deleteCmd.accesskey "d">
<!ENTITY selectAllCmd.label "Vybrať všetko">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "a">
<!ENTITY findCmd.label "Hľadať">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "H">
<!ENTITY findAgainCmd.label "Hľadať znova">
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "n">
<!ENTITY findPreviousCmd.label "Hľadať predchádzajúci">
<!ENTITY findPreviousCmd.accesskey "r">

View file

@ -1,3 +1,2 @@
general.useragent.locale=sk-SK
intl.accept_languages=sk, cs, en-US, en
pluralRule=8

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Možnosti">
<!ENTITY preferencesCmd2.accesskey "o">
<!ENTITY preferencesCmd2.accesskey "M">
<!ENTITY preferencesCmdUnix.label "Nastavitve">
<!ENTITY preferencesCmdUnix.accesskey "n">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -2,8 +2,8 @@
- 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/. -->
<!ENTITY editMenu.label "Urejanje">
<!ENTITY editMenu.accesskey "e">
<!ENTITY editMenu.label "Uredi">
<!ENTITY editMenu.accesskey "U">
<!ENTITY undoCmd.label "Razveljavi">
<!ENTITY undoCmd.key "Z">
<!ENTITY undoCmd.accesskey "z">

View file

@ -1,3 +1,2 @@
general.useragent.locale=sl-SI
intl.accept_languages=sl, en-gb, en
pluralRule=10

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Поставке">
<!ENTITY preferencesCmd2.accesskey "о">
<!ENTITY preferencesCmdUnix.label "Поставке">
<!ENTITY preferencesCmdUnix.accesskey "П">
<!ENTITY preferencesCmdUnix.accesskey "П">

View file

@ -1,3 +1,2 @@
general.useragent.locale=sr-RS
intl.accept_languages=sr, sr-rs, sr-cs, en-us, en
pluralRule=7
pluralRule=19

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Inställningar">
<!ENTITY preferencesCmd2.accesskey "I">
<!ENTITY preferencesCmdUnix.label "Inställningar">
<!ENTITY preferencesCmdUnix.accesskey "I">
<!ENTITY preferencesCmdUnix.accesskey "I">

View file

@ -1,3 +1,2 @@
general.useragent.locale=sv-SE
intl.accept_languages=sv-SE, sv, en-US, en
pluralRule=1

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "ตัวเลือก">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "การตั้งค่า">
<!ENTITY preferencesCmdUnix.accesskey "n">
<!ENTITY preferencesCmd2.accesskey "">
<!ENTITY preferencesCmdUnix.label "ค่ากำหนด">
<!ENTITY preferencesCmdUnix.accesskey "ด">

View file

@ -6,7 +6,7 @@
<!ENTITY editMenu.accesskey "ก">
<!ENTITY undoCmd.label "เลิกทำ">
<!ENTITY undoCmd.key "Z">
<!ENTITY undoCmd.accesskey "">
<!ENTITY undoCmd.accesskey "">
<!ENTITY redoCmd.label "ทำซ้ำ">
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "ท">
@ -20,16 +20,16 @@
<!ENTITY pasteCmd.key "V">
<!ENTITY pasteCmd.accesskey "ว">
<!ENTITY deleteCmd.label "ลบ">
<!ENTITY deleteCmd.accesskey "">
<!ENTITY deleteCmd.accesskey "">
<!ENTITY selectAllCmd.label "เลือกทั้งหมด">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "">
<!ENTITY selectAllCmd.accesskey "">
<!ENTITY findCmd.label "ค้นหา">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "">
<!ENTITY findCmd.accesskey "">
<!ENTITY findAgainCmd.label "ค้นหาอีกครั้ง">
<!ENTITY findAgainCmd.key "G">
<!ENTITY findAgainCmd.key2 "VK_F3">
<!ENTITY findAgainCmd.accesskey "">
<!ENTITY findAgainCmd.accesskey "">
<!ENTITY findPreviousCmd.label "ค้นหาก่อนหน้า">
<!ENTITY findPreviousCmd.accesskey "">
<!ENTITY findPreviousCmd.accesskey "">

View file

@ -1,3 +1,2 @@
general.useragent.locale=th-TH
intl.accept_languages=th-th, th, en-us, en-gb, en
intl.accept_languages=th, en-US, en
pluralRule=0

View file

@ -1,4 +1,4 @@
<!ENTITY preferencesCmd2.label "Seçenekler">
<!ENTITY preferencesCmd2.accesskey "S">
<!ENTITY preferencesCmdUnix.label "Tercihler">
<!ENTITY preferencesCmdUnix.accesskey "T">
<!ENTITY preferencesCmdUnix.accesskey "T">

View file

@ -9,7 +9,7 @@
<!ENTITY undoCmd.accesskey "G">
<!ENTITY redoCmd.label "Yinele">
<!ENTITY redoCmd.key "Y">
<!ENTITY redoCmd.accesskey "Y">
<!ENTITY redoCmd.accesskey "n">
<!ENTITY cutCmd.label "Kes">
<!ENTITY cutCmd.key "X">
<!ENTITY cutCmd.accesskey "K">
@ -23,7 +23,7 @@
<!ENTITY deleteCmd.accesskey "S">
<!ENTITY selectAllCmd.label "Tümünü seç">
<!ENTITY selectAllCmd.key "A">
<!ENTITY selectAllCmd.accesskey "T">
<!ENTITY selectAllCmd.accesskey "ü">
<!ENTITY findCmd.label "Bul">
<!ENTITY findCmd.key "F">
<!ENTITY findCmd.accesskey "B">

Some files were not shown because too many files have changed in this diff Show more