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