Skip to content

Commit

Permalink
po: Add dummy en_GB localization
Browse files Browse the repository at this point in the history
Steps to handle translations:

 * ninja emeus-pot — updates the POT file
 * ninja emeus-update-po — updates the PO files

The installation step will handle the GMO file generation and their
installation. Translators are supposed to add PO files on their own and
update the `po/meson.build` file to include their language.
  • Loading branch information
ebassi committed Dec 5, 2016
1 parent bd7cabe commit 3a78ea3
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 2 deletions.
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ gnome = import('gnome')
subdir('src')
subdir('examples')

# We don't have translations, yet
# subdir('po')
subdir('po')

if get_option('enable-gtk-doc')
subdir('doc')
Expand Down
22 changes: 22 additions & 0 deletions po/emeus.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the emeus package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: emeus\n"
"Report-Msgid-Bugs-To: https://github.com/ebassi/emeus/issues/new\n"
"POT-Creation-Date: 2016-11-30 17:29+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/tools/emeus-edit-constraints.c:406
msgid "Visual format parsed successfully\n"
msgstr ""
22 changes: 22 additions & 0 deletions po/en_GB.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the emeus package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: emeus\n"
"Report-Msgid-Bugs-To: https://github.com/ebassi/emeus/issues/new\n"
"POT-Creation-Date: 2016-11-30 17:29+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/tools/emeus-edit-constraints.c:406
msgid "Visual format parsed successfully\n"
msgstr ""

0 comments on commit 3a78ea3

Please sign in to comment.