Mailing List Archive

Translation missed on MythWeb
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.


Regards,
Walter Cheuk
Re: Translation missed on MythWeb [ In reply to ]
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@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-translators
Re: Translation missed on MythWeb [ In reply to ]
Thanks!

However, either translating '$1 videos' or 'videos' do not change the
string on screen.


Walter

2012/12/3 Nicolas Riendeau <knight@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
>
> ______________________________**_________________
> Mythtv-translators mailing list
> Mythtv-translators@mythtv.org
> http://www.mythtv.org/mailman/**listinfo/mythtv-translators<http://www.mythtv.org/mailman/listinfo/mythtv-translators>
>
Re: Translation missed on MythWeb [ In reply to ]
Also, running build_translations do not update the translation files at all.


2012/12/7 Walter Cheuk <wwycheuk@gmail.com>

>
> Thanks!
>
> However, either translating '$1 videos' or 'videos' do not change the
> string on screen.
>
>
> Walter
>
> 2012/12/3 Nicolas Riendeau <knight@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
>>
>> ______________________________**_________________
>> Mythtv-translators mailing list
>> Mythtv-translators@mythtv.org
>> http://www.mythtv.org/mailman/**listinfo/mythtv-translators<http://www.mythtv.org/mailman/listinfo/mythtv-translators>
>>
>
>
Re: Translation missed on MythWeb [ In reply to ]
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@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-translators
Re: Translation missed on MythWeb [ In reply to ]
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 <knight@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
> ______________________________**_________________
> Mythtv-translators mailing list
> Mythtv-translators@mythtv.org
> http://www.mythtv.org/mailman/**listinfo/mythtv-translators<http://www.mythtv.org/mailman/listinfo/mythtv-translators>
>
Re: Translation missed on MythWeb [ In reply to ]
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

_______________________________________________
Mythtv-translators mailing list
Mythtv-translators@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-translators
Re: Translation missed on MythWeb [ In reply to ]
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 <knight@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<http://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
>
> ______________________________**_________________
> Mythtv-translators mailing list
> Mythtv-translators@mythtv.org
> http://www.mythtv.org/mailman/**listinfo/mythtv-translators<http://www.mythtv.org/mailman/listinfo/mythtv-translators>
>
Re: Translation missed on MythWeb [ In reply to ]
Hi Nicolas,

Are you going to add this to the .lang file? Thank you.


2012/12/14 Walter Cheuk <wwycheuk@gmail.com>

> 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 <knight@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<http://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
>>
>> ______________________________**_________________
>> Mythtv-translators mailing list
>> Mythtv-translators@mythtv.org
>> http://www.mythtv.org/mailman/**listinfo/mythtv-translators<http://www.mythtv.org/mailman/listinfo/mythtv-translators>
>>
>
>
Re: Translation missed on MythWeb [ In reply to ]
On 1/31/2013 3:18 AM, Walter Cheuk wrote:
> Hi Nicolas,
>
> Are you going to add this to the .lang file? Thank you.
>

Hi Walter!

I'm sorry, it looks like I missed this one...

I'll do it ASAP...

Thank you!

Nicolas



_______________________________________________
Mythtv-translators mailing list
Mythtv-translators@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-translators
Re: Translation missed on MythWeb [ In reply to ]
Thank you so much!


2013/1/31 Nicolas Riendeau <knight@teksavvy.com>

> On 1/31/2013 3:18 AM, Walter Cheuk wrote:
>
>> Hi Nicolas,
>>
>> Are you going to add this to the .lang file? Thank you.
>>
>>
> Hi Walter!
>
> I'm sorry, it looks like I missed this one...
>
> I'll do it ASAP...
>
> Thank you!
>
>
> Nicolas
>
>
>
> ______________________________**_________________
> Mythtv-translators mailing list
> Mythtv-translators@mythtv.org
> http://www.mythtv.org/mailman/**listinfo/mythtv-translators<http://www.mythtv.org/mailman/listinfo/mythtv-translators>
>
Re: Translation missed on MythWeb [ In reply to ]
Hi Walter!

On 12/14/2012 3:54 AM, Walter Cheuk wrote:
> 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.

It is now fixed...

There are now 3 new translatable strings:

- "No TV configured!"

- NO_TV_CONFIGURED_NOTICE_1 which is translated in the same way the
lockdown notice is (ie the text you must translate this to is in the US
English translation).

The current text for this is: "MythTV is intended to run with TV
settings configured. Your installation does not appear to have been
fully configured for TV viewing (there are no channels). If you intend
to use MythTV's TV functionality, please finish configuration via
mythtv-setup before using MythWeb."

- NO_TV_CONFIGURED_NOTICE_2. Same as above, its current text is:
"MythWeb is capable of functioning without TV settings, but so much of
its interface is designed to make the TV process as smooth as possible
that you will likely find many nonfunctional links to TV functionality.
Don't be surprised to find &quot;unknown module&quot; messages when
you follow links."

I have moved the location where these strings are displayed because they
weren't being displayed correctly in the space allowed.

Thank you and have a nice day!

Nicolas


_______________________________________________
Mythtv-translators mailing list
Mythtv-translators@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-translators