mirror of
https://github.com/zotero/zotero.git
synced 2026-11-27 23:58:57 +00:00
Some checks are pending
CI / Detect changes (push) Waiting to run
CI / Build, Upload (push) Waiting to run
CI / Test () (push) Blocked by required conditions
CI / Test (macOS NFS) (push) Blocked by required conditions
CI / Test (Windows arm64) (push) Blocked by required conditions
CI / Test (Windows x64) (push) Blocked by required conditions
CI / Utilities Tests (push) Waiting to run
sr-Latn-RS is transliterated from sr-RS by scripts/locale/generate_sr_latn, which runs as part of the locale update scripts, with exceptions for foreign names that the Cyrillic spells phonetically. https://forums.zotero.org/discussion/113596/localization-serbian
22 lines
485 B
Bash
Executable file
22 lines
485 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
ROOT_DIR="$(dirname "$(dirname "$SCRIPT_DIR")")"
|
|
|
|
cd $ROOT_DIR/chrome/locale
|
|
for i in `ls -d */`; do
|
|
if [ $i = 'en-US' ]; then
|
|
continue
|
|
fi
|
|
touch ${i}zotero/zotero.json
|
|
done
|
|
|
|
cd $ROOT_DIR
|
|
tx pull -t -f -m sourceastranslation -r zotero.zoterojson
|
|
|
|
npm run localize-ftl
|
|
|
|
find $ROOT_DIR/chrome/locale -type f -name 'zotero.json' -not -path '*/en-US/*' -delete
|
|
|
|
$SCRIPT_DIR/generate_sr_latn
|