Skip to content

Commit

Permalink
Missing localization keys and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Tichau committed Aug 19, 2016
1 parent 4acb0b3 commit b766aeb
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 4 deletions.
27 changes: 27 additions & 0 deletions Application/FileConverter/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Application/FileConverter/Properties/Resources.en.resx
Original file line number Diff line number Diff line change
Expand Up @@ -505,4 +505,13 @@ use maj for uppercase version</value>
<data name="LicenceHeader3" xml:space="preserve">
<value>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. See the GNU General Public License (available in the installation folder: `LICENSE.md`) for more details.</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>The application is terminating.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>The application will automatically terminate in {0} seconds.</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>The application will automatically terminate in 1 second.</value>
</data>
</root>
11 changes: 10 additions & 1 deletion Application/FileConverter/Properties/Resources.fr.resx
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ utilisez maj pour une version en majuscules</value>
<value>Lecture de l'image d'origine</value>
</data>
<data name="ConversionStateReadPdf" xml:space="preserve">
<value>Lectur du document</value>
<value>Lecture du document</value>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>Image Animée</value>
Expand Down Expand Up @@ -523,4 +523,13 @@ utilisez maj pour une version en majuscules</value>
<value>Ce programme est distribué dans l'espoir d'être utile, mais SANS AUCUNE GARANTIE. Voir la GNU General Public Licence (disponible dans le dossier d'installation: `LICENCE.md`) pour plus de détails.</value>
<comment>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. See the GNU General Public License (available in the installation folder: `LICENSE.md`) for more details.</comment>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>Fermeture de l'application.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>L'application se fermera automatiquement dans {0} secondes.</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>L'application se fermera automatiquement dans 1 seconde.</value>
</data>
</root>
9 changes: 9 additions & 0 deletions Application/FileConverter/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -505,4 +505,13 @@ use maj for uppercase version</value>
<data name="LicenceHeader3" xml:space="preserve">
<value>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. See the GNU General Public License (available in the installation folder: `LICENSE.md`) for more details.</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>The application is terminating.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>The application will automatically terminate in {0} seconds.</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>The application will automatically terminate in 1 second.</value>
</data>
</root>
6 changes: 3 additions & 3 deletions Application/FileConverter/Windows/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,16 +182,16 @@ private void Application_OnApplicationTerminate(object sender, ApplicationTermin

if (remaingingSeconds >= 2)
{
this.InformationMessage = string.Format("The application will automatically terminate in {0} seconds.", remaingingSeconds);
this.InformationMessage = string.Format(Properties.Resources.ApplicationWillTerminateInMultipleSeconds, remaingingSeconds);
}
else if (remaingingSeconds == 1)
{
this.InformationMessage = string.Format("The application will automatically terminate in {0} second.", remaingingSeconds);
this.InformationMessage = Properties.Resources.ApplicationWillTerminateInOneSecond;
}

if (remaingingSeconds <= 0)
{
this.InformationMessage = string.Format("The application is terminating.");
this.InformationMessage = Properties.Resources.ApplicationIsTerminating;
}
}
}
Expand Down

0 comments on commit b766aeb

Please sign in to comment.