![]() |
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
Quote:
I haven't used Qt translations before, so I was unaware (until late last night, when I found a Meego Wiki entry) of having to load the translation in the main.cpp file. According to the documentation on QML internationalisation, the QML runtime should find the .qm files automatically, so it seems that they missed out some vital info. :/ Introduction The QML runtime automatically loads a translation from the i18n subdirectory of the root QML file, based on the system language. The translations are held in QM files that must be generated from TS files. It should be fairly easy to make translation optional, but it may require a restart of the application for any changes to take effect. |
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
http://warmi.net/docs/qt_4.6.3/html/tools-i18n.html
This is a nice example of translations with doesn't require code changing to include new translations. From my experience translated files are not seen if their names are different from appname.LANGUAGECODE.qm . To automatically change language I code like this: Code:
#include <QApplication>QML version of cuteTube rules. |
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
1 Attachment(s)
I have overworked the translation files. Now almost everything is in proper german ;)
But I noticed some parts that aren't translated. They are not in the .ts file. http://img833.imageshack.us/img833/8...1041614201.png http://img231.imageshack.us/img231/4...1041614203.png http://img855.imageshack.us/img855/9...1041614212.png That qmltube is really of the hook! |
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
Thanks. :) I'll include your amendments in the next release. I was concerned about marking some of the settings-related strings for translation, incase it messed up the database. I'll add them and do some testing to ensure they are safe. There are also some C++ strings that need to be marked.
|
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
Not sure if this happened to everyone but i can't click on comments and related videos to view them? This is the latest update
|
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
imo people reporting bugs should state if they are running cssu.
|
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
@marxian
are you still continuing the development of the older cutetube or are you moving on now with this one? so i can uninstall the older one... |
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
I have installed successfully, even updated recently, logged successfully but nothing is working for me. Clicking on any of the icons results in "No Videos" message. I have CSSU, I also have original Cutetube installed. Is that an issue?
|
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
Quote:
Quote:
Quote:
Code:
run-standalone.sh /opt/usr/bin/qmltube |
Re: [ANNOUNCE] cuteTube-QML - A feature-rich YouTube client
Quote:
|
| All times are GMT. The time now is 06:39. |
vBulletin® Version 3.8.8