Hi Reto, the easiest way would be to post your translation here, and I'll add it to the repo. Likewise, I'm designing a very simple way to contribute to the core translations, presumably it will be a template google sheet with two columns: original string in English and a place for translation. I've updated ru translation and en template from 2.6.0 to 2.9.1 quite quickly (will do to 2.9.4), and updating those in other languages will be a matter of, like, 10 strings or so, so such google sheets should be a very simple way to contribute to updating.
Also, recently I've found the
github.dev functionality which I'd like to explore and probably explain to others as it also simplifies the contribution flow. The main bonus is – it allows to contribute solely in browser, without even git installed (but this still requires a Github account). I've already contributed to a couple of repos this way, it's very convenient, but I know VS Code and GitHub well – for others, some instructions are probably needed. If you want to play around with it, try this:
- navigate to a file you'd like to contribute to, like https://github.com/TiddlyWiki/translations/blob/master/locales/core/de/locale.de.js
- substitute github.com with github.dev in url, i.e.
https://github.dev/TiddlyWiki/translations/blob/master/locales/core/de/locale.de.js
- edit the file, for instance apply changes for 2.6.3 from here (I've added links to example updates)
- open the version control on the left sidebar
(can be done by pressing Ctrl + Shift + G)
-
press "+"
for
the changed
file
to
stage
it (you can also review the change by clicking the file in there)
- enter the commit message into the input above, like "feature: update German (de) translation to 2.6.4" (since 2.6.4 has no changes in lingo, it's an update to both 2.6.3 and 2.6.4) and press the button ("Commit & Push" in English)
- TODO: I should retest this, but at this point, you'll be probably asked to create a fork if you don't have an access to the repo, agree with this; after the change is applied, you'll have to create a pull request by opening your fork repo (will probably have url like github.com/yourName/translations) and pressing the button in the suggestion to create a PR dialog on the top of the repo.
And yes, you can use this method to add files, too, just open any file first, and add files/folders in the Explorer (Ctrl + Shirt + E) via context menu or the New file/New folder buttons and dragging it to the desired location if you create it in a wrong one.
I'm attaching a quick screencast to illustrate steps 1-6. (TODO: create a screencast for 7, upload to YouTube)
четверг, 31 августа 2023 г. в 15:38:37 UTC+3, Reto: