This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow '# NON-TRANSLATABLE' comments in properties files
- Loading branch information
1 parent
f21d9d5
commit 6a616f3
Showing
5 changed files
with
179 additions
and
12 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
13 changes: 13 additions & 0 deletions
13
...ter-properties/src/test/resources/org/zanata/adapter/properties/test_non_trans.properties
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,13 @@ | ||
# a source comment | ||
HELLO=Hello World | ||
|
||
# START NON-TRANSLATABLE | ||
# non-translatable source comment | ||
NONT=Hello Config | ||
|
||
# other non-translatable source comment | ||
NONT3=Goodbye Config | ||
# END NON-TRANSLATABLE | ||
|
||
# different source comment | ||
GOODBYE=Goodbye World |
6 changes: 6 additions & 0 deletions
6
...rties/src/test/resources/org/zanata/adapter/properties/test_non_trans_mismatch.properties
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,6 @@ | ||
# a source comment | ||
HELLO=Hello World | ||
|
||
# END NON-TRANSLATABLE | ||
|
||
GOODBYE=Goodbye World |
18 changes: 18 additions & 0 deletions
18
...perties/src/test/resources/org/zanata/adapter/properties/test_non_trans_nested.properties
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 @@ | ||
# a source comment | ||
HELLO=Hello World | ||
|
||
# START NON-TRANSLATABLE | ||
# non-trans source comment | ||
NONT=Hello Config | ||
|
||
# START NON-TRANSLATABLE | ||
# non-trans source comment 2 | ||
NONT2=Also this Config | ||
# END NON-TRANSLATABLE | ||
|
||
# this was non-translatable before | ||
NONT3=Goodbye Config | ||
# END NON-TRANSLATABLE | ||
|
||
# different source comment | ||
GOODBYE=Goodbye World |