diff --git a/source/code/ShowFileState.hpp b/source/code/ShowFileState.hpp index 32ce4cf..19b8be4 100644 --- a/source/code/ShowFileState.hpp +++ b/source/code/ShowFileState.hpp @@ -42,7 +42,7 @@ public: void SetData(const std::string& filename, const std::string& header) { titleField.SetText(header); infoBox.SetText(sago::GetFileContent(filename)); - filenameField.SetText(SPrintStringF(_("Show content of: %s"), filename.c_str())); + filenameField.SetText(SPrintStringF(_("Showing content of: %s"), filename.c_str())); } private: diff --git a/source/misc/translation/extractTexts.sh b/source/misc/translation/extractTexts.sh index afba7a8..7e63466 100755 --- a/source/misc/translation/extractTexts.sh +++ b/source/misc/translation/extractTexts.sh @@ -1,3 +1,3 @@ #! /bin/bash mkdir -p template -xgettext -k_ ../../code/*.cpp ../../code/*.inc --output=template/blockattack_roftb.pot +xgettext -k_ ../../code/*.cpp ../../code/*.inc ../../code/*.hpp --output=template/blockattack_roftb.pot diff --git a/source/misc/translation/po/da.po b/source/misc/translation/po/da.po index 61fbab4..4559435 100644 --- a/source/misc/translation/po/da.po +++ b/source/misc/translation/po/da.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-05-19 16:35+0200\n" -"PO-Revision-Date: 2018-05-19 16:38+0200\n" +"POT-Creation-Date: 2018-05-19 18:29+0200\n" +"PO-Revision-Date: 2018-05-19 18:30+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: da\n" @@ -500,6 +500,11 @@ msgstr "Sidste gåde" msgid "Last stage" msgstr "Sidste bane" +#: ../../code/ShowFileState.hpp:45 +#, c-format +msgid "Showing content of: %s" +msgstr "Viser indhold af: %s" + #~ msgid "Author:" #~ msgstr "Forfatter:" diff --git a/source/misc/translation/template/blockattack_roftb.pot b/source/misc/translation/template/blockattack_roftb.pot index e84d704..aba9a62 100644 --- a/source/misc/translation/template/blockattack_roftb.pot +++ b/source/misc/translation/template/blockattack_roftb.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-05-19 16:35+0200\n" +"POT-Creation-Date: 2018-05-19 18:29+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -496,3 +496,8 @@ msgstr "" #: ../../code/BlockGameSdl.inc:370 msgid "Last stage" msgstr "" + +#: ../../code/ShowFileState.hpp:45 +#, c-format +msgid "Showing content of: %s" +msgstr ""