Dash-to-dock: The translation of dash to dock is not complete.

Created on 8 Oct 2019  Â·  21Comments  Â·  Source: micheleg/dash-to-dock

How to translate it?

question

Most helpful comment

1 Fork this repo:
obraz

2 Clone to your computer from your repository - git clone ...
obraz

3 Go to cloned folder and:
3.1 create new branch
3.2 switch to new branch
Now you cane make changes (it is very good practice for you, when you do something new = new branch)
obraz

4 make potfile (https://micheleg.github.io/dash-to-dock/localization.html)
I have a problem here. If you have the problem here too, please create new issue and notify me (I will reproduce this bug)
5 Open PO file of your language in poedit or Gtranslator (and find the "Update from POT File" option)
obraz

6 Translate it and save changes.
7 In terminal: git status to check changes
obraz

8 Add new file (git add filepath/file)
obraz

9 Git commit, describe your changes, CTRL + S to save and then CTRL + X to exit
obraz

10 Now call command "git push" to push your changes to your repo but because you create new branch, first time you must use "git push --set-upstream origin yourbranch" See screenshot.
obraz

11 Go to your profile on GitHub and make pull request:
obraz
and
obraz

All 21 comments

https://micheleg.github.io/dash-to-dock/localization.html

I will help you if you need more information.

@micheleg @pyroxar Would you update the translation?
zh_TW.zip
However, I still can't find the "Mount" "Unmount" "Trash" or "Empty Trash" in the po file.

@laichiaheng did you generate new pot file and then update your po file?

1 Fork this repo:
obraz

2 Clone to your computer from your repository - git clone ...
obraz

3 Go to cloned folder and:
3.1 create new branch
3.2 switch to new branch
Now you cane make changes (it is very good practice for you, when you do something new = new branch)
obraz

4 make potfile (https://micheleg.github.io/dash-to-dock/localization.html)
I have a problem here. If you have the problem here too, please create new issue and notify me (I will reproduce this bug)
5 Open PO file of your language in poedit or Gtranslator (and find the "Update from POT File" option)
obraz

6 Translate it and save changes.
7 In terminal: git status to check changes
obraz

8 Add new file (git add filepath/file)
obraz

9 Git commit, describe your changes, CTRL + S to save and then CTRL + X to exit
obraz

10 Now call command "git push" to push your changes to your repo but because you create new branch, first time you must use "git push --set-upstream origin yourbranch" See screenshot.
obraz

11 Go to your profile on GitHub and make pull request:
obraz
and
obraz

@pyroxar Done. https://github.com/micheleg/dash-to-dock/pull/1013
But I still don't see the "Trash", "Empty Trash", "Mount", "Unmount" in the po file.
2019-10-10 12-22-12 的螢幕擷圖
2019-10-10 12-23-03 的螢幕擷圖
2019-10-10 12-23-47 的螢幕擷圖

@laichiaheng did you can use "make potfile" command? If you can't, please make new issue about this.

You must have 'intltool'.
'apt install intltool' works for me.
Make completely new pot file (delete old and make the command ' make potfile).
Now you should have new translations (after update your po file from pot file, see above)
image

When you do it, make new pull request and i will review your changes and you will review my changes, ok? :)
https://github.com/micheleg/dash-to-dock/pull/1014 <~ Here is mine

image
image

@pyroxar It does this:

mkdir -p po
xgettext -k --keyword=__ --keyword=N__ --add-comments='Translators:' -o po/dashtodock.pot --package-name "Dash to Dock" prefs.js appIcons.js locations.js
intltool-extract --type=gettext/glade Settings.ui
Generating C format header file for translation.
Wrote Settings.ui.h
xgettext -k --keyword=_ --keyword=N_ --join-existing -o po/dashtodock.pot Settings.ui.h

I have removed the po directory and run make potfile, I still don't see the Trash in the options.

Delete only pot file, not po directory.

Open your po file in poedit and update (from pot file, "Catalogue > Update...")

Delete only pot file, not po directory.

Open your po file in poedit and update (from pot file, "Catalogue > Update...")

Yes, I have done that, but still no "Trash" and "Empty Trash" in the options.
2019-10-10 18-31-54 的螢幕擷圖

I don't know this second command, use your program to update po file form pot file.

I don't know this second command, use your program to update po file form pot file.

2019-10-10 18-34-09 的螢幕擷圖
2019-10-10 18-35-37 的螢幕擷圖

2019-10-10 18-30-09 的螢幕擷圖

Which version you have?
image

I update the file, use it:
https://send.firefox.com/download/e844ab5a33d3cff2/#49cKq2pVjVoMAYo4B4_zZA

image

@pyroxar
It's from the Manjaro repository.
2019-10-10 19-33-23 的螢幕擷圖
Thanks for the file!! Love you!

Which version you have?
image

I update the file, use it:
https://send.firefox.com/download/e844ab5a33d3cff2/#49cKq2pVjVoMAYo4B4_zZA

Could you share it again? I have lost the file.

OK
zh_TW.po.zip

Thanks!
I have a question, what situation will the "Eject" be used?

I suspect that eject is when you disconnect your device, unmount when you unmount volume.
https://en.wikipedia.org/wiki/Volume_(computing)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DmitryAstafyev picture DmitryAstafyev  Â·  6Comments

wotmshuaisi picture wotmshuaisi  Â·  3Comments

Feichtmeier picture Feichtmeier  Â·  4Comments

kauanmocelin picture kauanmocelin  Â·  3Comments

nana-4 picture nana-4  Â·  3Comments