[gnome-builder/gnome-builder-3-20] autotools-templates: add po/LINGUAS
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-20] autotools-templates: add po/LINGUAS
- Date: Fri, 6 May 2016 06:07:15 +0000 (UTC)
commit c17782fb4f024e7d0643ac705c9b7abaf49c791c
Author: Christian Hergert <chergert redhat com>
Date: Fri May 6 09:06:27 2016 +0300
autotools-templates: add po/LINGUAS
This adds the po/LINGUAS file that contains the list of translations
available. When adding a new translation, the name should be added to
this file.
plugins/autotools-templates/Makefile.am | 1 +
.../autotools_templates/__init__.py | 2 ++
.../autotools_templates/resources/po/LINGUAS | 1 +
3 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/autotools-templates/Makefile.am b/plugins/autotools-templates/Makefile.am
index 7c3cef1..7c57452 100644
--- a/plugins/autotools-templates/Makefile.am
+++ b/plugins/autotools-templates/Makefile.am
@@ -35,6 +35,7 @@ nobase_resource_DATA = \
autotools_templates/resources/m4/pkg.m4 \
autotools_templates/resources/m4/vala.m4 \
autotools_templates/resources/m4/vapigen.m4 \
+ autotools_templates/resources/po/LINGUAS \
autotools_templates/resources/po/Makevars \
autotools_templates/resources/po/POTFILES.in \
autotools_templates/resources/src/Makefile.shared-library-c \
diff --git a/plugins/autotools-templates/autotools_templates/__init__.py
b/plugins/autotools-templates/autotools_templates/__init__.py
index 96bbb06..dea4e4e 100644
--- a/plugins/autotools-templates/autotools_templates/__init__.py
+++ b/plugins/autotools-templates/autotools_templates/__init__.py
@@ -156,6 +156,8 @@ class AutotoolsTemplate(Ide.TemplateBase, Ide.ProjectTemplate):
'resources/m4/vapigen.m4': 'm4/vapigen.m4',
'resources/data/Makefile.am': 'data/Makefile.am',
+
+ 'resources/po/LINGUAS': 'po/LINGUAS',
'resources/po/Makevars': 'po/Makevars',
'resources/po/POTFILES.in': 'po/POTFILES.in',
}
diff --git a/plugins/autotools-templates/autotools_templates/resources/po/LINGUAS
b/plugins/autotools-templates/autotools_templates/resources/po/LINGUAS
new file mode 100644
index 0000000..e7604c1
--- /dev/null
+++ b/plugins/autotools-templates/autotools_templates/resources/po/LINGUAS
@@ -0,0 +1 @@
+# Please keep this list sorted alphabetically.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]