From 04c099439f5d99934283cfce718819914c8f1ad1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Jan 15 2020 19:53:10 +0000 Subject: we are not using Zanata anymore --- diff --git a/README.md b/README.md index 3c04a66..710c09f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,10 @@ can easily file Pull Requests. Fork this repository, make your changes and submit them here. Check of the [Fedora Websites wiki](https://fedoraproject.org/wiki/Websites#Join_the_Websites_Team) for details on how to become a member of the websites team. -Translations are handled by the Fedora [localization team](https://fedoraproject.org/wiki/L10N) on [Zanata](https://fedora.zanata.org/project/view/fedora-web). +Translations are handled by the Fedora [localization team](https://fedoraproject.org/wiki/L10N) on [Fedora Weblate](https://translate.stg.fedoraproject.org/projects/fedora-websites/). + +[![Translation status](https://translate.stg.fedoraproject.org/widgets/abrt/-/287x66-white.png)](https://translate.stg.fedoraproject.org/engage/abrt/?utm_source=widget) + ### Websites This repository contains the sources for the following Fedora Websites: diff --git a/docs/source/websites_release.rst b/docs/source/websites_release.rst index 8b5e7e8..a4b00f8 100644 --- a/docs/source/websites_release.rst +++ b/docs/source/websites_release.rst @@ -145,8 +145,8 @@ Update website for Alpha release * Update Alpha Image sizes and pre_cloud_composedate in ``./build.d/globalvar.py``. Verify they are right in Cloud images and Docker image. -* Update the new POT files and push them to Zanata (ask a maintainer to do - so) every time you change text strings. +* Update the new POT files and push them to translation repository every time + you change text strings. * Add this build to stg.fedoraproject.org (ansible syncStatic.sh.stg) to test the pages online. @@ -222,8 +222,8 @@ Update website for Beta release * Update Beta Image sizes and pre_cloud_composedate in ``./build.d/globalvar.py``. Verify they are right in Cloud images and Docker image. -* Update the new POT files and push them to Zanata (ask a maintainer to do - so) every time you change text strings. +* Update the new POT files and push them to translation repository every time + you change text strings. * Add this build to stg.fedoraproject.org (ansible syncStatic.sh.stg) to test the pages online. @@ -298,8 +298,8 @@ Update website for GA * Update static/js/checksum.js and check if the paths and checksum still match. -* Update the new POT files and push them to Zanata (ask a maintainer to do - so) every time you change text strings. +* Update the new POT files and push them to translation repository every time + you change text strings. * Add this build to stg.fedoraproject.org (ansible syncStatic.sh.stg) to test the pages online. @@ -351,4 +351,4 @@ Tips $ git merge f23-beta $ git checkout --theirs f23-beta [list of conflicting po files] - $ git commit \ No newline at end of file + $ git commit diff --git a/tools/l10N_update.sh b/tools/l10N_update.sh index 08738fd..570694f 100755 --- a/tools/l10N_update.sh +++ b/tools/l10N_update.sh @@ -1,5 +1,5 @@ #!/bin/bash -# this script pull all translations to transifex, +# this script pull all translations to tranlation repository, # make an new POT and push it if asked, # and then fill the LINGUAS file @@ -20,7 +20,7 @@ cat << EOF usage: $0 [OPTIONS] [-w WEBSITE_PATH] This script update all L10n things. Will never git push. - * pull translations from transifex against WEBSITE_PATH in current branch + * pull translations from translation repository against WEBSITE_PATH in current branch * make new POT in WEBSITE_PATH * update the LINGUAS file in WEBSITE_PATH @@ -28,7 +28,7 @@ OPTIONS: -h Show this message -a Git add all -c With -a, git commit with default message (POs, POT and LINGUAS in different commits) - -p With -c make pushpot (update POT on transifex.net) + -p With -c make pushpot (update POT on tranlation repository) WEBSITE: The website targeted (like "fedoraproject.org") @@ -39,8 +39,8 @@ EXAMPLES: $ $0 -a -w ../spins.fedoraproject.org (2) $ $0 -a -c -p (3) - 1. Update all but let you git add and push to transifex.net. (Takes time but let you do the job). - 2. Update POs POT and LINGUAS of spins.fedoraproject.org website. Let you commit and push (git/transifex). + 1. Update all but let you git add and push to tranlation repository. + 2. Update POs POT and LINGUAS of spins.fedoraproject.org website. Let you test localy. 3. Update all and commit changes in 3 different commits. That's what you were looking for. EOF @@ -60,7 +60,7 @@ do COMMIT=1 ;; p) - TXN_PUSH=1 + POT_PUSH=1 ;; w) WEBSITE=$OPTARG @@ -124,7 +124,7 @@ do if [ ! -z $ADD ] then git add po/*.pot - if [ ! -z $TXN_PUSH ] && [ ! -z $COMMIT ] + if [ ! -z $POT_PUSH ] && [ ! -z $COMMIT ] then make pushpot fi