Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged branch clemens-tolboom/pofileloader-better-whitelines (PR #4339)
Commits ------- fb6cf3e Allow for missing whitelines. Discussion ---------- Allow for missing whitelines. The Gettext specification allows for 'whitespace is optional' between message string. For this to work PoFileLoader needs to save found messages on more places while processing. Thus a new method is introduced. For the tests to work PoFileDumper was changed slightly to only emit white-lines when necessary. I added more documentation from the GNU gettext documentation to make the code more understandable. When [[BUG] PoFileLoader pluralhandling uses interval instead of index.](symfony/symfony#4336) this patch needs some small rework. (this is part of [[WIP]: Allow Drupal to use Translate component)](symfony/symfony#4249) --------------------------------------------------------------------------- by travisbot at 2012-05-19T12:44:19Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1374295) (merged fb6cf3ef into 58b92453). --------------------------------------------------------------------------- by stof at 2012-05-19T13:19:29Z you need to rebase your branch. github tells us it cannot be merged automatically
- Loading branch information
Showing
3 changed files
with
80 additions
and
16 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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
msgid "foo" | ||
msgstr "bar" | ||
|
||
msgstr "bar" |