Skip to content

Commit 4569efd

Browse files
committed
makepot: Fix some warnings
1 parent 139a8e0 commit 4569efd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

data/nemo-actions/extract_action_strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Main:
2323
2424
It was generated by the extract_action_strings script on %s UTC.
2525
'''
26-
""" % (dt.utcnow())
26+
""" % (dt.now(datetime.UTC))
2727
outstring += "\n"
2828
for fn in action_files:
2929
keyfile = GLib.KeyFile.new()

makepot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
data/nemo-actions/extract_action_strings data/nemo-actions
33
itstool -o nemo.pot data/nemo.xml.in
44
xgettext -c --join-existing --from-code=UTF-8 --keyword=_ --keyword=N_ --output=nemo.pot \
5-
src/*.c libnemo-extension/*.c libnemo-private/*.c eel/*.c \
6-
data/nemo-actions/action_i18n_strings.py generate_additional_file
5+
src/*.c libnemo-extension/*.c libnemo-private/*.c eel/*.c
76
xgettext -c --join-existing -L Glade gresources/*.glade --output=nemo.pot
87
xgettext -c --join-existing -L Glade gresources/*.ui --output=nemo.pot
98
xgettext -c --join-existing -L Glade action-layout-editor/*.glade --output=nemo.pot
10-
xgettext -c --join-existing -L Python action-layout-editor/*.py --output=nemo.pot
9+
xgettext -c --join-existing -L Python action-layout-editor/*.py data/nemo-actions/action_i18n_strings.py \
10+
generate_additional_file --output=nemo.pot

0 commit comments

Comments
 (0)