From knight at teksavvy.com Mon Dec 3 04:08:20 2012 From: knight at teksavvy.com (Nicolas Riendeau) Date: Sun, 02 Dec 2012 23:08:20 -0500 Subject: [Mythtv-translators] Translation missed on MythWeb In-Reply-To: References: Message-ID: <50BC25B4.7080007@teksavvy.com> Hi Walter! Walter Cheuk wrote: > In the 'Video' page of MythWeb, to the right-top of the page, there is > string 'X videos', where X is a number, showing how many videos are > stored, and not translated. There is only a 'Videos' in the .lang file. It's now fixed... I regenerated the translation files so you have to update your copy of the MythWeb repo to get them ("$1 video" and "$1 videos"). Thank you! Nicolas From wwycheuk at gmail.com Fri Dec 7 01:14:29 2012 From: wwycheuk at gmail.com (Walter Cheuk) Date: Fri, 7 Dec 2012 09:14:29 +0800 Subject: [Mythtv-translators] Translation missed on MythWeb In-Reply-To: <50BC25B4.7080007@teksavvy.com> References: <50BC25B4.7080007@teksavvy.com> Message-ID: Thanks! However, either translating '$1 videos' or 'videos' do not change the string on screen. Walter 2012/12/3 Nicolas Riendeau > Hi Walter! > > > Walter Cheuk wrote: > >> In the 'Video' page of MythWeb, to the right-top of the page, there is >> string 'X videos', where X is a number, showing how many videos are >> stored, and not translated. There is only a 'Videos' in the .lang file. >> > > It's now fixed... > > I regenerated the translation files so you have to update your copy of the > MythWeb repo to get them ("$1 video" and "$1 videos"). > > Thank you! > > Nicolas > > ______________________________**_________________ > Mythtv-translators mailing list > Mythtv-translators at mythtv.org > http://www.mythtv.org/mailman/**listinfo/mythtv-translators > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wwycheuk at gmail.com Fri Dec 7 01:44:09 2012 From: wwycheuk at gmail.com (Walter Cheuk) Date: Fri, 7 Dec 2012 09:44:09 +0800 Subject: [Mythtv-translators] Translation missed on MythWeb In-Reply-To: References: <50BC25B4.7080007@teksavvy.com> Message-ID: Also, running build_translations do not update the translation files at all. 2012/12/7 Walter Cheuk > > Thanks! > > However, either translating '$1 videos' or 'videos' do not change the > string on screen. > > > Walter > > 2012/12/3 Nicolas Riendeau > >> Hi Walter! >> >> >> Walter Cheuk wrote: >> >>> In the 'Video' page of MythWeb, to the right-top of the page, there is >>> string 'X videos', where X is a number, showing how many videos are >>> stored, and not translated. There is only a 'Videos' in the .lang file. >>> >> >> It's now fixed... >> >> I regenerated the translation files so you have to update your copy of >> the MythWeb repo to get them ("$1 video" and "$1 videos"). >> >> Thank you! >> >> Nicolas >> >> ______________________________**_________________ >> Mythtv-translators mailing list >> Mythtv-translators at mythtv.org >> http://www.mythtv.org/mailman/**listinfo/mythtv-translators >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From knight at teksavvy.com Sun Dec 9 03:07:43 2012 From: knight at teksavvy.com (Nicolas Riendeau) Date: Sat, 08 Dec 2012 22:07:43 -0500 Subject: [Mythtv-translators] Translation missed on MythWeb In-Reply-To: References: <50BC25B4.7080007@teksavvy.com> Message-ID: <50C4007F.4000602@teksavvy.com> Hi Walter! On 12/6/2012 8:14 PM, Walter Cheuk wrote: > However, either translating '$1 videos' or 'videos' do not change the > string on screen. I thoroughly tested it (even more than usual since I rarely program in PHP which is what MythWeb is written in) and it works as well as I could make it work given the limitations of the translation framework used in MythWeb) so there must be a problem with your checkout or with the location where you deployed it. I only did this on master though (I'll backport it to -fixes if you can cofirm it work A-OK on your side too). > Also, running build_translations do not update the translation files at all. That's normal since I already ran it. We never run lupdate (which does a similar job for the rest of MythTV) but usually when strings are added to MythWeb the devs that add them run build_translations which I did. Are you getting any errors when you do a checkout? Could you try again with another copy of the repo? Thank you and have a nice day! Nicolas From wwycheuk at gmail.com Tue Dec 11 04:13:06 2012 From: wwycheuk at gmail.com (Walter Cheuk) Date: Tue, 11 Dec 2012 12:13:06 +0800 Subject: [Mythtv-translators] Translation missed on MythWeb In-Reply-To: <50C4007F.4000602@teksavvy.com> References: <50BC25B4.7080007@teksavvy.com> <50C4007F.4000602@teksavvy.com> Message-ID: Could I just add the two new strings to my already-translated file? BTW, the singular form seems to be not used now. It displays '0 videos' when there is no video. 2012/12/9 Nicolas Riendeau > Hi Walter! > > > On 12/6/2012 8:14 PM, Walter Cheuk wrote: > >> However, either translating '$1 videos' or 'videos' do not change the >> string on screen. >> > > I thoroughly tested it (even more than usual since I rarely program in PHP > which is what MythWeb is written in) and it works as well as I could make > it work given the limitations of the translation framework used in MythWeb) > so there must be a problem with your checkout or with the location where > you deployed it. > > I only did this on master though (I'll backport it to -fixes if you can > cofirm it work A-OK on your side too). > > > Also, running build_translations do not update the translation files at >> all. >> > > That's normal since I already ran it. We never run lupdate (which does a > similar job for the rest of MythTV) but usually when strings are added to > MythWeb the devs that add them run build_translations which I did. > > Are you getting any errors when you do a checkout? Could you try again > with another copy of the repo? > > Thank you and have a nice day! > > > Nicolas > ______________________________**_________________ > Mythtv-translators mailing list > Mythtv-translators at mythtv.org > http://www.mythtv.org/mailman/**listinfo/mythtv-translators > -------------- next part -------------- An HTML attachment was scrubbed... URL: From knight at teksavvy.com Thu Dec 13 12:43:58 2012 From: knight at teksavvy.com (Nicolas Riendeau) Date: Thu, 13 Dec 2012 07:43:58 -0500 Subject: [Mythtv-translators] Translation missed on MythWeb In-Reply-To: References: <50BC25B4.7080007@teksavvy.com> <50C4007F.4000602@teksavvy.com> Message-ID: <50C9CD8E.1030104@teksavvy.com> Hi Walter! Walter Cheuk wrote: > Could I just add the two new strings to my already-translated file? BTW, You could but the safest way (and most likely to work) way to update your file would be to check out a new copy of the git repository, copy your updated translation file over the one in that copy and run build_translation. Something like git clone git://github.com/MythTV/mythweb.git mythweb-copy (that will checkout a copy of the repo in the mythweb-copy directory) then copy (cp) from the directory where you have your updated translation over the same file in mythweb-copy and finally run build_translation. (That way of updating translation files is pretty similar to the one we use for one of the translations I work on. The files are kept separate from the checkout of the git repository and are only copied in one when we want to update them.) > the singular form seems to be not used now. It displays '0 videos' when > there is no video. It sounds like you don't have the latest version. I initially added "%1 video" and "%1 videos" but when I noticed how it was handling no videos (it though it was plural) I added "No videos". Keep me posted... Have a nice day! Nicolas From wwycheuk at gmail.com Fri Dec 14 08:54:55 2012 From: wwycheuk at gmail.com (Walter Cheuk) Date: Fri, 14 Dec 2012 16:54:55 +0800 Subject: [Mythtv-translators] Translation missed on MythWeb In-Reply-To: <50C9CD8E.1030104@teksavvy.com> References: <50BC25B4.7080007@teksavvy.com> <50C4007F.4000602@teksavvy.com> <50C9CD8E.1030104@teksavvy.com> Message-ID: Thank you so much. There is one more thing not translated: 'No TV Configured' and the texts below shown on the front page when no TV tuner is configured. 2012/12/13 Nicolas Riendeau > Hi Walter! > > Walter Cheuk wrote: > >> Could I just add the two new strings to my already-translated file? BTW, >> > > You could but the safest way (and most likely to work) way to update your > file would be to check out a new copy of the git repository, copy your > updated translation file over the one in that copy and run > build_translation. > > Something like > > git clone git://github.com/MythTV/**mythweb.gitmythweb-copy > > (that will checkout a copy of the repo in the mythweb-copy directory) > > then copy (cp) from the directory where you have your updated translation > over the same file in mythweb-copy and finally run build_translation. > > (That way of updating translation files is pretty similar to the one we > use for one of the translations I work on. The files are kept separate from > the checkout of the git repository and are only copied in one when we want > to update them.) > > > the singular form seems to be not used now. It displays '0 videos' when >> there is no video. >> > > It sounds like you don't have the latest version. > > I initially added "%1 video" and "%1 videos" but when I noticed how it was > handling no videos (it though it was plural) I added "No videos". > > Keep me posted... > > > Have a nice day! > > Nicolas > > ______________________________**_________________ > Mythtv-translators mailing list > Mythtv-translators at mythtv.org > http://www.mythtv.org/mailman/**listinfo/mythtv-translators > -------------- next part -------------- An HTML attachment was scrubbed... URL: