[Yahoo-eng-team] [Bug 1556887] Re: Themes setting is not translated

2017-02-05 Thread Ian Y. Choi
Thanks a lot for the comment with Chinese details, Alex!

** Changed in: openstack-i18n
   Status: Fix Committed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1556887

Title:
  Themes setting is not translated

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in openstack i18n:
  Invalid

Bug description:
  The theme string should be translated. The screen shot is attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1556887/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1661454] Re: Inadequate Japanese translation for "Browse" on App Catalog tab

2017-02-02 Thread Ian Y. Choi
** Tags added: i18n

** Also affects: openstack-i18n
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1661454

Title:
  Inadequate Japanese translation for "Browse" on App Catalog tab

Status in OpenStack Dashboard (Horizon):
  New
Status in openstack i18n:
  New

Bug description:
  Japanese translation for "Browse" is not adequate for this context. It
  is currently translated into 探索, but it should be 参照 or ブラウズ, but
  unable to locate the string from Zanata

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1661454/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1630507] [NEW] Different use of args in ungettext_lazy causes error on syncing with translation infra

2016-10-05 Thread Ian Y. Choi
Public bug reported:

In
http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py#n214
,

If we look at strings for singular and plural on ungettext_lazy(),
singular string uses only "%(avail)i" arg,
and plural string uses both "%(req)i" and "%(avail)i" args.

In Zanata (translation platform), currently, po files on some languages
are saved if the languages are set to just use singular form.

#: 
openstack_dashboard/dashboards/project/instances/workflows/create_instance.py:214
#, python-format
msgid ""
"The requested instance cannot be launched as you only have %(avail)i of your "
"quota available. "
msgid_plural ""
"The requested %(req)i instances cannot be launched as you only have "
"%(avail)i of your quota available."
msgstr[0] ""
"The requested instance cannot be launched as you only have %(avail)i of your "
"quota available. "

This generates an error when msgfmt command is executed:

$ msgfmt --check-format -o /dev/null django.po
django.po:10766: a format specification for argument 'req' doesn't exist in 
'msgstr[0]'
msgfmt: found 1 fatal error

Because of this occurrence, there have been job failures for Korean and 
Indonesian language
to import translated strings to Horizon git repository.

The current solution would be to add "%(req)i" argument on the singular
string.


Reference
[1] 
http://lists.openstack.org/pipermail/openstack-dev/2016-September/103941.html
[2] http://lists.openstack.org/pipermail/openstack-i18n/2016-October/002476.html

** Affects: horizon
 Importance: Undecided
 Status: New


** Tags: i18n in-stable-newton newton-backport-potential

** Description changed:

  In
  
http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py#n214
  ,
  
  If we look at strings for singular and plural on ungettext_lazy(),
  singular string uses only "%(avail)i" arg,
  and plural string uses both "%(req)i" and "%(avail)i" args.
  
  In Zanata (translation platform), currently, po files on some languages
  are saved if the languages are set to just use singular form.
  
  #: 
openstack_dashboard/dashboards/project/instances/workflows/create_instance.py:214
  #, python-format
  msgid ""
  "The requested instance cannot be launched as you only have %(avail)i of your 
"
  "quota available. "
  msgid_plural ""
  "The requested %(req)i instances cannot be launched as you only have "
  "%(avail)i of your quota available."
  msgstr[0] ""
  "The requested instance cannot be launched as you only have %(avail)i of your 
"
  "quota available. "
  
  This generates an error when msgfmt command is executed:
  
- $ msgfmt --check-format -o /dev/null django.po 
+ $ msgfmt --check-format -o /dev/null django.po
  django.po:10766: a format specification for argument 'req' doesn't exist in 
'msgstr[0]'
  msgfmt: found 1 fatal error
  
  Because of this occurrence, there have been job failures for Korean and 
Indonesian language
  to import translated strings to Horizon git repository.
  
  The current solution would be to add "%(req)i" argument on the singular
  string.
+ 
+ 
+ Reference
+ [1] 
http://lists.openstack.org/pipermail/openstack-dev/2016-September/103941.html
+ [2] 
http://lists.openstack.org/pipermail/openstack-i18n/2016-October/002476.html

** Tags added: in-stable-newton newton-backport-potential

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1630507

Title:
  Different use of args in ungettext_lazy causes error on syncing with
  translation infra

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In
  
http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py#n214
  ,

  If we look at strings for singular and plural on ungettext_lazy(),
  singular string uses only "%(avail)i" arg,
  and plural string uses both "%(req)i" and "%(avail)i" args.

  In Zanata (translation platform), currently, po files on some
  languages are saved if the languages are set to just use singular
  form.

  #: 
openstack_dashboard/dashboards/project/instances/workflows/create_instance.py:214
  #, python-format
  msgid ""
  "The requested instance cannot be launched as you only have %(avail)i of your 
"
  "quota available. "
  msgid_plural ""
  "The requested %(req)i instances cannot be launched as you only have "
  "%(avail)i of your quota available."
  msgstr[0] ""
  "The requested instance cannot be launched as you only have %(avail)i of your 
"
  "quota available. "

  This generates an error when msgfmt command is executed:

  $ msgfmt --check-format -o /dev/null django.po
  django.po:10766: a format specification for argument 'req' doesn't exist in 
'msgstr[0]'
  msgfmt: found 1 fatal error

  Because of this occurrence, there have been job 

[Yahoo-eng-team] [Bug 1619847] [NEW] A typo in Horizon and source code in developer.o.o doc

2016-09-02 Thread Ian Y. Choi
Public bug reported:

In
http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/admin/floating_ips/views.py#n119
,

Line 119,  "msg = _('Unknow resource type for detail API.')"
: "Unknow" is typo. It should be changed to "Unknown".

I am not sure whether the source code in following developer
documentation page automatically links to the original source code or
not. If not, please consider it.

In
http://docs.openstack.org/developer/horizon/_modules/openstack_dashboard/dashboards/admin/floating_ips/views.html
,

"msg = _('Unknow resource type for detail API.') "

** Affects: horizon
 Importance: Undecided
 Status: New


** Tags: low-hanging-fruit

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1619847

Title:
  A typo in Horizon and source code in developer.o.o doc

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In
  
http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/admin/floating_ips/views.py#n119
  ,

  Line 119,  "msg = _('Unknow resource type for detail API.')"
  : "Unknow" is typo. It should be changed to "Unknown".

  I am not sure whether the source code in following developer
  documentation page automatically links to the original source code or
  not. If not, please consider it.

  In
  
http://docs.openstack.org/developer/horizon/_modules/openstack_dashboard/dashboards/admin/floating_ips/views.html
  ,

  "msg = _('Unknow resource type for detail API.') "

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1619847/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp