From 4569efd25937c4bdcbabe0b70159cf444a32d50a Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Mon, 30 Sep 2024 10:36:29 -0400 Subject: [PATCH] makepot: Fix some warnings --- data/nemo-actions/extract_action_strings | 2 +- makepot | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/nemo-actions/extract_action_strings b/data/nemo-actions/extract_action_strings index 025dcc436..96282a3b1 100755 --- a/data/nemo-actions/extract_action_strings +++ b/data/nemo-actions/extract_action_strings @@ -23,7 +23,7 @@ class Main: It was generated by the extract_action_strings script on %s UTC. ''' - """ % (dt.utcnow()) + """ % (dt.now(datetime.UTC)) outstring += "\n" for fn in action_files: keyfile = GLib.KeyFile.new() diff --git a/makepot b/makepot index 10c62a242..4d9c06bbf 100755 --- a/makepot +++ b/makepot @@ -2,9 +2,9 @@ data/nemo-actions/extract_action_strings data/nemo-actions itstool -o nemo.pot data/nemo.xml.in xgettext -c --join-existing --from-code=UTF-8 --keyword=_ --keyword=N_ --output=nemo.pot \ - src/*.c libnemo-extension/*.c libnemo-private/*.c eel/*.c \ - data/nemo-actions/action_i18n_strings.py generate_additional_file + src/*.c libnemo-extension/*.c libnemo-private/*.c eel/*.c 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 +xgettext -c --join-existing -L Python action-layout-editor/*.py data/nemo-actions/action_i18n_strings.py \ + generate_additional_file --output=nemo.pot