Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Crowdin updates #7

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,34 @@ jobs:
-exportLocalizations
-project "Front Row.xcodeproj"
-scheme "Front Row"
-localizationPath "./locale"
-exportLanguage en
CODE_SIGNING_ALLOWED=NO | xcpretty && exit ${PIPESTATUS[0]}

- name: Upload source locale artifact
uses: actions/[email protected]
with:
name: en-source-locale
path: './locale/en.xcloc/Localized Contents/en.xliff'

crowdin:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/[email protected]
with:
name: en-source-locale
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload source to Crowdin
uses: crowdin/[email protected]
with:
upload_sources: true
upload_translations: false
download_translations: false

source: en.xliff
translation: '%osx_locale%.xliff'

project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
30 changes: 30 additions & 0 deletions Front Row.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/* Begin PBXBuildFile section */
032BBB1E2B9FF671003D2FA8 /* WindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 032BBB1D2B9FF671003D2FA8 /* WindowController.swift */; };
0355CA512BA78039001AF5EA /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 0355CA502BA78039001AF5EA /* Localizable.xcstrings */; };
03B712272B96C40C00C1F753 /* AVKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 03B712262B96C40C00C1F753 /* AVKit.framework */; };
03D77E952B9AA13700276A45 /* HelpCommands.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03D77E942B9AA13700276A45 /* HelpCommands.swift */; };
03E8F3D62B9F79ED0008CE49 /* Sparkle in Frameworks */ = {isa = PBXBuildFile; productRef = 03E8F3D52B9F79ED0008CE49 /* Sparkle */; };
Expand All @@ -25,6 +26,7 @@

/* Begin PBXFileReference section */
032BBB1D2B9FF671003D2FA8 /* WindowController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WindowController.swift; sourceTree = "<group>"; };
0355CA502BA78039001AF5EA /* Localizable.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = Localizable.xcstrings; sourceTree = "<group>"; };
03B712262B96C40C00C1F753 /* AVKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVKit.framework; path = System/Library/Frameworks/AVKit.framework; sourceTree = SDKROOT; };
03BACB2D2B96C8A800D24F07 /* FrontRowInfo.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = FrontRowInfo.plist; sourceTree = SOURCE_ROOT; };
03D77E942B9AA13700276A45 /* HelpCommands.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HelpCommands.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -87,6 +89,7 @@
03BACB2D2B96C8A800D24F07 /* FrontRowInfo.plist */,
03EA68502B9630CF003348BE /* FrontRowApp.swift */,
03EA68542B9630D0003348BE /* Assets.xcassets */,
0355CA502BA78039001AF5EA /* Localizable.xcstrings */,
03EA685F2B965224003348BE /* Main Menu */,
03EA68562B9630D0003348BE /* Preview Content */,
03EA686C2B968D86003348BE /* Support */,
Expand Down Expand Up @@ -179,6 +182,32 @@
knownRegions = (
en,
Base,
ar,
"zh-Hans",
"zh-Hant",
cs,
da,
nl,
fi,
fr,
de,
el,
he,
hu,
it,
ja,
ko,
nb,
pl,
"pt-BR",
"pt-PT",
ro,
ru,
es,
sv,
tr,
uk,
vi,
);
mainGroup = 03EA68442B9630CF003348BE;
packageReferences = (
Expand All @@ -200,6 +229,7 @@
files = (
03EA68582B9630D0003348BE /* Preview Assets.xcassets in Resources */,
03EA68552B9630D0003348BE /* Assets.xcassets in Resources */,
0355CA512BA78039001AF5EA /* Localizable.xcstrings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
Loading