-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from codesyntax/i18n
add i18n message generation
- Loading branch information
Showing
3 changed files
with
100 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module.exports = function (api) { | ||
api.cache(true); | ||
const presets = ['razzle/babel']; | ||
const plugins = [ | ||
[ | ||
'react-intl', // React Intl extractor, required for the whole i18n infrastructure to work | ||
{ | ||
messagesDir: './build/messages/', | ||
}, | ||
], | ||
]; | ||
|
||
return { | ||
plugins, | ||
presets, | ||
}; | ||
}; |
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,79 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Plone\n" | ||
"POT-Creation-Date: 2022-01-09T14:36:21.056Z\n" | ||
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n" | ||
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
"Language-Code: en\n" | ||
"Language-Name: English\n" | ||
"Preferred-Encodings: utf-8\n" | ||
"Domain: volto\n" | ||
|
||
#: messages | ||
# defaultMessage: Columns configuration | ||
msgid "Columns configuration" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Default HTML tag will be H3 | ||
msgid "Default HTML tag will be H3" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Default image width will be 2/12 | ||
msgid "Default image width will be 2/12" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Default with no image | ||
msgid "Default with no image" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: How many columns: | ||
msgid "How many columns:" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Image position/size | ||
msgid "Image position/size" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Image position: | ||
msgid "Image position:" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Image width (x/12): | ||
msgid "Image width (x/12):" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Query | ||
msgid "Query" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Show effectiveDate | ||
msgid "Show effectiveDate" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Title configuration | ||
msgid "Title configuration" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: Title text HTML tag | ||
msgid "Title text HTML tag" | ||
msgstr "" | ||
|
||
#: messages | ||
# defaultMessage: effectiveDate | ||
msgid "effectiveDate" | ||
msgstr "" |
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