Bug 787304

Summary: 'Deployable' not translated in en.yml
Product: [Retired] CloudForms Cloud Engine Reporter: Matt Wagner <matt.wagner>
Component: aeolus-conductorAssignee: Tomas Sedovic <tsedovic>
Status: CLOSED NOTABUG QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, athomas, deltacloud-maint, slinaber, ssachdev, sseago, tsedovic
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-30 15:12:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Matt Wagner 2012-02-03 21:14:29 UTC
Description of problem:
I notice that, on the Cloud Engine product branch, en.yml is chock full of references to "Deployable" (including pluralization and all-lowercase, too). Since we are calling a "Deployable" an "Application Blueprint" in Cloud Engine, these references need to be updated.

Actually, I notice a few for 'Deployment' as well. Someone ought to just go through en.yml and do a (controlled) search-and-replace on all the terms.

https://www.aeolusproject.org/redmine/projects/aeolus/wiki/Upstream_and_Product_Name_Cheatsheet compares the names both upstream on Conductor and in the product.


Version-Release number of selected component (if applicable):
Product branch as of commit 69841ba155fc99594c932e57782d34d80e69f77b

Comment 3 Steve Linabery 2012-02-14 18:42:22 UTC
efc3ab in aeolus-conductor-0.8.0-27

Comment 4 Shveta 2012-02-22 13:31:47 UTC
/usr/share/aeolus-conductor/config/locales/en.yml

I still see "deployable not selected " etc in the above file


rpm -qa|grep aeolus
aeolus-conductor-daemons-0.8.0-33.el6.noarch
aeolus-configure-2.5.0-14.el6.noarch
rubygem-aeolus-image-0.3.0-8.el6.noarch
aeolus-conductor-0.8.0-33.el6.noarch
rubygem-aeolus-cli-0.3.0-9.el6.noarch
aeolus-conductor-doc-0.8.0-33.el6.noarch
aeolus-all-0.8.0-33.el6.noarch

Comment 5 wes hayutin 2012-04-17 21:39:36 UTC
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
[root@qeblade30 ~]# cat /usr/share/aeolus-conductor/config/locales/en.yml | grep -i deployable
      deployable_xml: Deployable XML
      hint: Choose a deployable to launch in the "%{pool}" pool
      no_catalog_entry: 'No available deployable. Please add one first!'
      deployable_xml: Deployable XML
      deployable_definition: Deployable definition
      deployable_details: Deployable details
        deployable_not_selected: "You need to select deployable"
      not_valid_deployable_xml: "seems to be not valid deployable XML: %{msg}"
      provider_account_quota_too_low: "%{match_provider_account} quota limit too low to launch deployable"
      confirm_delete: "Are you sure you want to delete this pool? All related catalogs and deployables will be deleted too!"
      catalog_entry: Deployable
    confirm_delete: "Are you sure you want to delete this pool family? All related pools, catalogs, and deployables will be deleted too!"
    new_catalog_entry: New Deployable
      catalog_entry: Deployable
      catalog_entries: Deployables
      deployable_xml: Deployable XML
      add_catalog_entry: Add New Deployable
      choose_option_to_upload: Choose one of the following options to upload deployable XML file
      editing_catalog_entry: Editing Deployable
      catalog_entries_list: Deployables List
        not_valid_or_reachable: "Deployable XML file is either invalid or no longer reachable at %{url}"
        no_url_provided: "No URL provided for the deployable XML file."
        not_valid: "Deployable XML file doesn't resolve valid XML"
        not_valid_duplicate_assembly_names: "Deployable XML must contain unique assembly names"
        failed: Deployable was not created.
        added: Deployable added to catalog %{catalog}.
        updated: Deployable updated successfully!
        deleted: Deployable removed from catalog %{catalog}.
      all_catalog_entries: All Deployables
          one: "Catalog %{not_deleted} cannot be deleted! Some deployable has the last reference to this catalog!"
          other: "These catalogs %{not_deleted} cannot be deleted! Some of their deployables have the last reference to the catalogs!"
        one_not_deleted: "Catalog cannot be deleted! Some deployable has the last reference to this catalog!"
      new_deployable_from_image: "New Deployable from Image"
        validated. You may now save the image, and create a deployable.
      make_deployable: Automatically make "%{name}" deployable.
  deployables:
      deployables: Deployables
      deployable_definition: Deployable Definition
      deployable_url: Deployable URL
      deployable_url_subtext: "(must be a valid URL including http://)"
      base_deployable: Base Deployable
        one: "Deployable %{list} was deleted."
        other: "Deployables %{list} were deleted."
        one: "Deployable %{list} was not deleted. There are deployments associated with it."
        other: "Deployables %{list} were not deleted. They have deployments associated with them."
      title: Create Deployable
      description: "Creating a deployable from the \"%{name}\" component outline will allow it to be built and launched. Simply choose a catalog in which to store the deployable, and define a default cloud resource profile."
      choose_xml: Choose Deployable XML file
      deployable_xml: Deployable XML
      deployable_xml_url: URL of Deployable XML
          one: "Deployable %{not_deleted} removal failed!"
          other: "%{count} deployables %{not_deleted} were not removed!"
          one: "Insufficient permissions to remove deployable %{not_deleted}!"
          other: "Insufficient permissions to remove %{count} deployables %{not_deleted}!"
        not_selected: "No deployable was selected!"
        wrong_environment: "The deployable '%{deployable}' contains an image (UUID %{uuid}) in the wrong environment ('%{wrong_env}' should be '%{environment}') and cannot be used."
        failed: "Deployable was not created: %{message}"
          one: "Deployable %{deleted} removed successfully!"
          other: "%{count} deployables %{deleted} were removed!"
      edit_deployable_xml: Edit Deployable XML
    deployables: Deployables



[root@qeblade30 ~]# 
[root@qeblade30 ~]# rpm -qa | grep aeolus
rubygem-aeolus-image-0.3.0-12.el6.noarch
aeolus-configure-2.5.3-1.el6.noarch
aeolus-all-0.8.9-1.el6.noarch
aeolus-conductor-doc-0.8.9-1.el6.noarch
aeolus-conductor-daemons-0.8.9-1.el6.noarch
aeolus-conductor-0.8.9-1.el6.noarch
rubygem-aeolus-cli-0.3.1-1.el6.noarch
[root@qeblade30 ~]#

Comment 6 Scott Seago 2012-04-18 01:27:44 UTC
Wes, /usr/share/aeolus-conductor/config/locales/en.yml won't be updated for the product branch. We leave that as-is, and there's an en.yml file in overrides for things that have a different translation for product. So the real question here is whether each of those references you list above are translated differently in the overrides file.

I think this bug may pre-date the decision to stop changing deployable, etc. references in the regular en.yml, as we're no longer doing the search-and-replace -- the references that need to be translated are handled in the overrides files now.