-
Notifications
You must be signed in to change notification settings - Fork 0
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
3685b12
commit 34d2f94
Showing
49 changed files
with
544 additions
and
268 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+18.2 KB
(100%)
Build/Components/4DPop XLIFF Pro.4dbase/4DPop XLIFF Pro.4DZ
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
Binary file modified
BIN
+18.1 KB
(100%)
Build/Components/4DPop XLIFF Pro.4dbase/Libraries/lib4d-arm64.dylib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Build/Components/4DPop XLIFF Pro.4dbase/Resources/InfoPlist.strings
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
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
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
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,24 @@ | ||
//%attributes = {} | ||
var $id; $node : Text | ||
var $folder : 4D:C1709.Folder | ||
var $file : 4D:C1709.File | ||
var $xml : cs:C1710.xml | ||
|
||
For each ($folder; Folder:C1567("/RESOURCES/"; *).folders().query("extension=.lproj")) | ||
|
||
For each ($file; $folder.files().query("extension = .xlf")) | ||
|
||
$xml:=cs:C1710.xml.new($file) | ||
|
||
For each ($node; $xml.find("/xliff/file/body/group/trans-unit")) | ||
|
||
$id:=String:C10($xml.getAttribute($node; "id")) | ||
$xml.setAttribute($node; "id"; Split string:C1554($id; "/").join("_")) | ||
|
||
End for each | ||
|
||
$xml.save() | ||
$xml.close() | ||
|
||
End for each | ||
End for each |
Oops, something went wrong.