Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
2ee6499
po4a: moneropedia/locally-unique-host updates
Jun 23, 2024
6683fa6
po4a: moneropedia/merge-mining updates
Jun 23, 2024
46e0235
po4a: moneropedia/mining updates
Jun 23, 2024
ee0892a
po4a: moneropedia/mnemonicseed updates
Jun 23, 2024
f84f40b
po4a: moneropedia/node updates
Jun 23, 2024
b6908ec
po4a: moneropedia/openalias updates
Jun 23, 2024
10b68f2
po4a: moneropedia/p2pool updates
Jun 23, 2024
012a1c8
po4a: moneropedia/paperwallet updates
Jun 23, 2024
1880149
po4a: moneropedia/paymentid updates
Jun 23, 2024
cb7f8c5
po4a: moneropedia/pedersen-commitment updates
Jun 23, 2024
344b6b8
po4a: moneropedia/pruning updates
Jun 23, 2024
95e9826
po4a: moneropedia/randomx updates
Jun 23, 2024
2fd912f
po4a: moneropedia/remote-node updates
Jun 23, 2024
7f233a2
po4a: moneropedia/ring-size updates
Jun 23, 2024
9d80fce
po4a: moneropedia/ringCT updates
Jun 23, 2024
1fc43c4
po4a: moneropedia/ringsignatures updates
Jun 23, 2024
af579d8
po4a: moneropedia/scalability updates
Jun 23, 2024
07c110c
po4a: moneropedia/sidechain updates
Jun 23, 2024
63e233f
po4a: moneropedia/signature updates
Jun 23, 2024
29c8c2a
po4a: moneropedia/smartmining updates
Jun 23, 2024
091b9ae
po4a: moneropedia/spendkey updates
Jun 23, 2024
43f30e6
po4a: moneropedia/stealthaddress updates
Jun 23, 2024
ec8d19f
po4a: moneropedia/tail-emission updates
Jun 23, 2024
c1ce7b8
po4a: moneropedia/transaction updates
Jun 23, 2024
bdd2dba
po4a: moneropedia/viewkey updates
Jun 23, 2024
27f77ff
po4a: moneropedia/wallet updates
Jun 23, 2024
0c099df
fixes: es/Offline_backup.po 1
plowsof Jun 23, 2024
c294196
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
dba3e5a
run po4a only on lang modified
plowsof Jun 23, 2024
2fa8c9f
fixes: en Offline_backup.pot rem trailing \n
plowsof Jun 23, 2024
3900c83
if pot modified run on all else only the lang
plowsof Jun 23, 2024
7fcdc2a
touch offline_backup to run po4a
plowsof Jun 23, 2024
81342a1
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
fca2d4a
fixes: purge \n from offline_backup
plowsof Jun 23, 2024
bf6cb90
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
c20a20d
fixes: \n pl/offline_backup error
plowsof Jun 23, 2024
bdadd89
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
b6004c1
fixes es/offline_backup final
plowsof Jun 23, 2024
8ad6edb
newline removal?
plowsof Jun 23, 2024
198f819
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
2f31b60
add newling back to warning
plowsof Jun 23, 2024
e5c280a
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
8deb7d4
fixes: fuzzy gone es/offline_backup
plowsof Jun 23, 2024
c07d4aa
fixes: fr/offline_backup 1
plowsof Jun 23, 2024
999a720
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
741d8d4
fixes: fr/offline_backup 1
plowsof Jun 23, 2024
c68ee24
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
0537788
fixes nb-no/offline_backup 2
plowsof Jun 23, 2024
cdb36fa
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
54694ec
fixes: nl/offline_backup 1
plowsof Jun 23, 2024
f1f8cd1
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
392c7f3
fixes: pr/offline_backup 1
plowsof Jun 23, 2024
13d075a
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
871bf62
fixes: ru/offline_backup 1
plowsof Jun 23, 2024
7d3df2f
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
5d98596
fixes: ar/offline_backup 1
plowsof Jun 23, 2024
2ddf1a7
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
8a7abb0
fixes: de/offline_backup 1
plowsof Jun 23, 2024
6d5f93e
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
ee86536
fixes: offline_backup done
plowsof Jun 23, 2024
c00de75
po4a: user-guides/Offline_Backup updates
Jun 23, 2024
dd56821
fixes es/cli_wallet_daemon_isolation_qubes_whonix 1
plowsof Jun 23, 2024
1b319c7
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
628c95c
fixes: ar/cli_wallet_daemon_isolation_qubes_whonix 1
plowsof Jun 23, 2024
71685b8
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
5bc6f39
fixes: fix es/cli_wallet_daemon_isolation_qubes_whonix po4a compile
plowsof Jun 23, 2024
aa4b982
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
f2f735e
fixes: es/cli_wallet_daemon_isolation_qubes_whonix parse error
plowsof Jun 23, 2024
5f1de1c
fixes: ar/cli_wallet_daemon_isolation_qubes_whonix compile errors
plowsof Jun 23, 2024
c6fc1d3
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
8ba56c0
fixes: revert es/cli_wallet_...
plowsof Jun 23, 2024
d0a0c56
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
340e946
fixes: es/cli_wallet_daemon 1
plowsof Jun 23, 2024
46fcd82
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
ba02299
fixes: de/cli_wallet_daemon 1
plowsof Jun 23, 2024
2f0272c
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
304588f
fixes: de/cli_wallet_daemon compile error
plowsof Jun 23, 2024
421b066
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
2f29032
fixes: de/cli_wallet_daemon 1
plowsof Jun 23, 2024
6a729cf
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
03ffc74
fixes: nb-no/cli_wallet_daemon 1
plowsof Jun 23, 2024
b91eabf
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
280fa25
fixes: nl/cli_wallet_daemon 1
plowsof Jun 23, 2024
ca9672c
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
0695449
fixes: pl/cli_wallet_daemon 1
plowsof Jun 23, 2024
567c0aa
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
52223c5
fixes: ru/cli_wallet_daemon 1
plowsof Jun 23, 2024
3fce3a3
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
b504b6b
fixes: ar/hoto_fix_stuck 1
plowsof Jun 23, 2024
12d8ed4
po4a: user-guides/howto_fix_stuck_funds updates
Jun 23, 2024
1fb73bf
fixes: ar/hoto_fix_stuck 2
plowsof Jun 23, 2024
70ddd9a
po4a: user-guides/howto_fix_stuck_funds updates
Jun 23, 2024
41ac492
fixes: typos cli_wallet_daemon_isolation
plowsof Jun 23, 2024
cc14741
po4a: user-guides/cli_wallet_daemon_isolation_qubes_whonix updates
Jun 23, 2024
af7ebc5
fixes: de/hoto_fix_stuck 1
plowsof Jun 23, 2024
6bcd014
po4a: user-guides/howto_fix_stuck_funds updates
Jun 23, 2024
b4512ad
fixes: es/hoto_fix_stuck 1
plowsof Jun 23, 2024
a18bd17
po4a: user-guides/howto_fix_stuck_funds updates
Jun 23, 2024
8e2d194
fixes: fr/hoto_fix_stuck 1
plowsof Jun 23, 2024
86c517e
po4a: user-guides/howto_fix_stuck_funds updates
Jun 23, 2024
a2b41d5
fixes: nb-no/hoto_fix_stuck 1
plowsof Jun 23, 2024
f2f7f0e
po4a: user-guides/howto_fix_stuck_funds updates
Jun 23, 2024
a6ab87f
fixes: nl/pl/pt-br/ru/hoto_fix_stuck 1
plowsof Jun 23, 2024
9b55684
po4a: user-guides/howto_fix_stuck_funds updates
Jun 23, 2024
84e7620
de/es/nb-no/pl/ru/zh-cn/importing_blochain 1
plowsof Jun 23, 2024
6d8f252
po4a: user-guides/importing_blockchain updates
Jun 23, 2024
9615722
fixes de/importing_blockchain compile errors
plowsof Jun 23, 2024
3e71cbf
po4a: user-guides/importing_blockchain updates
Jun 23, 2024
b66a552
fixes: en/importing_blockchain duplicate word
plowsof Jun 23, 2024
4a813e7
po4a: user-guides/importing_blockchain updates
Jun 23, 2024
f93d9ce
fixes: all-en/importing_blockchain duplicate word
plowsof Jun 23, 2024
8e58cfd
po4a: user-guides/importing_blockchain updates
Jun 23, 2024
871716b
fixes: en/importing_blockchain.md typo test
plowsof Jun 24, 2024
7a56424
po4a: user-guides/importing_blockchain updates
Jun 24, 2024
239129d
fixes: remove fuzzy from importing_blockchain
plowsof Jun 24, 2024
7ec075e
po4a: user-guides/importing_blockchain updates
Jun 24, 2024
03fbfa6
fixes: en/ledger-wallet-cli add code blocks
plowsof Jun 24, 2024
fd8b494
po4a: user-guides/ledger-wallet-cli updates
Jun 24, 2024
453c961
fixes: de/mine-to-pool + generic string replaces
plowsof Jun 24, 2024
173b7a4
po4a: user-guides/ledger-wallet-cli updates
Jun 24, 2024
98a8223
po4a: user-guides/mine-to-pool updates
Jun 24, 2024
e8db953
fixes: de/mine-to-pool newline
plowsof Jun 24, 2024
0ae5b0a
po4a: user-guides/mine-to-pool updates
Jun 24, 2024
d67dd28
fixes: typo fix for string replace
plowsof Jun 24, 2024
e28f25d
fixes: mine-to-pool
plowsof Jun 24, 2024
a2f28c5
po4a: user-guides/ledger-wallet-cli updates
Jun 24, 2024
84620ce
po4a: user-guides/mine-to-pool updates
Jun 24, 2024
5f164fd
fixes: prove-payment 1
plowsof Jun 24, 2024
80db5a3
po4a: user-guides/prove-payment updates
Jun 24, 2024
08b8501
fixes: ar/restore_from_keys 1
plowsof Jun 24, 2024
7708d42
po4a: user-guides/restore_from_keys updates
Jun 24, 2024
1126966
fixes: securely_purchase
plowsof Jun 24, 2024
ab005f1
po4a: user-guides/securely_purchase updates
Jun 24, 2024
71f125c
fixes: solo_mine_gui 1
plowsof Jun 24, 2024
979fb9e
po4a: user-guides/solo_mine_GUI updates
Jun 24, 2024
8648ffa
fixes: tor_wallet 1
plowsof Jun 24, 2024
6976351
fixes: de/tor_wallet.po compile error
plowsof Jun 24, 2024
fca2a9c
po4a: user-guides/tor_wallet updates
Jun 24, 2024
2dbac10
fixes: nb-no/tor_wallet compile errors
plowsof Jun 25, 2024
9c3e711
po4a: user-guides/tor_wallet updates
Jun 25, 2024
3a9f0cd
fixes: de/tor_wallet compile errors
plowsof Jun 25, 2024
8d6e643
po4a: user-guides/tor_wallet updates
Jun 25, 2024
32fe7a1
fixes: DE/verification-allos-adv 1
plowsof Jun 25, 2024
59615bb
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
07cc1ee
fixes: DE/verification-allos-adv 2
plowsof Jun 25, 2024
bf41b6a
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
60f0ad3
fixes: DE/verification-allos-advanced compile errors
plowsof Jun 25, 2024
b69dabe
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
ba18f59
fixes: DE/verification-allos-adv 3
plowsof Jun 25, 2024
7de6c76
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
f7ddcf0
fixes: ar/verifivation-allos-adv 1
plowsof Jun 25, 2024
807fea6
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
bf63d5b
fixes: ar/verifivation-allos-adv link issue
plowsof Jun 25, 2024
686dfe6
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
60fb42d
fixes: touch ar/verif-allos-adv
plowsof Jun 25, 2024
4179e05
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
6c99853
fixes: ar/verification-allos-adv hyperlink formatting
plowsof Jun 25, 2024
098ba3c
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
b66aa0f
fixes: ar/verif-allos-adv hyperlink title
plowsof Jun 25, 2024
594b5b7
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
aac43a7
fixes: es/verif-allos-adv
plowsof Jun 25, 2024
409a5ea
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
62fbdff
fixes: es/verif-allos-adv final
plowsof Jun 25, 2024
4f57018
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
7121ae3
fixes: ru/verif-allos-adv
plowsof Jun 25, 2024
ee09ec3
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
d0da51e
fixes: ru/verif-allos-adv 2
plowsof Jun 25, 2024
0331b2a
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
755a00a
fixes: ru/verif-allos-adv 3
plowsof Jun 25, 2024
c301f6f
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
d1173fc
fixes: ru/verif-allos-adv 4
plowsof Jun 25, 2024
8c05f47
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
edf2deb
fixes: pt-br/verif-allos-adv
plowsof Jun 25, 2024
a74fd50
po4a: user-guides/verification-allos-advanced updates
Jun 25, 2024
4af59f9
pt-br/verif-allos-adv 2
plowsof Jun 26, 2024
d01394d
po4a: user-guides/verification-allos-advanced updates
Jun 26, 2024
73055a4
fixes: nl/verif-allos-adv 1
plowsof Jun 26, 2024
19d6cea
po4a: user-guides/verification-allos-advanced updates
Jun 26, 2024
fcb45b2
fixes: nl/verif-allos-adv 2
plowsof Jun 26, 2024
948fa62
po4a: user-guides/verification-allos-advanced updates
Jun 26, 2024
4a79dd1
fixes: fr/verif-allos-adv 1
plowsof Jun 26, 2024
49b9aaf
po4a: user-guides/verification-allos-advanced updates
Jun 26, 2024
caaecc4
fixes: fr/verif-allos-adv hyperlink
plowsof Jun 26, 2024
bd470c3
po4a: user-guides/verification-allos-advanced updates
Jun 26, 2024
480bdfb
fixes: nb-no/verif-allos-adv 1
plowsof Jun 27, 2024
c23b713
po4a: user-guides/verification-allos-advanced updates
Jun 27, 2024
c7777bf
fixes: nb-no/verif-allos-adv 2
plowsof Jun 27, 2024
1846c45
po4a: user-guides/verification-allos-advanced updates
Jun 27, 2024
72c74b4
fixes: en/verif-win-beg mirror simpler toc from adv
plowsof Jun 27, 2024
cdd31b4
po4a: user-guides/verification-windows-beginner updates
Jun 27, 2024
fdffe0e
fixes: ar(+replace)/verif-windows-beginner 1
plowsof Jun 28, 2024
0e635f0
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
80c62ee
fixes: ar/verif-windows-beginner 2
plowsof Jun 28, 2024
ed5050c
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
74c54e7
fixes: ar/verif-windows-beginner 3
plowsof Jun 28, 2024
1229122
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
19438ce
fixes: ar/verif-windows-beginner 4
plowsof Jun 28, 2024
4ac75db
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
5d4b355
fixes: ar/verif-windows-beginner final
plowsof Jun 28, 2024
7d46e34
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
9c8d592
fixes: ru/verif-windows-beginner 1
plowsof Jun 28, 2024
f3c55fe
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
2521bc0
fixes: nl/verif-win-beg compil error
plowsof Jun 28, 2024
e207e47
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
d44dd21
fixes: ru/verif-windows-beginner 2
plowsof Jun 28, 2024
5229d4f
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
2753a80
fixes: ru/verif-windows-beginner 3
plowsof Jun 28, 2024
c611c43
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
e3ecdba
fixes: nl/verif-windows-beginner 1
plowsof Jun 28, 2024
6e0e6df
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
b9f52f4
fixes: nl/verif-windows-beginner 2
plowsof Jun 28, 2024
7d1352f
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
1e7d433
fixes: es/verif-windows-beginner 1
plowsof Jun 28, 2024
2d6f546
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
7b6616b
fixes: es/verif-windows-beginner 2
plowsof Jun 28, 2024
a334404
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
1db9069
fixes: nb-no/verif-win-beg 1
plowsof Jun 28, 2024
eab3808
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
d2262a5
fixes: fr/verif-win-beg 1
plowsof Jun 28, 2024
5444db1
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
a703551
fixes: fr/verif-win-beg 2
plowsof Jun 28, 2024
fbd38dd
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
93f82d1
fixes: de/verif-win-beg 1
plowsof Jun 28, 2024
ac97895
po4a: user-guides/verification-windows-beginner updates
Jun 28, 2024
98d4e14
fixes: view_only 1
plowsof Jun 29, 2024
08021d4
po4a: user-guides/view_only updates
Jun 29, 2024
8ed3cc2
fixes: wps_run_node 1
plowsof Jun 29, 2024
6f33971
po4a: user-guides/vps_run_node updates
Jun 29, 2024
b487e33
fixes: remove restore_account translations
plowsof Jun 29, 2024
f1c4749
po4a: user-guides/restore_account updates
Jun 29, 2024
d8d2ccf
fixes: ledger-wallet-cli 1
plowsof Jun 30, 2024
6ba5216
po4a: user-guides/ledger-wallet-cli updates
Jun 30, 2024
ed79c1f
fixes: ledger-wallet-cli 2
plowsof Jun 30, 2024
ab227d7
po4a: user-guides/ledger-wallet-cli updates
Jun 30, 2024
8958740
fixes: rem fuzzy how_to_fix_stuck_funds
plowsof Jun 30, 2024
3bab185
po4a: user-guides/howto_fix_stuck_funds updates
Jun 30, 2024
c2f6d27
fixes: monero-wallet-cli 1
plowsof Jul 2, 2024
c320b37
po4a: user-guides/monero-wallet-cli updates
Jul 3, 2024
cb12416
fixes: remove merge conflict artifact remote_node_gui
plowsof Jul 3, 2024
33347b3
po4a: user-guides/remote_node_gui updates
Jul 3, 2024
50be38a
fixes: es/remote_node_gui
plowsof Jul 3, 2024
746af2a
po4a: user-guides/remote_node_gui updates
Jul 3, 2024
31cdcd8
fixes: clearnet
plowsof Jul 3, 2024
9681092
po4a: moneropedia/clearnet updates
Jul 3, 2024
718e06f
fixes: address
plowsof Jul 16, 2024
cb77bd5
po4a: moneropedia/address updates
Jul 16, 2024
4fbd21a
fixes: locally-unique-host
plowsof Jul 16, 2024
8291aae
po4a: moneropedia/locally-unique-host updates
Jul 16, 2024
aef2745
Merge branch 'master' of https://github.com/monero-project/monero-sit…
plowsof Jul 23, 2024
f228f8a
touch tail emission
plowsof Jul 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
189 changes: 189 additions & 0 deletions .github/workflows/po4a.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
name: run-po4a

on:
push:
paths:
- '**.po'
- '**.pot'
- '**.md' #temp for all md files.
branches: po4a-staged
workflow_dispatch:
inputs:
run_on_all:
description: 'Run po4a on all files'
required: false
default: 'false'

jobs:
changed_files:
runs-on: ubuntu-latest # windows-latest || macos-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
pull-requests: write
name: Test changed-files
steps:
- name: Clone po4a repository at specific commit
run: |
git clone https://github.com/mquinson/po4a.git
cd po4a
git checkout v0.69

- name: Install Debian dependencies
run: |
sudo apt update
sudo apt install -y liblocale-gettext-perl libtext-wrapi18n-perl libunicode-linebreak-perl libpod-parser-perl libtest-pod-perl libyaml-tiny-perl libsyntax-keyword-try-perl
sudo apt install -y cpanminus gettext docbook-xml docbook-xsl docbook xsltproc
sudo apt install -y texlive-binaries texlive-latex-base opensp libsgmls-perl

- name: Install CPAN dependencies
run: |
cpanm Locale::gettext
cpanm http://search.cpan.org/CPAN/authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz
cpanm Text::WrapI18N
cpanm Unicode::GCString
cd po4a
cpanm -v --installdeps --notest .

- name: Build
run: |
cd po4a
perl Build.PL
COLUMNS=120 ./Build verbose=1

- name: Install po4a
run: |
cd po4a
sudo ./Build install
cd ..
rm -rf po4a

- uses: actions/checkout@v4
with:
ref: ${{ github.head }}
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
- name: Run step if po/pot files are changed
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
RUN_ON_ALL: ${{ github.event.inputs.run_on_all }}
run: |
RUN_ON_ALL=${RUN_ON_ALL:="false"}
ALL_CHANGED_FILES_ARRAY=()
CHANGED_MD_FILES_ARRAY=()

# Check if RUN_ON_ALL is set to 'true'
if [ "$RUN_ON_ALL" == "true" ]; then
echo "list of all .md files in user-guides and moneropedia..."

# Add all user-guides and moneropedia .md files
for guide in _i18n/en/resources/user-guides/*.md; do
echo "-> Adding ${guide} to file list"
ALL_CHANGED_FILES_ARRAY+=("${guide}")
done

for entry in _i18n/en/resources/moneropedia/*.md; do
echo "-> Adding ${entry} to file list"
ALL_CHANGED_FILES_ARRAY+=("${entry}")
done
else
echo "Running po4a on modified po/pot files only..."

# Split ALL_CHANGED_FILES into an array
IFS=' ' read -r -a ALL_CHANGED_FILES_ARRAY <<< "$ALL_CHANGED_FILES"
for file in "${ALL_CHANGED_FILES_ARRAY[@]}"; do
if [[ "$file" == *.po || "$file" == *.pot ]]; then
directory=$(echo "$file" | sed -E 's|_i18n/[^/]+/resources/([^/]+)/.*|\1|')
base_filename=$(basename "$file" | sed -E 's/\.(po|pot)$//')
md_file="_i18n/en/resources/${directory}/${base_filename}.md"
if [ -f "$md_file" ]; then
echo "-> Adding ${md_file} to file list"
CHANGED_MD_FILES_ARRAY+=("${md_file}")
fi
else
CHANGED_MD_FILES_ARRAY+=("${file}")
fi
#remove duplicates
ALL_CHANGED_FILES_ARRAY=($(printf "%s\n" "${CHANGED_MD_FILES_ARRAY[@]}" | sort -u))

done
fi
for file in ${ALL_CHANGED_FILES_ARRAY}; do
echo "$file was changed"
done
git config --global user.name "weblate-po4a"
git config --global user.email "weblate-po4a@example.com"
ERROR=0
for md_file in "${ALL_CHANGED_FILES_ARRAY[@]}"; do
cd po
# Determine the base directory and base filename
directory=$(echo "$md_file" | sed -E 's|_i18n/[^/]+/resources/([^/]+)/.*|\1|')
base_filename=$(basename "$md_file" | sed -E 's/\.md$//')

# Construct the po4a configuration dynamically
lang=$(echo "$md_file" | sed -E 's|_i18n/([^/]+)/resources/.*|\1|')
if [ "$RUN_ON_ALL" == "true" ] || [ "$lang" == "en" ]; then
po4a_config="[po4a_langs] es it pl fr ar ru de nl pt-br tr zh-cn zh-tw nb-no\n"
else
po4a_config="[po4a_langs] ${lang}\n"
fi
po4a_config+="[po4a_paths] ../_i18n/en/resources/${directory}/weblate/${base_filename}.pot \$lang:../_i18n/\$lang/resources/${directory}/weblate/${base_filename}.po\n"
po4a_config+="[options] opt:\"--keep=0\"\n"
po4a_config+="[options] opt:\"--localized-charset=UTF-8\"\n"
po4a_config+="[options] opt:\"--master-charset=UTF-8\"\n"
po4a_config+="[options] opt:\"--master-language=en_US\"\n"
po4a_config+="[options] opt:\"--msgmerge-opt='--no-wrap'\"\n"
po4a_config+="[options] opt:\"--wrap-po=newlines\"\n"
po4a_config+="[po4a_alias:markdown] text opt:\"--option markdown\"\n"
po4a_config+="[type: markdown] ../_i18n/en/resources/${directory}/${base_filename}.md \$lang:../_i18n/\$lang/resources/${directory}/${base_filename}.md\n"

echo -e "${po4a_config}" > po4a-config.txt
cat po4a-config.txt

if po4a po4a-config.txt; then
echo "po4a ran successfully on ${md_file}"
else
echo "::warning file=${md_file}::po4a didn't run successfully"
ERROR=1
fi
rm po4a-config.txt
cd ..
git add .
COMMIT_MESSAGE="po4a: ${directory}/${base_filename} updates"
git commit -m "${COMMIT_MESSAGE}" || echo "No changes to commit for ${directory}/${base_filename}"
done

#- name: Check if PR exists
# id: check
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# prs=$(gh pr list \
# --repo "$GITHUB_REPOSITORY" \
# --head 'po4a-staged' \
# --base 'master' \
# --json title \
# --jq 'length')
# if ((prs > 0)); then
# echo "skip=true" >> "$GITHUB_OUTPUT"
# fi

- name: push to po4a-staged
#if: 'steps.check.outputs.skip'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: po4a-staged
#force: true

#- name: Create pull request
# if: '!steps.check.outputs.skip'
# uses: peter-evans/create-pull-request@v6
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# branch: po4a-staged
# continue-on-error: true
4 changes: 2 additions & 2 deletions _i18n/ar/resources/moneropedia/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ terms: ["address", "addresses"]

When you send Monero to someone you only need one piece of information, and
that is their Monero address. A *raw* Monero address is a set of 95
characters starting with a '4'. The Monero donation address, for instance,
is
characters starting with a '4' or an '8'. The Monero donation address, for
instance, is
888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H.

Because those addresses are long and complex, you will often encounter an
Expand Down
2 changes: 1 addition & 1 deletion _i18n/ar/resources/moneropedia/clearnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ that *all* of your connections can be tracked, traced, and monitored by:
- the website/service/person you're communicating with

- possibly a [Five Eyes](https://en.wikipedia.org/wiki/5_Eyes) capable
entity
entity

and even if you use [HTTPS](https://en.wikipedia.org/wiki/HTTPS) or similar
(which *encrypts* your transmission), your route is not hidden nor is it
Expand Down
6 changes: 3 additions & 3 deletions _i18n/ar/resources/moneropedia/locally-unique-host.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ you wish.
### Notes

- Monero primarily uses @canonically-unique-host resolution while I2P only
uses @locally-unique-host resolution.
uses @locally-unique-host resolution.

- I2P's and @Kovri's assigned top-level domain is currently `.i2p` and
@Kovri intends to only process/use the `.i2p` [top-level
domain](https://en.wikipedia.org/wiki/Top_level_domain)
@Kovri intends to only process/use the `.i2p` [top-level
domain](https://en.wikipedia.org/wiki/Top_level_domain)
8 changes: 4 additions & 4 deletions _i18n/ar/resources/moneropedia/p2pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ terms: ["P2Pool", "monero-p2pool"]
### The Basics

Monero P2Pool is a peer-to-peer Monero @mining pool developed by SChernykh
(also known as sech1). P2Pool was a concept first developed for the
Bitcoin blockchain but was never fully realized due to certain limitations,
mainly because it had a problem with orphaned @blocks which is solved in
Monero P2Pool with uncle blocks.
(also known as sech1). P2Pool was a concept first developed for the Bitcoin
blockchain but was never fully realized due to certain limitations, mainly
because it had a problem with orphaned @blocks which is solved in Monero
P2Pool with uncle blocks.

Unlike a traditional mining pool, P2Pool allows it's users to fully control
their own @node and what it mines. P2Pool has no central server that can be
Expand Down
10 changes: 5 additions & 5 deletions _i18n/ar/resources/moneropedia/pruning.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ node.
There are three ways to prune:

- *Synchronize a pruned node from scratch:* You will download and sync only
1/3 of the full blockchain.
1/3 of the full blockchain.

- *Prune an existing node:* The already existing blockchain will be pruned,
but this will not result in a smaller blockchain. Instead, it will mark
parts of the file as free, so that future data will use that free space,
causing the file to not grow until free space grows scarce.
but this will not result in a smaller blockchain. Instead, it will mark
parts of the file as free, so that future data will use that free space,
causing the file to not grow until free space grows scarce.

- *Create a new pruned blockchain from a full one:* A full blockchain that
you already have will be used to create a new, pruned blockchain.
you already have will be used to create a new, pruned blockchain.

Pruned nodes are very useful and preferable to @remote-nodes, but if
possible, users should run a full node and opt for pruning only in case if
Expand Down
27 changes: 14 additions & 13 deletions _i18n/ar/resources/moneropedia/remote-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,22 @@ port, or use a public one.
Public nodes are reachable in the network using two systems:

- **Node aggregators**, which are basically lists of open remote nodes. The
operators of those nodes decided to add them to the aggregator so that other
people can use them. The aggregator will provide to the person who want to
use a remote node a simple URL. This URL connects to one of the nodes in the
list and will need to be inserted in the Monero wallet (GUI or CLI). The
wallet will then contact one of the nodes provided by the URL and will allow
the end user to immediately receive and send transactions. One of the most
famous node aggregators is [MoneroWorld](https://moneroworld.com/#nodes).
operators of those nodes decided to add them to the aggregator so that
other people can use them. The aggregator will provide to the person who
want to use a remote node a simple URL. This URL connects to one of the
nodes in the list and will need to be inserted in the Monero wallet (GUI
or CLI). The wallet will then contact one of the nodes provided by the URL
and will allow the end user to immediately receive and send
transactions. One of the most famous node aggregators is
[MoneroWorld](https://moneroworld.com/#nodes).

- **Native public nodes**. This is one of the new coolest features the
Monero devs came up with to improve the user experience and to make easier
to connect to the network. The @daemon allows to make a node public by
simply adding the flag `--public-node`. Doing so, it will be advertised on
the P2P network and people will be able to connect to it (or to another
public node advertising itself in the same way) using the related option in
the GUI and CLI wallets.
Monero devs came up with to improve the user experience and to make easier
to connect to the network. The @daemon allows to make a node public by
simply adding the flag `--public-node`. Doing so, it will be advertised on
the P2P network and people will be able to connect to it (or to another
public node advertising itself in the same way) using the related option
in the GUI and CLI wallets.

Be aware that using public remote nodes can be risky. Node operators can
link transactions to IP addresses. These risks can be mitigated, but you
Expand Down
8 changes: 4 additions & 4 deletions _i18n/ar/resources/moneropedia/wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ overwritten. As soon as a cold wallet is connected to the Internet or its
mnemonic phrase or @spend-key is entered on an Internet-connected device,
it's no longer "cold" and should be considered "hot".

A Monero @paper-wallet can be generated by downloading the source code of
https://moneroaddress.org/. Verify the signature of the code on a trusted
airgapped device. Create the wallet and print or store it on the media of
your choice.
A Monero @paper-wallet can be generated by downloading the [wallet-generator
page on Getmonero]({{ site.baseurl }}/generator). Verify the signature of
the code on a trusted airgapped device. Create the wallet and print or
store it on the media of your choice.

Monero accounts and paper-wallets can be stored on any media - paper, USB
drive, CD/DVD, or a hardware wallet device (Ledger available since June
Expand Down
6 changes: 3 additions & 3 deletions _i18n/ar/resources/moneropedia/weblate/account.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-08-27 12:18+0200\n"
"POT-Creation-Date: 2024-06-23 08:34+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -16,13 +16,13 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: YAML Front Matter: summary
#. type: Yaml Front Matter Hash Value: summary
#: ../_i18n/en/resources/moneropedia/account.md:1
#, no-wrap
msgid "similar in function to a bank account, contains all of your sent and received transactions"
msgstr ""

#. type: YAML Front Matter: terms
#. type: Yaml Front Matter Hash Value: terms
#: ../_i18n/en/resources/moneropedia/account.md:1
#, no-wrap
msgid "[\"account\", \"accounts\", \"wallet\", \"wallets\"]"
Expand Down
8 changes: 4 additions & 4 deletions _i18n/ar/resources/moneropedia/weblate/address.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-08-30 11:19+0200\n"
"POT-Creation-Date: 2024-06-23 08:34+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -16,13 +16,13 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: YAML Front Matter: summary
#. type: Yaml Front Matter Hash Value: summary
#: ../_i18n/en/resources/moneropedia/address.md:1
#, no-wrap
msgid "either an alias, such as donate.getmonero.org, or a set of 95 characters starting with a 4"
msgstr ""

#. type: YAML Front Matter: terms
#. type: Yaml Front Matter Hash Value: terms
#: ../_i18n/en/resources/moneropedia/address.md:1
#, no-wrap
msgid "[\"address\", \"addresses\"]"
Expand All @@ -41,7 +41,7 @@ msgstr ""

#. type: Plain text
#: ../_i18n/en/resources/moneropedia/address.md:11
msgid "When you send Monero to someone you only need one piece of information, and that is their Monero address. A *raw* Monero address is a set of 95 characters starting with a '4'. The Monero donation address, for instance, is 888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H."
msgid "When you send Monero to someone you only need one piece of information, and that is their Monero address. A *raw* Monero address is a set of 95 characters starting with a '4' or an '8'. The Monero donation address, for instance, is 888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H."
msgstr ""

#. type: Plain text
Expand Down
6 changes: 3 additions & 3 deletions _i18n/ar/resources/moneropedia/weblate/airgap.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-08-30 12:38+0200\n"
"POT-Creation-Date: 2024-06-23 08:34+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -16,13 +16,13 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: YAML Front Matter: summary
#. type: Yaml Front Matter Hash Value: summary
#: ../_i18n/en/resources/moneropedia/airgap.md:1
#, no-wrap
msgid "An airgap is a security measure to physically separate a computer or device from all other networks, such as the Internet."
msgstr ""

#. type: YAML Front Matter: terms
#. type: Yaml Front Matter Hash Value: terms
#: ../_i18n/en/resources/moneropedia/airgap.md:1
#, no-wrap
msgid "[\"airgap\"]"
Expand Down
Loading