Skip to content

Commit

Permalink
makepot: Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mtwebster committed Sep 30, 2024
1 parent 139a8e0 commit 4569efd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/nemo-actions/extract_action_strings
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions makepot
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4569efd

Please sign in to comment.