Skip to content

Commit

Permalink
Adding the preferences file lookup order.
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalhorton committed Jul 10, 2023
1 parent 2d44e27 commit 5ee793f
Show file tree
Hide file tree
Showing 12 changed files with 203 additions and 146 deletions.
2 changes: 1 addition & 1 deletion docs/app-downscaler/preferences.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Preferences
===========

The preferences frame can be opened from the menu Options / Preferences of the main interface or with a button from the toolbar.
The preferences frame can be opened from the menu Options / Preferences of the main interface or with a button from the toolbar. The preferences are saved when the software is closed. The preferences are automatically loaded when the software is started. AtmoSwing will first look for a preference file in the same directory as the executable, then in the user directory.

General options
---------------
Expand Down
2 changes: 1 addition & 1 deletion docs/app-forecaster/preferences.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Preferences
===========

The preferences frame can be opened from the menu Options / Preferences of the main interface or with a button from the toolbar.
The preferences frame can be opened from the menu Options / Preferences of the main interface or with a button from the toolbar. The options related to the batch file are saved in the batch file itself, while the other options are saved in the user preferences file. The preferences are saved when the software is closed. The preferences are automatically loaded when the software is started. AtmoSwing will first look for a preference file in the same directory as the executable, then in the user directory.

Batch file properties
---------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/app-optimizer/preferences.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Preferences
===========

The preferences frame can be opened from the menu Options / Preferences of the main interface or with a button from the toolbar.
The preferences frame can be opened from the menu Options / Preferences of the main interface or with a button from the toolbar. The preferences are saved when the software is closed. The preferences are automatically loaded when the software is started. AtmoSwing will first look for a preference file in the same directory as the executable, then in the user directory.


General options
Expand Down
2 changes: 1 addition & 1 deletion docs/app-viewer/preferences.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Preferences
===========

The preferences frame can be opened from the menu Options / Preferences of the main interface or with a button from the toolbar.
The preferences frame can be opened from the menu Options / Preferences of the main interface or with a button from the toolbar. The options related to the workspace are saved in the workspace file itself, while the other options are saved in the user preferences file. The preferences are saved when the software is closed. The preferences are automatically loaded when the software is started. AtmoSwing will first look for a preference file in the same directory as the executable, then in the user directory.

Workspace
---------
Expand Down
Binary file modified docs/locale/fr/LC_MESSAGES/app-downscaler.mo
Binary file not shown.
24 changes: 19 additions & 5 deletions docs/locale/fr/LC_MESSAGES/app-downscaler.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: AtmoSwing 2.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-04 15:36+0200\n"
"PO-Revision-Date: 2023-07-04 15:51+0200\n"
"POT-Creation-Date: 2023-07-10 12:16+0200\n"
"PO-Revision-Date: 2023-07-10 12:20+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
Expand Down Expand Up @@ -153,11 +153,17 @@ msgstr "Préférences"
#: ../../app-downscaler/preferences.rst:4
msgid ""
"The preferences frame can be opened from the menu Options / Preferences of the "
"main interface or with a button from the toolbar."
"main interface or with a button from the toolbar. The preferences are saved when "
"the software is closed. The preferences are automatically loaded when the "
"software is started. AtmoSwing will first look for a preference file in the same "
"directory as the executable, then in the user directory."
msgstr ""
"La fenêtre des préférences peut être ouvert à partir du menu Options / "
"Préférences de l'interface principale ou à l'aide d'un bouton de la barre "
"d'outils."
"Préférences de l’interface principale ou à l’aide d’un bouton de la barre "
"d’outils. Les préférences sont sauvegardées à la fermeture du logiciel et sont "
"automatiquement chargées au démarrage du logiciel. AtmoSwing cherchera d'abord "
"un fichier de préférences dans le même répertoire que l'exécutable, puis dans le "
"répertoire utilisateur."

#: ../../app-downscaler/preferences.rst:7
msgid "General options"
Expand Down Expand Up @@ -593,3 +599,11 @@ msgid ""
msgstr ""
"Définir le niveau du journal (0 : minimum, 1 : erreurs, 2 : avertissements (par "
"défaut), 3 : verbeux)"

#~ msgid ""
#~ "The preferences frame can be opened from the menu Options / Preferences of "
#~ "the main interface or with a button from the toolbar."
#~ msgstr ""
#~ "La fenêtre des préférences peut être ouvert à partir du menu Options / "
#~ "Préférences de l'interface principale ou à l'aide d'un bouton de la barre "
#~ "d'outils."
Binary file modified docs/locale/fr/LC_MESSAGES/app-forecaster.mo
Binary file not shown.

0 comments on commit 5ee793f

Please sign in to comment.