Skip to content

Commit 22535e4

Browse files
fix translate, skel falkon, falkon name
1 parent 29d7128 commit 22535e4

5 files changed

Lines changed: 48 additions & 659 deletions

File tree

.github/workflows/translate-and-build-package.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Translate and Build Package
33
# Controls when the workflow will run
44
on:
55
workflow_dispatch:
6-
6+
77
push:
88
#branches: [ "master", "main", "*" ]
99
branches: [ "*" ]
@@ -22,47 +22,47 @@ jobs:
2222
steps:
2323
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2424
- uses: actions/checkout@v3
25-
26-
# - name: Install Translator Dependencies
27-
# shell: bash
28-
# run: |
29-
# sudo apt-get update
30-
# sudo apt-get install \
31-
# git \
32-
# gettext \
33-
# npm
34-
35-
# # Install attranslator
36-
# sudo npm install --location=global attranslate
37-
38-
# - name: Translate Package
39-
# shell: bash -O extglob {0}
40-
# env:
41-
# AZURE_KEY: ${{ secrets.AZURE_KEY }}
42-
# run: |
43-
# cd ..
44-
# git clone https://github.com/biglinux/big-auto-translator.git
45-
# mv big-auto-translator/gettext_po_generator_github.sh .
46-
# gitfolder=$(echo ${{ github.repository }} | rev | cut -d "/" -f1 | rev)
47-
# bash gettext_po_generator_github.sh $gitfolder
48-
25+
26+
- name: Install Translator Dependencies
27+
shell: bash
28+
run: |
29+
sudo apt-get update
30+
sudo apt-get install \
31+
git \
32+
gettext \
33+
npm
34+
35+
# Install attranslator
36+
sudo npm install --location=global attranslate
37+
38+
- name: Translate Package
39+
shell: bash -O extglob {0}
40+
env:
41+
AZURE_KEY: ${{ secrets.AZURE_KEY }}
42+
run: |
43+
cd ..
44+
git clone https://github.com/biglinux/big-auto-translator.git
45+
mv big-auto-translator/gettext_po_generator_github.sh .
46+
gitfolder=$(echo ${{ github.repository }} | rev | cut -d "/" -f1 | rev)
47+
bash gettext_po_generator_github.sh $gitfolder
48+
4949
## Tmate ##
5050
#- name: Setup tmate session
51-
#uses: mxschmitt/action-tmate@v3
52-
53-
# - name: Update github
54-
# run: |
55-
# git add --all
56-
# git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
57-
# git config --local user.name "github-actions[bot]"
58-
# if [ -n "$(git commit -m "new translate" -a | grep "nothing to commit")" ];then exit 0; fi
59-
60-
# - name: Push changes
61-
# uses: ad-m/github-push-action@master
62-
# with:
63-
# github_token: ${{ secrets.GITHUB_TOKEN }}
64-
# branch: ${{ github.ref }}
65-
51+
#uses: mxschmitt/action-tmate@v3
52+
53+
- name: Update github
54+
run: |
55+
git add --all
56+
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
57+
git config --local user.name "github-actions[bot]"
58+
if [ -n "$(git commit -m "new translate" -a | grep "nothing to commit")" ];then exit 0; fi
59+
60+
- name: Push changes
61+
uses: ad-m/github-push-action@master
62+
with:
63+
github_token: ${{ secrets.GITHUB_TOKEN }}
64+
branch: ${{ github.ref }}
65+
6666
- name: Send Hooks BigLinux Build Package
6767
shell: bash
6868
run: |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
[Web-URL-Settings]
3+
homepage=@Variant(\0\0\0\x11\0\0\0\x16http://biglinux.com.br)
4+
newTabUrl=@Variant(\0\0\0\x11\0\0\0\x10\x66\x61lkon:speeddial)

0 commit comments

Comments
 (0)