From 90b31a0759f523c76c3bdfe9d89a2855e3d93f8d Mon Sep 17 00:00:00 2001 From: patogit Date: Thu, 24 May 2018 19:20:24 -0500 Subject: [PATCH] created two new files explaining how to do things --- LibreMesh-cooking-and-testing.md | 9 +++++++ how-to-translatewikinet-libremesh.md | 37 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 LibreMesh-cooking-and-testing.md create mode 100644 how-to-translatewikinet-libremesh.md diff --git a/LibreMesh-cooking-and-testing.md b/LibreMesh-cooking-and-testing.md new file mode 100644 index 0000000..003b096 --- /dev/null +++ b/LibreMesh-cooking-and-testing.md @@ -0,0 +1,9 @@ +* LibreMesh cooking and testing +** cook with Docker +sudo systemctl start docker +sudo docker run -v "$(pwd)":/app cooker -- +** test on VM +first, install virt-manager virt-bootstrap (Arch/Manjaro) + +sudo systemctl start libvirtd virtlogd + diff --git a/how-to-translatewikinet-libremesh.md b/how-to-translatewikinet-libremesh.md new file mode 100644 index 0000000..4ff4ef3 --- /dev/null +++ b/how-to-translatewikinet-libremesh.md @@ -0,0 +1,37 @@ +* translatewiki.net process +** general +1) Write code, interface created or modified, new strings created. +2) Run script to generate .pot or .json files in libremesh repo, and commit these changes to the appropriate branch: + - lime-packages = develop + - lime-app = develop + - chef = master +3) Patrick gets those changes into the translation-bridge repo by running these commands on his computer (maybe there's a way to automate this with hooks?): + 1. cd ~/Documents/GitHub-translation-bridge/lime-app [or lime-packages or chef] + 2. git status [make sure I'm in the correct branch] + - lime-packages = feature/tw-translations + - lime-app = issue-119 + - chef = master + 3. git fetch upstream + 4. git rebase upstream/develop + 5. git push origin +4) translatewiki.net pulls in .pot and .json files from the translation-bridge repo from the appropriate branches (in "git status" above) +5) People translate into new and/or existing languages. +6) translatewiki.net pushes to the appropriate branches in the translatio-bridge repo, every Monday and Thursday. +7) Patrick submits a pull request to the libremesh repo. +8) Someone merges the new translations into the libremesh repo. +9) If there was a new language added, then we add that language to selection menus: + - lime-packages a.k.a. LuCI interface + 1. file ? + - lime-app, nothing to do, language is not selectable + - chef + 1. file chef.html + 2. the lines following this line create the language menu + -