-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46dff54
commit 18e329c
Showing
14 changed files
with
228 additions
and
0 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
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,12 @@ | ||
,,"Content-Transfer-Encoding: 8bit | ||
Content-Type: text/plain; charset=UTF-8 | ||
Language: | ||
Language-Team: | ||
Last-Translator: | ||
MIME-Version: 1.0 | ||
Project-Id-Version: | ||
Report-Msgid-Bugs-To: | ||
" | ||
,"some message", | ||
"some context","some message in a context", | ||
,"%s message", |
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 @@ | ||
"some message", | ||
"some message in a context", | ||
"%s message", |
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,18 @@ | ||
{ | ||
"messages": { | ||
"": { | ||
"domain": "messages", | ||
"lang": "en", | ||
"plural-forms": "nplurals=2; plural=(n != 1);" | ||
}, | ||
"some message": [ | ||
"" | ||
], | ||
"some context\\u0004some message in a context": [ | ||
"" | ||
], | ||
"%s message": [ | ||
"" | ||
] | ||
} | ||
} |
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,22 @@ | ||
{ | ||
"domain": null, | ||
"plural-forms": null, | ||
"messages": { | ||
"": { | ||
"": [ | ||
"Content-Transfer-Encoding: 8bit\nContent-Type: text\/plain; charset=UTF-8\nLanguage: \nLanguage-Team: \nLast-Translator: \nMIME-Version: 1.0\nProject-Id-Version: \nReport-Msgid-Bugs-To: \n" | ||
], | ||
"some message": [ | ||
"" | ||
], | ||
"%s message": [ | ||
"" | ||
] | ||
}, | ||
"some context": { | ||
"some message in a context": [ | ||
"" | ||
] | ||
} | ||
} | ||
} |
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,5 @@ | ||
{ | ||
"some message": "", | ||
"some message in a context": "", | ||
"%s message": "" | ||
} |
Binary file not shown.
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,37 @@ | ||
<?php return array ( | ||
'domain' => NULL, | ||
'plural-forms' => NULL, | ||
'messages' => | ||
array ( | ||
'' => | ||
array ( | ||
'' => | ||
array ( | ||
0 => 'Content-Transfer-Encoding: 8bit | ||
Content-Type: text/plain; charset=UTF-8 | ||
Language: | ||
Language-Team: | ||
Last-Translator: | ||
MIME-Version: 1.0 | ||
Project-Id-Version: | ||
Report-Msgid-Bugs-To: | ||
', | ||
), | ||
'some message' => | ||
array ( | ||
0 => '', | ||
), | ||
'%s message' => | ||
array ( | ||
0 => '', | ||
), | ||
), | ||
'some context' => | ||
array ( | ||
'some message in a context' => | ||
array ( | ||
0 => '', | ||
), | ||
), | ||
), | ||
); |
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,24 @@ | ||
msgid "" | ||
msgstr "" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Language: \n" | ||
"Language-Team: \n" | ||
"Last-Translator: \n" | ||
"MIME-Version: 1.0\n" | ||
"Project-Id-Version: \n" | ||
"Report-Msgid-Bugs-To: \n" | ||
|
||
#: ./tests/assets/jscode2/input.js:1 | ||
msgid "some message" | ||
msgstr "" | ||
|
||
#: ./tests/assets/jscode2/input.js:2 | ||
msgctxt "some context" | ||
msgid "some message in a context" | ||
msgstr "" | ||
|
||
#: ./tests/assets/jscode2/input.js:3 | ||
msgid "%s message" | ||
msgid_plural "%s messages" | ||
msgstr[0] "" |
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,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="" trgLang=""> | ||
<file id="."> | ||
<notes> | ||
<note id="Content-Transfer-Encoding">8bit</note> | ||
<note id="Content-Type">text/plain; charset=UTF-8</note> | ||
<note id="Language"></note> | ||
<note id="Language-Team"></note> | ||
<note id="Last-Translator"></note> | ||
<note id="MIME-Version">1.0</note> | ||
<note id="Project-Id-Version"></note> | ||
<note id="Report-Msgid-Bugs-To"></note> | ||
</notes> | ||
<unit id="df49b60423903e095b80d9b4a92eb065"> | ||
<notes> | ||
<note category="context"></note> | ||
<note category="reference">./tests/assets/jscode2/input.js:1</note> | ||
</notes> | ||
<segment> | ||
<source>some message</source> | ||
<target></target> | ||
</segment> | ||
</unit> | ||
<unit id="79662f3fd7a86c2d14a8a9a707609a21"> | ||
<notes> | ||
<note category="context">some context</note> | ||
<note category="reference">./tests/assets/jscode2/input.js:2</note> | ||
</notes> | ||
<segment> | ||
<source>some message in a context</source> | ||
<target></target> | ||
</segment> | ||
</unit> | ||
<unit id="ce1f2c3f5719b0353a6ef7805faf4a0d"> | ||
<notes> | ||
<note category="context"></note> | ||
<note category="reference">./tests/assets/jscode2/input.js:3</note> | ||
</notes> | ||
<segment> | ||
<source>%s message</source> | ||
<target></target> | ||
</segment> | ||
</unit> | ||
</file> | ||
</xliff> |
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,10 @@ | ||
domain: null | ||
plural-forms: null | ||
messages: | ||
'': | ||
'': | ||
- "Content-Transfer-Encoding: 8bit\nContent-Type: text/plain; charset=UTF-8\nLanguage: \nLanguage-Team: \nLast-Translator: \nMIME-Version: 1.0\nProject-Id-Version: \nReport-Msgid-Bugs-To: \n" | ||
'some message': '' | ||
'%s message': '' | ||
'some context': | ||
'some message in a context': '' |
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 @@ | ||
'some message': '' | ||
'some message in a context': '' | ||
'%s message': '' |
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 @@ | ||
gettext("some message"); | ||
pgettext("some context", "some message in a context"); | ||
ngettext("%s message", "%s messages", 2); |