Changeset View
Standalone View
./source/tools/i18n/maintenanceTasks.sh
Context not available. | |||||
echo ":: Updating sources…" | echo ":: Updating sources…" | ||||
${VCS_UPDATE} | ${VCS_UPDATE} | ||||
# POT Generation ############################################################## | # POT Generation ############################################################## | ||||
echo ":: Regenerating the translation templates…" | echo ":: Regenerating the translation templates…" | ||||
python2 "${SCRIPT_PATH}/updateTemplates.py" | python2 "${SCRIPT_PATH}/updateTemplates.py" | ||||
vladislavbelov: Why `2` was removed only from a line below? Why not here? | |||||
PhormioAuthorUnsubmitted Not Done Inline ActionsBecause it's a Python 2 script that I didn't check for compatibility. If you care, do it yourself -- I have other differentials upcoming that are more important. Phormio: Because it's a Python 2 script that I didn't check for compatibility. If you care, do it… | |||||
vladislavbelovUnsubmitted Not Done Inline ActionsThen it's not good way to port, because now you need to have 2 versions of Python instead of 1, so I don't see profits in this case. Scripts work with python2 too. vladislavbelov: Then it's not good way to port, because now you need to have 2 versions of Python instead of 1… | |||||
PhormioAuthorUnsubmitted Not Done Inline ActionsPorting all of 0.A.D. to Python 3 isn't something I can attempt (yet), my knowledge is too poor for even an effort estimate. But at least now the script I patched works for both Python 3 and Python 2 now, so that's not a concern for this differential any more. Phormio: Porting all of 0.A.D. to Python 3 isn't something I can attempt (yet), my knowledge is too poor… | |||||
bbUnsubmitted Not Done Inline ActionsupdateTemplates depends on pology which still is python2, though there is some outdated branch lifting that to python3 https://github.com/KDE/pology/tree/python3. Could try using that upstream, but likely another patch bb: updateTemplates depends on pology which still is python2, though there is some outdated branch… | |||||
# PO Download ################################################################# | # PO Download ################################################################# | ||||
echo ":: Downloading translations from Transifex…" | echo ":: Downloading translations from Transifex…" | ||||
python2 "${SCRIPT_PATH}/pullTranslations.py" | python "${SCRIPT_PATH}/pullTranslations.py" | ||||
bbUnsubmitted Not Done Inline ActionsNot sure if we should support old (which are being nuked everywhere) or newer (not existing yet) versions. Maybe forcing python3 is good enough. bb: Not sure if we should support old (which are being nuked everywhere) or newer (not existing… | |||||
# Pre-Commit Cleanup ######################################################### | # Pre-Commit Cleanup ######################################################### | ||||
# Note: I (Gallaecio) tried using GNU parallel for this, the problem is that | # Note: I (Gallaecio) tried using GNU parallel for this, the problem is that | ||||
Context not available. |
Why 2 was removed only from a line below? Why not here?