-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skeleton for the internationalization.
- Loading branch information
1 parent
739ae42
commit 796c7fb
Showing
11 changed files
with
154 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ syntax: glob | |
*~ | ||
*.db | ||
|
||
*.mo | ||
|
||
# Emacs | ||
eproject.cfg | ||
*# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "MOSP", | ||
"description": "A platform to create, edit and share JSON objects.", | ||
"keywords": [ | ||
"MOSP", | ||
"json", | ||
"json-schema" | ||
], | ||
"website": "https://github.com/cedricbonhomme/MOSP", | ||
"repository": "https://github.com/cedricbonhomme/MOSP", | ||
"scripts": { | ||
"postdeploy": "pybabel compile -d src/web/translations" | ||
}, | ||
"addons": [ | ||
"heroku-postgresql:hobby-dev" | ||
], | ||
"buildpacks": [ | ||
{ | ||
"url": "https://github.com/heroku/heroku-buildpack-nodejs" | ||
}, | ||
{ | ||
"url": "heroku/python" | ||
} | ||
], | ||
"env": { | ||
"APPLICATION_SETTINGS": { | ||
"description": "Configuration file for Heroku", | ||
"required": true, | ||
"value": "heroku.cfg" | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[python: **.py] | ||
[jinja2: **/templates/**.html] | ||
extensions=jinja2.ext.autoescape,jinja2.ext.with_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# French translations for PROJECT. | ||
# Copyright (C) 2018 ORGANIZATION | ||
# This file is distributed under the same license as the PROJECT project. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2018. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PROJECT VERSION\n" | ||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
"POT-Creation-Date: 2018-05-22 11:25+0200\n" | ||
"PO-Revision-Date: 2018-05-22 11:26+0200\n" | ||
"Last-Translator: \n" | ||
"Language-Team: fr <LL@li.org>\n" | ||
"Language: fr\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
"Generated-By: Babel 2.5.3\n" | ||
"X-Generator: Poedit 2.0.6\n" | ||
|
||
#: src/web/templates/index.html:10 | ||
msgid "Recently updated schemas" | ||
msgstr "Schémas récemment mis à jour" | ||
|
||
#: src/web/templates/index.html:14 | ||
msgid "Recently updated objects" | ||
msgstr "Objets récemment mis à jour" | ||
|
||
#: src/web/templates/layout.html:88 | ||
msgid "Create, edit and share JSON objects" | ||
msgstr "Créer, modifier et partager des objets JSON" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/sh | ||
|
||
pybabel extract -F src/web/translations/babel.cfg -k lazy_gettext -o src/web/translations/messages.pot src/web/ | ||
poedit src/web/translations/fr/LC_MESSAGES/messages.po |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Translations template for PROJECT. | ||
# Copyright (C) 2018 ORGANIZATION | ||
# This file is distributed under the same license as the PROJECT project. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2018. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PROJECT VERSION\n" | ||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
"POT-Creation-Date: 2018-05-22 11:25+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.5.3\n" | ||
|
||
#: src/web/templates/index.html:10 | ||
msgid "Recently updated schemas" | ||
msgstr "" | ||
|
||
#: src/web/templates/index.html:14 | ||
msgid "Recently updated objects" | ||
msgstr "" | ||
|
||
#: src/web/templates/layout.html:88 | ||
msgid "Create, edit and share JSON objects" | ||
msgstr "" | ||
|