Skip to content

Commit c9d36b5

Browse files
committed
chore: add script to upload local l10n context to poeditor
1 parent 9e93279 commit c9d36b5

File tree

5 files changed

+325
-4
lines changed

5 files changed

+325
-4
lines changed

alt-tab-macos.xcodeproj/project.pbxproj

+4
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@
376376
BF0C84B9B7A41E4A4534E519 /* app-icons-style-full.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "app-icons-style-full.jpg"; sourceTree = "<group>"; };
377377
BF0C84E11784B3B0900D0963 /* app.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = app.icns; sourceTree = "<group>"; };
378378
BF0C850C46CCD8B978168CCD /* sv */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = sv; path = Localizable.strings; sourceTree = "<group>"; };
379+
BF0C85C20516C4210508F349 /* tsconfig.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = tsconfig.json; sourceTree = "<group>"; };
379380
BF0C861255F42BF7B23408EF /* sq */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = sq; path = InfoPlist.strings; sourceTree = "<group>"; };
380381
BF0C86370093A080DD5974D8 /* convert_svg_to_png.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = convert_svg_to_png.sh; sourceTree = "<group>"; };
381382
BF0C8641C2317A67E9E8D389 /* ro */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ro; path = Localizable.strings; sourceTree = "<group>"; };
@@ -455,6 +456,7 @@
455456
BF0C8EAF02309B9C489E65F4 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
456457
BF0C8EC400A560FDF99F8C35 /* el */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = el; path = Localizable.strings; sourceTree = "<group>"; };
457458
BF0C8EE17F3ABD7A6D44BFFE /* pl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = pl; path = Localizable.strings; sourceTree = "<group>"; };
459+
BF0C8F0D85CC18CFF0880427 /* upload_l10n_strings_context.ts */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.ts; path = upload_l10n_strings_context.ts; sourceTree = "<group>"; };
458460
BF0C8FC083A2443F3EAF5DB7 /* preferences-blacklist.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "preferences-blacklist.jpg"; sourceTree = "<group>"; };
459461
C0712B3BEA2B3780398C0999 /* Pods_alt_tab_macos.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_alt_tab_macos.framework; sourceTree = BUILT_PRODUCTS_DIR; };
460462
C7E6F409CA442F83B7BE71AD /* Pods_unit_tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_unit_tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -1183,6 +1185,7 @@
11831185
1C9616522F4E58860385E090 /* .swiftformat */,
11841186
BF0C87320241EAE01E38EF53 /* .periphery.yml */,
11851187
BF0C8719351B41D268CE8B70 /* unit-tests */,
1188+
BF0C85C20516C4210508F349 /* tsconfig.json */,
11861189
);
11871190
sourceTree = "<group>";
11881191
};
@@ -1459,6 +1462,7 @@
14591462
BF0C89D7F23D82A3FF442E0B /* build_app.sh */,
14601463
BF0C8A261AAA42191426A587 /* run_tests.sh */,
14611464
BF0C873357DBF7008830E73F /* xcbeautify */,
1465+
BF0C8F0D85CC18CFF0880427 /* upload_l10n_strings_context.ts */,
14621466
);
14631467
path = scripts;
14641468
sourceTree = "<group>";

package-lock.json

+223-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,13 @@
3030
"lint-staged": "^13.0.0",
3131
"marked": "^0.8.0",
3232
"semantic-release": "^15.13.24"
33+
},
34+
"engines": {
35+
"node": ">=18.0.0"
36+
},
37+
"dependencies": {
38+
"@types/node": "^22.10.2",
39+
"ts-node": "^10.9.2",
40+
"typescript": "^5.7.2"
3341
}
3442
}

0 commit comments

Comments
 (0)