mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-07-05 01:19:31 +00:00
Updated POTFILES.in and POTFILES.skip
This commit is contained in:
parent
e2b8ec4e2c
commit
275390b4e9
|
@ -1,26 +1,16 @@
|
|||
# List of source files containing translatable strings.
|
||||
# This list has been automatically generated by update-potfiles.
|
||||
[encoding: UTF-8]
|
||||
data/gitg.desktop.in.in
|
||||
data/org.gnome.gitg.gschema.xml.in.in
|
||||
gitg/gitg-branch-actions.c
|
||||
gitg/gitg.c
|
||||
gitg/gitg-commit-view.c
|
||||
gitg/gitg-repository-dialog.c
|
||||
gitg/gitg-revision-changes-panel.c
|
||||
gitg/gitg-revision-details-panel.c
|
||||
gitg/gitg-revision-files-panel.c
|
||||
gitg/gitg-window.c
|
||||
libgitg/gitg-encodings.c
|
||||
libgitg/gitg-repository.c
|
||||
libgitg/gitg-smart-charset-converter.c
|
||||
[type: gettext/glade]gitg/gitg-commit-menu.ui
|
||||
[type: gettext/glade]gitg/gitg-menus.xml
|
||||
[type: gettext/glade]gitg/gitg-new-branch.ui
|
||||
[type: gettext/glade]gitg/gitg-preferences.ui
|
||||
[type: gettext/glade]gitg/gitg-repository.ui
|
||||
[type: gettext/glade]gitg/gitg-revision-changes-panel.ui
|
||||
[type: gettext/glade]gitg/gitg-revision-details-panel.ui
|
||||
[type: gettext/glade]gitg/gitg-revision-files-panel.ui
|
||||
[type: gettext/glade]gitg/gitg-tag.ui
|
||||
[type: gettext/glade]gitg/gitg-ui.xml
|
||||
[type: gettext/glade]gitg/gitg-window.ui
|
||||
gitg/gitg-application.vala
|
||||
gitg/gitg.vala
|
||||
plugins/dash/gitg-dash.vala
|
||||
plugins/history/gitg-history-navigation.vala
|
||||
plugins/history/gitg-history.vala
|
||||
[type: gettext/glade]gitg/resources/ui/gitg-menus.ui
|
||||
[type: gettext/glade]gitg/resources/ui/gitg-window.ui
|
||||
[type: gettext/glade]plugins/dash/resources/view-create.ui
|
||||
[type: gettext/glade]plugins/dash/resources/view-open.ui
|
||||
[type: gettext/glade]plugins/dash/resources/view-recent.ui
|
||||
[type: gettext/glade]plugins/history/resources/view-history.ui
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
data/gitg.desktop.in
|
||||
data/gitgdiff.lang
|
||||
data/gitgstyle.xml
|
||||
data/org.gnome.gitg.gschema.xml.in
|
||||
|
|
32
po/update-potfiles
Executable file
32
po/update-potfiles
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/bin/bash
|
||||
|
||||
top=$(git rev-parse --show-toplevel)
|
||||
allfiles=$(cd "$top" && git ls-files --no-empty-directory --exclude-standard | sort)
|
||||
|
||||
echo "# List of source files containing translatable strings."
|
||||
echo "# This list has been automatically generated by update-potfiles."
|
||||
echo "[encoding: UTF-8]"
|
||||
|
||||
# Desktop in files
|
||||
for i in $allfiles;
|
||||
do
|
||||
if [ ${i##*.} == "in" ] && grep -E '(^_|<_)' "$top/$i" &>/dev/null; then
|
||||
echo $i;
|
||||
fi
|
||||
done
|
||||
|
||||
# vala source files
|
||||
for i in $allfiles;
|
||||
do
|
||||
if [ ${i##*.} == "vala" ] && grep -E '_\(["'"'"']' "$top/$i" &>/dev/null; then
|
||||
echo $i;
|
||||
fi
|
||||
done
|
||||
|
||||
# gtkbuilder ui files
|
||||
for i in $allfiles;
|
||||
do
|
||||
if [ ${i##*.} == "ui" ] && grep -E 'translatable' "$top/$i" &>/dev/null; then
|
||||
echo "[type: gettext/glade]$i";
|
||||
fi
|
||||
done
|
Loading…
Reference in New Issue
Block a user