milossramek / translation-scripts Goto Github PK
View Code? Open in Web Editor NEWMostly Python scripts to speed up localization and translation
License: GNU General Public License v3.0
Mostly Python scripts to speed up localization and translation
License: GNU General Public License v3.0
I have this results when trying to follow instruction for dialogtrans.py
tdf@tdf-dev:~/screenshots$ ./potrans.py -p ui down
Getting 157 subprojects for libo_ui-master:
20/157 https://translations.documentfoundation.org/api/projects/libo_ui-master/components/?page=2
40/157 https://translations.documentfoundation.org/api/projects/libo_ui-master/components/?page=3
60/157 https://translations.documentfoundation.org/api/projects/libo_ui-master/components/?page=4
80/157 https://translations.documentfoundation.org/api/projects/libo_ui-master/components/?page=5
100/157 https://translations.documentfoundation.org/api/projects/libo_ui-master/components/?page=6
120/157 https://translations.documentfoundation.org/api/projects/libo_ui-master/components/?page=7
140/157 https://translations.documentfoundation.org/api/projects/libo_ui-master/components/?page=8
Downloading list of translation files
Getting metadata for https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/
request_get: Command failed (Not found. https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/)
Getting metadata for https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/
request_get: Command failed (Not found. https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/)
Getting metadata for https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/
request_get: Command failed (Not found. https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/)
Getting metadata for https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/
request_get: Command failed (Not found. https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/)
Getting metadata for https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/
request_get: Command failed (Not found. https://translations.documentfoundation.org/api/translations/libo_ui-master/instsetoo_nativeinc_openofficewindowsmsi_languages/pt-BR/)
Traceback (most recent call last):
File "/home/tdf/screenshots/./potrans.py", line 1326, in
main()
File "/home/tdf/screenshots/./potrans.py", line 1186, in main
download_subproject_file_list(projects[trans_project], lang)
File "/home/tdf/screenshots/./potrans.py", line 228, in download_subproject_file_list
filename = path.join(project_name, translations['filename'])
TypeError: string indices must be integers
If you suspect this is an IPython 7.20.0 bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at [email protected]
You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.