From 597c73ab3529aaf6bd9d5b92dd890f6fa213243e Mon Sep 17 00:00:00 2001 From: nirenjan Date: Sat, 11 Jul 2020 00:21:28 -0700 Subject: [PATCH] Enable i18n for x52evtest --- po/POTFILES.in | 2 ++ po/x52pro-linux.pot | 11 ++++++++++- po/xx_PL.po | 13 +++++++++++-- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 63fc424..847dc15 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -3,6 +3,8 @@ lib/libx52/x52_strerror.c lib/libx52io/io_strings.c +utils/evtest/ev_test.c + utils/test/x52_test.c utils/test/x52_test_clock.c utils/test/x52_test_common.h diff --git a/po/x52pro-linux.pot b/po/x52pro-linux.pot index e1ffcb3..110fd7f 100644 --- a/po/x52pro-linux.pot +++ b/po/x52pro-linux.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: x52pro-linux 0.2.1\n" "Report-Msgid-Bugs-To: https://github.com/nirenjan/x52pro-linux/issues\n" -"POT-Creation-Date: 2020-07-10 17:55-0700\n" +"POT-Creation-Date: 2020-07-11 00:17-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -110,6 +110,15 @@ msgstr "" msgid "Read timeout" msgstr "" +#: utils/evtest/ev_test.c:88 +msgid "Testing (interrupt to exit)\n" +msgstr "" + +#: utils/evtest/ev_test.c:117 utils/evtest/ev_test.c:123 +#, c-format +msgid "Event @ %ld.%09lu: %s, value %d\n" +msgstr "" + #: utils/test/x52_test.c:97 msgid "Test brightness scale (~ 1m)" msgstr "" diff --git a/po/xx_PL.po b/po/xx_PL.po index 3320fc0..6434f90 100644 --- a/po/xx_PL.po +++ b/po/xx_PL.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: x52pro-linux 0.2.1\n" "Report-Msgid-Bugs-To: https://github.com/nirenjan/x52pro-linux/issues\n" -"POT-Creation-Date: 2020-07-10 17:55-0700\n" -"PO-Revision-Date: 2020-07-10 15:04-0700\n" +"POT-Creation-Date: 2020-07-11 00:17-0700\n" +"PO-Revision-Date: 2020-07-11 00:19-0700\n" "Last-Translator: Nirenjan Krishnan \n" "Language-Team: Dummy Language for testing i18n\n" "Language: xx_PL\n" @@ -110,6 +110,15 @@ msgstr "I/O erroray" msgid "Read timeout" msgstr "Eadray imeouttay" +#: utils/evtest/ev_test.c:88 +msgid "Testing (interrupt to exit)\n" +msgstr "Estingtay (interruptay otay exitay)\n" + +#: utils/evtest/ev_test.c:117 utils/evtest/ev_test.c:123 +#, c-format +msgid "Event @ %ld.%09lu: %s, value %d\n" +msgstr "Eventay @ %ld.%09lu: %s, aluevay %d\n" + #: utils/test/x52_test.c:97 msgid "Test brightness scale (~ 1m)" msgstr "Esttay ightnessbray alescay (~ 1m)"