← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1522317] [NEW] string in glance.service.js cannot control the word order in translations

 

Public bug reported:

openstack_dashboard/static/app/core/openstack-service-
api/glance.service.js

      return suppressError ? promise : promise.error(function() {
        toastService.add('error', gettext('Unable to delete the image with id: ') + imageId);
      });

String concatenation should not be used.
https://docs.djangoproject.com/en/1.8/topics/i18n/translation/#interpolate

** Affects: horizon
     Importance: Medium
     Assignee: Akihiro Motoki (amotoki)
         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/1522317

Title:
  string in glance.service.js cannot control the word order in
  translations

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  openstack_dashboard/static/app/core/openstack-service-
  api/glance.service.js

        return suppressError ? promise : promise.error(function() {
          toastService.add('error', gettext('Unable to delete the image with id: ') + imageId);
        });

  String concatenation should not be used.
  https://docs.djangoproject.com/en/1.8/topics/i18n/translation/#interpolate

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


Follow ups