From 4a8b891129516b2339b8eb9c137b18c1b33dad87 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Thu, 22 Aug 2019 13:30:02 -0500 Subject: [PATCH] put strings in correct lang file --- .../resource.language.en_gb/strings.po | 21 ++++++++++++++++++- resources/lib/advanced_editor.py | 2 +- resources/settings.xml | 4 ++-- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 238ed6d..591689a 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -529,10 +529,29 @@ msgctxt "#30134" msgid "Include" msgstr "" -msgctxt "#30135" msgid "Add Include Folder" msgstr "" msgctxt "#30136" msgid "Path must be within root folder" +msgstr "" + +msgctxt "#30137" +msgid "This path is part of a rule already" +msgstr "" + +msgctxt "#30138" +msgid "Set Name exists already" +msgstr "" + +msgctxt "#30139" +msgid "Copy Simple Config" +msgstr "" + +msgctxt "#30140" +msgid "This will copy the default Simple file selection to the Advanced Editor" +msgstr "" + +msgctxt "#30141" +msgid "This will erase any current Advanced Editor settings" msgstr "" \ No newline at end of file diff --git a/resources/lib/advanced_editor.py b/resources/lib/advanced_editor.py index 1272145..3db01b4 100644 --- a/resources/lib/advanced_editor.py +++ b/resources/lib/advanced_editor.py @@ -207,7 +207,7 @@ class AdvancedBackupEditor: def copySimpleConfig(self): #disclaimer in case the user hit this on accident - shouldContinue = self.dialog.yesno('Copy Config','This will copy the default Simple file selection to the Advanced Editor','This will erase any current Advanced Editor settings') + shouldContinue = self.dialog.yesno(utils.getString(30139),utils.getString(30140),utils.getString(30141)) if(shouldContinue): source = xbmc.translatePath(utils.addon_dir() + "/resources/data/default_files.json") diff --git a/resources/settings.xml b/resources/settings.xml index 668dcff..6867b3e 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -28,8 +28,8 @@ - - + +