Skip to content

Commit 3ffe211

Browse files
committed
i18n: Localize the mimetype definitions.
These show up in 'detailed file type' fields, such as in a list view column.
1 parent 4360790 commit 3ffe211

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

data/nemo.xml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
<mime-type type="application/nemo-action">
11-
<_comment>A Nemo action definition file</_comment>
11+
<_comment>Nemo action definition</_comment>
1212
<generic-icon name="text-x-generic"/>
1313
<sub-class-of type="text/plain"/>
1414
<glob pattern="*.nemo_action"/>

makepot

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22
data/nemo-actions/extract_action_strings data/nemo-actions
3-
xgettext -c --from-code=UTF-8 --keyword=_ --keyword=N_ --output=nemo.pot \
3+
itstool -o nemo.pot data/nemo.xml.in
4+
xgettext -c --join-existing --from-code=UTF-8 --keyword=_ --keyword=N_ --output=nemo.pot \
45
src/*.c libnemo-extension/*.c libnemo-private/*.c eel/*.c \
56
data/nemo-actions/action_i18n_strings.py generate_additional_file
67
xgettext -c --join-existing -L Glade gresources/*.glade --output=nemo.pot

0 commit comments

Comments
 (0)