mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-29 03:44:37 +00:00
Bug 1032139 - Make the 'Translations by' string localizable, r=felipe.
This commit is contained in:
parent
f2b703b3b6
commit
be80356f1a
@ -149,10 +149,11 @@
|
||||
label="&translateWebPages.label;." accesskey="&translateWebPages.accesskey;"
|
||||
onsyncfrompreference="return gContentPane.updateButtons('translateButton',
|
||||
'browser.translation.detectLanguage');"/>
|
||||
<label>Übersetzungen von</label>
|
||||
<label>&translation.options.attribution.beforeLogo;</label>
|
||||
<image id="translationAttributionImage" aria-label="Microsoft Translator"
|
||||
onclick="gContentPane.openTranslationProviderAttribution()"
|
||||
src="chrome://browser/content/microsoft-translator-attribution.png"/>
|
||||
<label>&translation.options.attribution.afterLogo;</label>
|
||||
</hbox>
|
||||
<button id="translateButton" label="&translateExceptions.label;"
|
||||
oncommand="gContentPane.showTranslationExceptions();"
|
||||
|
@ -139,11 +139,13 @@
|
||||
label="&translateWebPages.label;." accesskey="&translateWebPages.accesskey;"
|
||||
onsyncfrompreference="return gContentPane.updateButtons('translateButton',
|
||||
'browser.translation.detectLanguage');"/>
|
||||
<label>Übersetzungen von</label>
|
||||
<label>&translation.options.attribution.beforeLogo;</label>
|
||||
<separator orient="vertical" class="thin"/>
|
||||
<image id="translationAttributionImage" aria-label="Microsoft Translator"
|
||||
onclick="gContentPane.openTranslationProviderAttribution()"
|
||||
src="chrome://browser/content/microsoft-translator-attribution.png"/>
|
||||
<separator orient="vertical" class="thin"/>
|
||||
<label>&translation.options.attribution.afterLogo;</label>
|
||||
</hbox>
|
||||
<button id="translateButton" label="&translateExceptions.label;"
|
||||
oncommand="gContentPane.showTranslationExceptions();"
|
||||
|
@ -113,9 +113,10 @@
|
||||
accesskey="&translation.options.preferences.accesskey;"/>
|
||||
<xul:menuitem class="translation-attribution subviewbutton panel-subview-footer"
|
||||
oncommand="document.getBindingParent(this).openProviderAttribution();">
|
||||
<xul:label>Übersetzungen von</xul:label>
|
||||
<xul:label>&translation.options.attribution.beforeLogo;</xul:label>
|
||||
<xul:image src="chrome://browser/content/microsoft-translator-attribution.png"
|
||||
aria-label="Microsoft Translator"/>
|
||||
<xul:label>&translation.options.attribution.afterLogo;</xul:label>
|
||||
</xul:menuitem>
|
||||
</xul:menupopup>
|
||||
</xul:button>
|
||||
|
@ -32,3 +32,13 @@
|
||||
<!ENTITY translateWebPages.accesskey "T">
|
||||
<!ENTITY translateExceptions.label "Exceptions…">
|
||||
<!ENTITY translateExceptions.accesskey "x">
|
||||
|
||||
<!-- LOCALIZATION NOTE (translation.options.attribution.beforeLogo,
|
||||
- translation.options.attribution.afterLogo):
|
||||
- These 2 strings are displayed before and after a 'Microsoft Translator'
|
||||
- logo.
|
||||
- The translations for these strings should match the translations in
|
||||
- browser/translation.dtd
|
||||
-->
|
||||
<!ENTITY translation.options.attribution.beforeLogo "Translations by">
|
||||
<!ENTITY translation.options.attribution.afterLogo "">
|
||||
|
@ -56,3 +56,11 @@
|
||||
<!ENTITY translation.options.neverForSite.accesskey "e">
|
||||
<!ENTITY translation.options.preferences.label "Translation preferences">
|
||||
<!ENTITY translation.options.preferences.accesskey "T">
|
||||
|
||||
<!-- LOCALIZATION NOTE (translation.options.attribution.beforeLogo,
|
||||
- translation.options.attribution.afterLogo):
|
||||
- These 2 strings are displayed before and after a 'Microsoft Translator'
|
||||
- logo.
|
||||
-->
|
||||
<!ENTITY translation.options.attribution.beforeLogo "Translations by">
|
||||
<!ENTITY translation.options.attribution.afterLogo "">
|
||||
|
Loading…
Reference in New Issue
Block a user