From 1e0e286033810171cdaaf10a49d28ddf958f5b91 Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Tue, 4 Jun 2024 14:01:01 -0400 Subject: [PATCH] Update makepot, fix some strings in the layout editor. --- action-layout-editor/nemo-action-layout-editor.glade | 4 ++-- action-layout-editor/nemo-action-layout-editor.py | 2 +- makepot | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/action-layout-editor/nemo-action-layout-editor.glade b/action-layout-editor/nemo-action-layout-editor.glade index b65811b4c..ba34116a1 100644 --- a/action-layout-editor/nemo-action-layout-editor.glade +++ b/action-layout-editor/nemo-action-layout-editor.glade @@ -1,5 +1,5 @@ - + @@ -235,7 +235,7 @@ True False - foo@bar + foo@bar diff --git a/action-layout-editor/nemo-action-layout-editor.py b/action-layout-editor/nemo-action-layout-editor.py index 8a6acdabc..ada3bb176 100644 --- a/action-layout-editor/nemo-action-layout-editor.py +++ b/action-layout-editor/nemo-action-layout-editor.py @@ -631,7 +631,7 @@ def on_new_submenu_clicked(self, menuitem): new_iter = self.model.insert_after(parent, selection_iter, [ new_hash(), - _("New Submenu"), + _("New submenu"), ROW_TYPE_SUBMENU, 0, Row({"uuid": "New Submenu"}, None, None, True)]) diff --git a/makepot b/makepot index ed9efb455..10c62a242 100755 --- a/makepot +++ b/makepot @@ -6,3 +6,5 @@ xgettext -c --join-existing --from-code=UTF-8 --keyword=_ --keyword=N_ --output= data/nemo-actions/action_i18n_strings.py generate_additional_file xgettext -c --join-existing -L Glade gresources/*.glade --output=nemo.pot xgettext -c --join-existing -L Glade gresources/*.ui --output=nemo.pot +xgettext -c --join-existing -L Glade action-layout-editor/*.glade --output=nemo.pot +xgettext -c --join-existing -L Python action-layout-editor/*.py --output=nemo.pot