Comments (9)
May you look to 6e5171d. It will be ok?
from lxqt-appswitcher.
Mnemonics are working exactly as expected now.
I just think it would be good if you updated ./config/translations/lxqt-config-appswitcher.ts
accordingly.
This would make translators consider them while translating and at the same time suppress some unnecessary error messages of Qt Linguist which result from adding mnemonics in translations right now.
from lxqt-appswitcher.
Yes, i decide to commit common things before *.ts. If something was wrong. :)
from lxqt-appswitcher.
Yes, i decide to commit common things before *.ts. If something was wrong
That makes sense.
from lxqt-appswitcher.
I've updated translations. But one problem, cannot solve it yet (maybe local). Strings with & not shown translated.
from lxqt-appswitcher.
String &
which is used to mark the mnemonics needs to be included in the translated strings as well, e. g. something like Max &položek k zobrazení
.
The TS files currently available still feature tag type="unfinished"
besides the corresponding strings have already been translated. This ought to be fixed.
Qt Linguist marks errors like that and makes them easy to discover and fix, see also.
To my knowledge it's common practice to add &
not in template file *.ts
in the directories comprising the translated TS files *_foo.ts
but primarily in the source code.
E. g. compare https://github.com/lxde/obconf-qt/blob/e21185158924856a3456400b05df066bcc7fb784/src/obconf.ui#l120 with https://github.com/lxde/obconf-qt/blob/e21185158924856a3456400b05df066bcc7fb784/src/translations/obconf-qt.ts#l82 (sure enough the wrong source code file is referenced in obconf-qt.ts
but the concept applies nevertheless). Once included in the source code strings &
are transferred to the template TS file *.ts
when the latter gets generated automatically by running lupdate
or whatever. String &
has nevertheless to be added to the translated strings manually as stated above after the template TS file gets copied to the language specific files *_foo.ts
and these get edited.
My knowledge of all that stuff is rather superficial, though.
from lxqt-appswitcher.
Thank you. It was my installation error. :)
from lxqt-appswitcher.
So, how are you with translations? It's ok? Close this issue? :)
from lxqt-appswitcher.
Regarding the source code and the template TS files lxqt-appswitcher.ts
and lxqt-config-appswitcher.ts
everything is alright as far as I can tell.
German translation proposed in #9 works as expected.
Regarding the preexisting Czech and Russian translations the problems stated in the first two paragraphs of my previous comment persist. Due to the first one mnemonics aren't available using these translations, the second one makes tools like Qt Linguist throw superfluous warnings. Your mileage may vary.
But no matter whether or not you decide to adjust those two preexisting translations this issue can now indeed be considered fixed, yes.
from lxqt-appswitcher.
Related Issues (17)
- sudo make install does not work HOT 1
- Setting "Filter by desktop" excludes windows displayed on all virtual desktops from LXQt Application Swticher HOT 3
- Support for styling HOT 1
- Licensing HOT 1
- build in docker HOT 1
- kwin not supported HOT 3
- Adding appswitcher to LXQt-weblate? HOT 4
- Release HOT 5
- Portuguese translation HOT 1
- Theme changes are not working
- several mixed findings HOT 5
- no configuration possible HOT 1
- Fix some warnings HOT 3
- Selecting applications on different virtual desktops not working as expected with Openbox and Xfwm HOT 10
- Usage on virtual desktop without windows triggers crash HOT 2
- GUI: maximum text length and font size HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lxqt-appswitcher.