From 637d1a4b7fb489d1a5acf8c0d8732e5a7acbcc19 Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Tue, 3 Jul 2018 16:41:35 +0530 Subject: [PATCH] firstboot: Add debconf translations for wizard secret dialog Signed-off-by: Joseph Nuthalapati Reviewed-by: James Valleroy --- debian/po/POTFILES.in | 1 + debian/po/templates.pot | 33 +++++++++++++++++++++++++++++++++ debian/templates | 3 ++- 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 debian/po/POTFILES.in create mode 100644 debian/po/templates.pot diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 000000000..98e8416d9 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates \ No newline at end of file diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 000000000..c9f779644 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,33 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the plinth package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: plinth\n" +"Report-Msgid-Bugs-To: plinth@packages.debian.org\n" +"POT-Creation-Date: 2018-07-03 16:39+0530\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "FreedomBox first wizard secret - ${secret}" +msgstr "" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"Please save this string. You will be asked to enter this in the first screen " +"after you launch the FreedomBox interface. In case you lose it, you can find " +"it in the file /var/lib/plinth/firstboot-wizard-secret." +msgstr "" diff --git a/debian/templates b/debian/templates index ec65f82bd..ae46d4e76 100644 --- a/debian/templates +++ b/debian/templates @@ -1,6 +1,7 @@ Template: plinth/firstboot_wizard_secret Type: note -Description: FreedomBox first wizard secret - ${secret} +#flag:translate!:3 +_Description: FreedomBox first wizard secret - ${secret} Please save this string. You will be asked to enter this in the first screen after you launch the FreedomBox interface. In case you lose it, you can find it in the file /var/lib/plinth/firstboot-wizard-secret.