-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing if default po header is added to po file (#1088)
Fixes 1081
- Loading branch information
1 parent
4c23b78
commit 9f26f1a
Showing
13 changed files
with
59 additions
and
19 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
2 changes: 1 addition & 1 deletion
2
test/OrchardCore.Tests/Localization/PoFiles/EntryWithComments.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# translator-comments | ||
# translator-comments | ||
#. extracted-comments | ||
#: reference… | ||
#, flag | ||
|
2 changes: 1 addition & 1 deletion
2
test/OrchardCore.Tests/Localization/PoFiles/EntryWithContext.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
msgctxt "OrchardCore.Localization" | ||
msgctxt "OrchardCore.Localization" | ||
msgid "Unknown system error" | ||
msgstr "Error desconegut del sistema" |
2 changes: 1 addition & 1 deletion
2
test/OrchardCore.Tests/Localization/PoFiles/EntryWithEscapedCharacters.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
msgid "Line:\t\"{0}\"\n" | ||
msgid "Line:\t\"{0}\"\n" | ||
msgstr "Line:\t\"{0}\"\n" |
2 changes: 1 addition & 1 deletion
2
test/OrchardCore.Tests/Localization/PoFiles/EntryWithMultilineText.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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
msgid "book" | ||
msgid "book" | ||
msgid_plural "books" | ||
msgstr[0] "kniha" | ||
msgstr[1] "knihy" | ||
|
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
msgid "\"{0}\"" | ||
msgid "\"{0}\"" | ||
msgstr "\"{0}\"" |
2 changes: 1 addition & 1 deletion
2
test/OrchardCore.Tests/Localization/PoFiles/EntryWithUnclosedQuote.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
msgctxt " | ||
msgctxt " | ||
msgid "Foo \"{0}\"" | ||
msgstr "Foo \"{0}\"" |
2 changes: 1 addition & 1 deletion
2
test/OrchardCore.Tests/Localization/PoFiles/EntryWithoutTranslation.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
"msgid "Unknown system error" | ||
"msgid "Unknown system error" | ||
"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
22 changes: 18 additions & 4 deletions
22
test/OrchardCore.Tests/Localization/PoFiles/PoeditHeader.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 |
---|---|---|
@@ -1,5 +1,19 @@ | ||
msgid "" | ||
# Translation of kstars.po into Spanish. | ||
# This file is distributed under the same license as the kdeedu package. | ||
# Pablo de Vicente <pablo@foo.com>, 2005, 2006, 2007, 2008. | ||
# Eloy Cuadra <eloy@bar.net>, 2007, 2008. | ||
msgid "" | ||
msgstr "" | ||
"POT-Creation-Date: 2016-06-22 17:06+0200\n" | ||
"PO-Revision-Date: 2016-08-01 11:57+0200\n" | ||
"X-Poedit-Basepath: ../../..\n" | ||
"Project-Id-Version: kstars\n" | ||
"Report-Msgid-Bugs-To: http://bugs.kde.org\n" | ||
"POT-Creation-Date: 2008-09-01 09:37+0200\n" | ||
"PO-Revision-Date: 2008-07-22 18:13+0200\n" | ||
"Last-Translator: Eloy Cuadra <eloy@bar.net>\n" | ||
"Language-Team: Spanish <kde-l10n-es@kde.org>\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" | ||
|
||
msgid "Unknown system error" | ||
msgstr "Error desconegut del sistema" |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
msgid "Unknown system error" | ||
msgid "Unknown system error" | ||
msgstr "Error desconegut del sistema" |
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