mirror of
https://github.com/mirego/accent.git
synced 2024-09-11 10:55:28 +03:00
Add dot-in-slug-directory example in cli
This commit is contained in:
parent
78cd29be2f
commit
656dc7459c
@ -0,0 +1 @@
|
||||
"key" = "value";
|
@ -0,0 +1 @@
|
||||
"key" = "valeur";
|
10
cli/examples/dot-in-slug-directory/accent.json
Normal file
10
cli/examples/dot-in-slug-directory/accent.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"files": [
|
||||
{
|
||||
"namePattern": "file",
|
||||
"format": "strings",
|
||||
"source": "Project/Resources/en.lproj/Localizable.strings",
|
||||
"target": "Project/Resources/%slug%.lproj/%document_path%.strings"
|
||||
}
|
||||
]
|
||||
}
|
@ -180,7 +180,7 @@ export default class Sync extends Command {
|
||||
flags
|
||||
);
|
||||
|
||||
if (operation.addTranslations && !operation.peek) {
|
||||
if (!operation.peek) {
|
||||
formatter.logAddTranslations(operation.file, operation.documentPath);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user