← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1648743] [NEW] help text formatting, line breaks and spaces

 

Public bug reported:

I read 
https://bugs.launchpad.net/horizon/+bug/1583757
and probably this bug is redundant, I however don't see this fixed for the following:

horizon/openstack_dashboard/dashboards/project/static/dashboard/project/containers
/create-container-modal.html

contains a text block

        <p translate>
          A container is a storage compartment for your data and provides a way
          for you to organize your data. You can think of a container as a
          folder in Windows&reg; or a directory in UNIX&reg;. The primary difference
          between a container and these other file system concepts is that
          containers cannot be nested. You can, however, create an unlimited
          number of containers within your account. Data must be stored in a
          container so you must have at least one container defined in your
          account prior to uploading data.
        </p>

that apparently gets converted into

horizon/openstack_dashboard/locale/de/LC_MESSAGES/djangojs.po

msgid ""
"A container is a storage compartment for your data and provides a way\n"
"          for you to organize your data. You can think of a container as a\n"
"          folder in Windows® or a directory in UNIX®. The primary "
"difference\n"
"          between a container and these other file system concepts is that\n"
"          containers cannot be nested. You can, however, create an "
"unlimited\n"
"          number of containers within your account. Data must be stored in "
"a\n"
"          container so you must have at least one container defined in your\n"
"          account prior to uploading data."
msgstr ""
"A container is a storage compartment for your data and provides a way\n"
"          for you to organise your data. You can think of a container as a\n"
"          folder in Windows® or a directory in UNIX®. The primary "
"difference\n"
"          between a container and these other file system concepts is that\n"
"          containers cannot be nested. You can, however, create an "
"unlimited\n"
"          number of containers within your account. Data must be stored in "
"a\n"
"          container so you must have at least one container defined in your\n"
"          account prior to uploading data."

There shouldn't be line breaks or spaces at the beginning of the lines
within the po file as this makes translations very difficult. It should
be continuous text and from what I see the application can easily handle
it.

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: i18n

-- 
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/1648743

Title:
  help text formatting, line breaks and spaces

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I read 
  https://bugs.launchpad.net/horizon/+bug/1583757
  and probably this bug is redundant, I however don't see this fixed for the following:

  horizon/openstack_dashboard/dashboards/project/static/dashboard/project/containers
  /create-container-modal.html

  contains a text block

          <p translate>
            A container is a storage compartment for your data and provides a way
            for you to organize your data. You can think of a container as a
            folder in Windows&reg; or a directory in UNIX&reg;. The primary difference
            between a container and these other file system concepts is that
            containers cannot be nested. You can, however, create an unlimited
            number of containers within your account. Data must be stored in a
            container so you must have at least one container defined in your
            account prior to uploading data.
          </p>

  that apparently gets converted into

  horizon/openstack_dashboard/locale/de/LC_MESSAGES/djangojs.po

  msgid ""
  "A container is a storage compartment for your data and provides a way\n"
  "          for you to organize your data. You can think of a container as a\n"
  "          folder in Windows® or a directory in UNIX®. The primary "
  "difference\n"
  "          between a container and these other file system concepts is that\n"
  "          containers cannot be nested. You can, however, create an "
  "unlimited\n"
  "          number of containers within your account. Data must be stored in "
  "a\n"
  "          container so you must have at least one container defined in your\n"
  "          account prior to uploading data."
  msgstr ""
  "A container is a storage compartment for your data and provides a way\n"
  "          for you to organise your data. You can think of a container as a\n"
  "          folder in Windows® or a directory in UNIX®. The primary "
  "difference\n"
  "          between a container and these other file system concepts is that\n"
  "          containers cannot be nested. You can, however, create an "
  "unlimited\n"
  "          number of containers within your account. Data must be stored in "
  "a\n"
  "          container so you must have at least one container defined in your\n"
  "          account prior to uploading data."

  There shouldn't be line breaks or spaces at the beginning of the lines
  within the po file as this makes translations very difficult. It
  should be continuous text and from what I see the application can
  easily handle it.

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