Skip to content

Commit

Permalink
Fix Clover Package
Browse files Browse the repository at this point in the history
  • Loading branch information
chris1111 committed Sep 14, 2024
1 parent 7b08a61 commit 0d24875
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Upload to Artifacts
uses: actions/upload-artifact@v4
with:
name: Clover beta-${{ env.GIT_SHA }}
name: Clover-GCC-14.1.0-${{ env.GIT_SHA }}
path: |
*.7z
CloverV2*.zip
Expand Down
10 changes: 4 additions & 6 deletions CloverPackage/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ slimpkg2:
slimpkg3:
@${SRCROOT}/makepkg --nothemes --norc --nolegacy

#updatepo:
# @${SRCROOT}/package/translate.sh --update-po
updatepo:
@${SRCROOT}/package/translate.sh --update-po

utils:
@make -C "${SRCROOT}"/utils all
Expand All @@ -32,8 +32,6 @@ install:
@make -C "${SRCROOT}"/utils install

clean:
rm -rf sym obj dst
#CloverPrefpane/build CloverUpdater/build

.PHONY: clean image iso pkg installer utils
rm -rf sym obj dst CloverPrefpane/build CloverUpdater/build

.PHONY: clean image iso pkg installer updatepo utils
2 changes: 1 addition & 1 deletion CloverPackage/makepkg
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ echo "${revision}" > revision
# Make the translation
echo ""
echo "========= Translating Resources ========"
#./package/translate.sh || exit $?
./package/translate.sh || exit $?

# Check that XCode is install properly
xcode_path=$(/usr/bin/xcode-select --print-path 2>/dev/null)
Expand Down
10 changes: 5 additions & 5 deletions CloverPackage/package/translate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ while [[ $# -gt 0 ]]; do
done

TEMPLATES_DIR="Resources/templates"
#CLOVER_UPDATER_DIR="../CloverUpdater"
#CLOVER_PREFPANE_DIR="../CloverPrefpane"
CLOVER_UPDATER_DIR="../CloverUpdater"
CLOVER_PREFPANE_DIR="../CloverPrefpane"
PODIR="po"

# Update CloverUpdater.strings
#"$CLOVER_UPDATER_DIR"/translate_xib.sh --extract-only
"$CLOVER_UPDATER_DIR"/translate_xib.sh --extract-only

# Update CloverPrefpane.strings
#"$CLOVER_PREFPANE_DIR"/translate_xib.sh --extract-only
"$CLOVER_PREFPANE_DIR"/translate_xib.sh --extract-only
# Update Localizable.strings
#"$CLOVER_PREFPANE_DIR"/translate_source.sh --extract-only
"$CLOVER_PREFPANE_DIR"/translate_source.sh --extract-only

# Check if pot and po files need to be updated
IFS=$'\n' # '
Expand Down

0 comments on commit 0d24875

Please sign in to comment.