Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fixes #729, add localizations to FirefoxReality (#730)
Browse files Browse the repository at this point in the history
* Fixes #729, add localizations to FirefoxReality

* Fix apostrophes, ellipsis, and encoding for zh-CN

* More fixes for Italian

* try disabling ExtraTranslation lint check

* Fix locale code for Japanese

* Updated strings from vendor

* Fix </strong> tag
  • Loading branch information
Pike authored and keianhzo committed Nov 14, 2018
1 parent 8429afa commit 54f045e
Show file tree
Hide file tree
Showing 26 changed files with 6,241 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ android {
}

lintOptions {
disable "LogUsage"
disable "LogUsage", "ExtraTranslation"
}

packagingOptions {
Expand Down
26 changes: 26 additions & 0 deletions app/src/main/res/values-de/FirefoxReality_localpages.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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/. -->
<resources>
<!-- IMPORTANT NOTE: If this file is updated anyhow, the STRs wiki must be updated accordingly:
https://github.com/MozillaReality/FirefoxReality/wiki/L10n -->

<!-- This string is used as the title of the Private Browsing page that is opened when the
Private Browsing Mode button from the tray is clicked. -->
<string name="private_browsing_title">Privater Modus</string>
<!-- This string is used as the body of the Private Browsing page that is opened when the
Private Browsing Mode button from the tray is clicked. -->
<string name="private_browsing_body"><![CDATA[
<p>Wenn Sie in einem privaten Fenster surfen, wird %1$s <strong>Folgendes nicht speichern</strong>:</p>
<ul class="two-column">
<li>Besuchte Seiten</li>
<li>Suchanfragen</li>
<li>Cookies</li>
<li>Temporäre Dateien</li>
</ul>
<p>Der Private Modus <strong>bedeutet nicht</strong>, dass Sie beim Surfen im Internet anonym bleiben. Ihr Arbeitgeber oder Internetanbieter kann immer noch feststellen, welche Seiten Sie besuchen.</p>
<p class="about-info">Weitere Informationen über den <a id="learnMore">privaten Modus</a>.</p>
]]></string>

</resources>
493 changes: 493 additions & 0 deletions app/src/main/res/values-de/FirefoxReality_strings.xml

Large diffs are not rendered by default.

260 changes: 260 additions & 0 deletions app/src/main/res/values-de/androidcomponents_strings.xml

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions app/src/main/res/values-es/FirefoxReality_localpages.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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/. -->
<resources>
<!-- IMPORTANT NOTE: If this file is updated anyhow, the STRs wiki must be updated accordingly:
https://github.com/MozillaReality/FirefoxReality/wiki/L10n -->

<!-- This string is used as the title of the Private Browsing page that is opened when the
Private Browsing Mode button from the tray is clicked. -->
<string name="private_browsing_title">Navegación privada</string>
<!-- This string is used as the body of the Private Browsing page that is opened when the
Private Browsing Mode button from the tray is clicked. -->
<string name="private_browsing_body"><![CDATA[
<p>Cuando navega en una ventana privada, %1$s <strong>no guarda</strong>:</p>
<ul class="two-column">
<li>las páginas visitadas</li>
<li>las búsquedas</li>
<li>las cookies</li>
<li>los archivos temporales</li>
</ul>
<p>La navegación privada <strong>no le hace anónimo</strong> en Internet. Su empleador o proveedor de acceso a Internet aún pueden saber qué páginas ha visitado.</p>
<p class="about-info">Más información sobre la <a id="learnMore">navegación privada</a>.</p>
]]></string>

</resources>
493 changes: 493 additions & 0 deletions app/src/main/res/values-es/FirefoxReality_strings.xml

Large diffs are not rendered by default.

260 changes: 260 additions & 0 deletions app/src/main/res/values-es/androidcomponents_strings.xml

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions app/src/main/res/values-fr/FirefoxReality_localpages.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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/. -->
<resources>
<!-- IMPORTANT NOTE: If this file is updated anyhow, the STRs wiki must be updated accordingly:
https://github.com/MozillaReality/FirefoxReality/wiki/L10n -->

<!-- This string is used as the title of the Private Browsing page that is opened when the
Private Browsing Mode button from the tray is clicked. -->
<string name="private_browsing_title">Navigation privée</string>
<!-- This string is used as the body of the Private Browsing page that is opened when the
Private Browsing Mode button from the tray is clicked. -->
<string name="private_browsing_body"><![CDATA[
<p>Lorsque vous naviguez dans une fenêtre privée, %1$s <strong>n’enregistre pas</strong>:</p>
<ul class="two-column">
<li>les pages consultées</li>
<li>recherches</li>
<li>cookies</li>
<li>fichiers temporaires</li>
</ul>
<p>La navigation privée <strong>ne vous offre pas l’anonymat</strong> sur Internet. Votre fournisseur d’accès à Internet ou votre employeur peuvent toujours connaître les pages que vous visitez.</p>
<p class="about-info">En savoir plus <a id="learnMore">Navigation privée</a>.</p>
]]></string>

</resources>
493 changes: 493 additions & 0 deletions app/src/main/res/values-fr/FirefoxReality_strings.xml

Large diffs are not rendered by default.

259 changes: 259 additions & 0 deletions app/src/main/res/values-fr/androidcomponents_strings.xml

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions app/src/main/res/values-it/FirefoxReality_localpages.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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/. -->
<resources>
<!-- IMPORTANT NOTE: If this file is updated anyhow, the STRs wiki must be updated accordingly:
https://github.com/MozillaReality/FirefoxReality/wiki/L10n -->

<!-- This string is used as the title of the Private Browsing page that is opened when the
Private Browsing Mode button from the tray is clicked. -->
<string name="private_browsing_title">Navigazione anonima</string>
<!-- This string is used as the body of the Private Browsing page that is opened when the
Private Browsing Mode button from the tray is clicked. -->
<string name="private_browsing_body"><![CDATA[
<p> Quando si naviga tramite una finestra privata, %1$s <strong>non salva</strong>: </p>
<ul class="two-column">
<li> le pagine visitate; </li>
<li> le ricerche; </li>
<li> i cookie; </li>
<li> i file temporanei. </li>
</ul>
<p> La navigazione anonima<strong>non rende anonimo l’utente </strong> su Internet. Il datore di lavoro o il provider Internet può ancora venire a conoscenza delle pagine visitate. </p>
<p class="about-info"> Ulteriori informazioni sulla <a id="learnMore">navigazione anonima/a>.</p>
]]></string>

</resources>
Loading

0 comments on commit 54f045e

Please sign in to comment.