From 6f8e29bc0f6fce74879b873a5fd5908b322a77ea Mon Sep 17 00:00:00 2001 From: Marcel Dierkes Date: Fri, 14 May 2021 09:59:53 +0200 Subject: [PATCH 1/2] Integrated updated FR strings --- .../Preferences/fr.lproj/Preferences.strings | 27 +++++++++++++++++++ KeepingYouAwake/fr.lproj/Localizable.strings | 18 +++++++++++++ .../fr.xcloc/Localized Contents/fr.xliff | 23 +++++----------- .../KeepingYouAwake/fr.xcloc/contents.json | 5 ++-- 4 files changed, 54 insertions(+), 19 deletions(-) diff --git a/KeepingYouAwake/Preferences/fr.lproj/Preferences.strings b/KeepingYouAwake/Preferences/fr.lproj/Preferences.strings index 3fc2a160..dc2cdc5c 100644 --- a/KeepingYouAwake/Preferences/fr.lproj/Preferences.strings +++ b/KeepingYouAwake/Preferences/fr.lproj/Preferences.strings @@ -1,15 +1,36 @@ /* Class = "NSViewController"; title = "Advanced"; ObjectID = "5bL-cI-YIY"; */ "5bL-cI-YIY.title" = "Avancées"; +/* Class = "NSViewController"; title = "Updates"; ObjectID = "8V0-Sq-Cdu"; */ +"8V0-Sq-Cdu.title" = "Mises à jour"; + /* Class = "NSWindow"; title = "KeepingYouAwake – Preferences"; ObjectID = "AvX-7Q-Bvc"; */ "AvX-7Q-Bvc.title" = "KeepingYouAwake – Préférences"; /* Class = "NSButtonCell"; title = "Deactivate when battery capacity is below"; ObjectID = "Ax6-W4-7bK"; */ "Ax6-W4-7bK.title" = "Désactiver quand la batterie est inférieure à "; +/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "bV3-BW-JOK"; */ +"bV3-BW-JOK.title" = "Annuler"; + +/* Class = "NSButtonCell"; title = "Add Duration"; ObjectID = "d0c-1Y-p5i"; */ +"d0c-1Y-p5i.title" = "Ajouter la durée"; + +/* Class = "NSSegmentedCell"; DE6-qp-FZU.ibShadowedToolTips[0] = "Remove"; ObjectID = "DE6-qp-FZU"; */ +"DE6-qp-FZU.ibShadowedToolTips[0]" = "Enlever"; + +/* Class = "NSSegmentedCell"; DE6-qp-FZU.ibShadowedToolTips[1] = "Add"; ObjectID = "DE6-qp-FZU"; */ +"DE6-qp-FZU.ibShadowedToolTips[1]" = "Ajouter"; + +/* Class = "NSTextFieldCell"; title = "Seconds"; ObjectID = "DfZ-Gt-rge"; */ +"DfZ-Gt-rge.title" = "Secondes"; + /* Class = "NSButtonCell"; title = "Reset to Default"; ObjectID = "EXv-vC-wyo"; */ "EXv-vC-wyo.title" = "Rétablir les réglages par défaut"; +/* Class = "NSMenuItem"; title = "Remove"; ObjectID = "f4N-sw-1MQ"; */ +"f4N-sw-1MQ.title" = "Enlever"; + /* Class = "NSTextFieldCell"; title = "10 %"; ObjectID = "fiQ-AT-I7u"; */ "fiQ-AT-I7u.title" = "10 %"; @@ -28,6 +49,9 @@ /* Class = "NSButtonCell"; title = "Activate on Launch"; ObjectID = "IOU-Hs-S4r"; */ "IOU-Hs-S4r.title" = "Activer au lancement"; +/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "jAF-7U-kDS"; */ +"jAF-7U-kDS.title" = "Cellule de texte"; + /* Class = "NSTextFieldCell"; title = "This value will be ignored when you manually start the app below this battery capacity."; ObjectID = "k65-yi-85l"; */ "k65-yi-85l.title" = "Ce réglage sera ignoré si vous lancez l'application manuellement et que la batterie se trouve en dessous de cette valeur."; @@ -49,6 +73,9 @@ /* Class = "NSTextFieldCell"; title = "90 %"; ObjectID = "Rb3-Sm-byr"; */ "Rb3-Sm-byr.title" = "90 %"; +/* Class = "NSTextFieldCell"; title = "Hours"; ObjectID = "rEp-oa-7IA"; */ +"rEp-oa-7IA.title" = "Heures"; + /* Class = "NSTextFieldCell"; title = "Immediately starts preventing sleep when launched."; ObjectID = "S6p-h0-H5B"; */ "S6p-h0-H5B.title" = "Empêche la mise en veille dès le lancement de KeepingYouAwake."; diff --git a/KeepingYouAwake/fr.lproj/Localizable.strings b/KeepingYouAwake/fr.lproj/Localizable.strings index ee968703..e56b026c 100644 --- a/KeepingYouAwake/fr.lproj/Localizable.strings +++ b/KeepingYouAwake/fr.lproj/Localizable.strings @@ -1,9 +1,27 @@ +/* (Default) */ +"(Default)" = "(Défaut)"; + +/* Cancel */ +"Cancel" = "Annuler"; + /* Click to allow sleep\nRight click to show menu */ "Click to allow sleep\nRight click to show menu" = "Cliquer pour autoriser la veille\nClic droit pour le menu"; /* Click to prevent sleep\nRight click to show menu */ "Click to prevent sleep\nRight click to show menu" = "Cliquer pour empêcher la veille\nClic droit pour le menu"; +/* Default */ +"Default" = "Défaut"; + /* Disable menu bar icon highlight color */ "Disable menu bar icon highlight color" = "Désactiver la surbrillance de l'icône de la barre de menu"; +/* Quit when activation duration is over */ +"Quit when activation duration is over" = "Quitter quand la durée d'activation est terminée"; + +/* The entered duration is invalid. Please try again. */ +"The entered duration is invalid. Please try again." = "La durée entrée est invalide. Veuillez essayer à nouveau."; + +/* This duration has already been added. */ +"This duration has already been added." = "Cette durée a déjà été ajoutée."; + diff --git a/Localizations/KeepingYouAwake/fr.xcloc/Localized Contents/fr.xliff b/Localizations/KeepingYouAwake/fr.xcloc/Localized Contents/fr.xliff index b6386477..9affb800 100644 --- a/Localizations/KeepingYouAwake/fr.xcloc/Localized Contents/fr.xliff +++ b/Localizations/KeepingYouAwake/fr.xcloc/Localized Contents/fr.xliff @@ -2,7 +2,7 @@
- +
@@ -17,7 +17,7 @@
- +
@@ -121,7 +121,7 @@ Clic droit pour le menu
- +
@@ -143,7 +143,7 @@ Clic droit pour le menu
- +
@@ -348,20 +348,9 @@ Clic droit pour le menu
- -
- -
- - - KYAKit - Bundle name - - -
- +
@@ -378,7 +367,7 @@ Clic droit pour le menu
- +
diff --git a/Localizations/KeepingYouAwake/fr.xcloc/contents.json b/Localizations/KeepingYouAwake/fr.xcloc/contents.json index f64d5a22..b7616c1f 100644 --- a/Localizations/KeepingYouAwake/fr.xcloc/contents.json +++ b/Localizations/KeepingYouAwake/fr.xcloc/contents.json @@ -1,11 +1,12 @@ { "developmentRegion" : "en", + "project" : "KeepingYouAwake.xcodeproj", "targetLocale" : "fr", "toolInfo" : { - "toolBuildNumber" : "12D4e", + "toolBuildNumber" : "12E262", "toolID" : "com.apple.dt.xcode", "toolName" : "Xcode", - "toolVersion" : "12.4" + "toolVersion" : "12.5" }, "version" : "1.0" } \ No newline at end of file From 1c0db53894849bc46e93380f827a3154f0b67a16 Mon Sep 17 00:00:00 2001 From: Marcel Dierkes Date: Fri, 14 May 2021 10:03:23 +0200 Subject: [PATCH 2/2] Updated Changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00a1e01d..1f01eff6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - added support for notifications, use `System Preferences` to manage notification settings ([#164](https://github.com/newmarcel/KeepingYouAwake/pull/164)) - please note, this feature is only available on macOS 11 or newer; the previous experimental notifications support has been removed +- updated the French translation ([#146](https://github.com/newmarcel/KeepingYouAwake/issues/146), [#169](https://github.com/newmarcel/KeepingYouAwake/pull/169)) + - *Thank you [alexandreleroux](https://github.com/alexandreleroux)!* ### v1.6.0 ###