Bug 1190814 - typos in candlepin msgids
Summary: typos in candlepin msgids
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: candlepin-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-09 16:36 UTC by John Sefler
Modified: 2019-09-24 14:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-24 14:16:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1172372 0 low CLOSED msgids presenting data to the user should consistently use quotation to highlight the data value. 2023-11-22 11:07:43 UTC

Description John Sefler 2015-02-09 16:36:28 UTC
Description of problem:
I have run hunspell -d en_US against the candlepin msgids and encountered several typos and words that are not recognized by dictionary.com or oxforddictionaries.com


The hunspell results will show many candidates for typos.  Most are acceptable, some are obvious failures.  The comments below contain the msgids with obvious typos and poor word choices.


Version-Release number of selected component (if applicable):
[root@jsefler-os-candlepin po]# git branch
* master
[root@jsefler-os-candlepin po]# git show | head -1
commit fc95de167295f91a9559ff7f4ca7943c7d9e854e


How reproducible:


Steps to Reproduce:
[root@jsefler-os-candlepin po]# cat keys.pot | grep -v -e "#:" -e "#," -e "msgstr" | sed s/msgid// > /tmp/msgids
[root@jsefler-os-candlepin po]# hunspell -l -d en_US /tmp/msgids
[root@jsefler-os-candlepin po]# hunspell -L -d en_US /tmp/msgids

Comment 1 John Sefler 2015-02-09 16:40:48 UTC
[root@jsefler-os-candlepin po]# grep ueber keys.pot 
msgid "Problem generating ueber cert for owner {0}"
msgid "ueber certificate for owner {0} was not found. Please generate one."

"ueber" is not a word according to dictionary.com, but "uber" is a word.

Comment 2 John Sefler 2015-02-09 16:46:53 UTC
[root@jsefler-os-candlepin po]# grep "indepent" keys.pot 
msgid "The number of hours to filter on (used indepent of date range)."

"indepent" should be "independent"

Comment 3 John Sefler 2015-02-09 16:48:36 UTC
[root@jsefler-os-candlepin po]# grep "databse" keys.pot 
msgid "{0} updated the rules in the databse to version {1}"

"databse" should be "database"

Comment 4 John Sefler 2015-02-09 16:50:03 UTC
[root@jsefler-os-candlepin po]# grep "html" keys.pot 
msgid "may have unsafe html content"

"html" should be "HTML"

Comment 5 John Sefler 2015-02-09 17:20:52 UTC
[root@jsefler-os-candlepin po]# grep "oauth" keys.pot 
msgid "Invalid oauth unit or secret"
msgid "Error getting oauth unit key"

"oauth" would be better written as "OAuth"

Comment 6 John Sefler 2015-02-09 17:29:45 UTC
[root@jsefler-os-candlepin po]# grep "checkin" keys.pot 
msgid "Host to guest mapping was not provided for hypervisor checkin."

"checkin" is not a word, but "check-in" is accepted by dictionary.com and oxforddictionaries.com

Comment 7 John Sefler 2015-02-09 17:32:21 UTC
[root@jsefler-os-candlepin po]# grep "unregister" keys.pot 
msgid "Cannot unregister {0} {1} because: {2}"

"unregister" is not a word; see subscription-manager bug 1149098

Comment 8 John Sefler 2015-02-09 18:05:14 UTC
[root@jsefler-os-candlepin po]# grep -B1 "boolean" keys.pot 
"Whether or not to filter on subscriptions which have management enabled "
"(boolean)"
--
#, java-format
msgid "The attribute ''{0}'' must be a boolean value."


"boolean" would be better written as "Boolean" according to dictionary.com and oxforddictionaries.com

Comment 9 John Sefler 2015-02-09 18:07:23 UTC
[root@jsefler-os-candlepin po]# grep "kbase" keys.pot 
"to address this problem. See kbase https://access.redhat.com/knowledge/"

"kbase" is not a word, change to "knowledge database"

Comment 10 John Sefler 2015-02-10 16:43:13 UTC
[root@jsefler-os-candlepin po]# grep "uuid" keys.pot 
msgid "Guest with uuid {0} could not be found."

"uuid" would be better written as "UUID".

Comment 11 John Sefler 2015-02-10 16:44:33 UTC
[root@jsefler-os-candlepin po]# grep "sku" keys.pot 
msgid "The entitlement sku on which to filter"


"sku" would be better written as "SKU".

Comment 12 Barnaby Court 2015-10-09 17:33:24 UTC
Because this needs translation this should be considered early in a release cycle.

Comment 14 Rehana 2016-05-19 09:03:41 UTC
Retested with;

[root@F21-candlepin po]# git branch
* master
[root@F21-candlepin po]#  git show | head -1
commit 9a6c89d622d570e6c29e076790b88a95f83b7cdb

steps:

[root@F21-candlepin po]#  cat keys.pot | grep -v -e "#:" -e "#," -e "msgstr" | sed s/msgid// > /tmp/msgids
[root@F21-candlepin po]# hunspell -l -d en_US /tmp/msgids
Msgid
charset
CHARSET
8bit
Runtime
Runtime
''ascending''
''descending''
''
''
''
''
UUID
SKU
JSON
JSON
HH
vCPUs
UUID
OAuth
OAuth
OAuth
OAuth
Unmapped
orgs
SKU
''
''
UUID
''
''
''
''
''
''
''
''
''
''
''
''
ActivationKey
''person''
Multi
''
''
multi
unmapped
''
''
''
''
''
''
''
''
Multi
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
unmapped
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
Multi
''
''
''
''
CDN
username
''person''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
''
unregister
''
''
''
''
''
''
''
''
''
''
CDN
UUID
hypervisor
''
''
''
''
''
''
''
''
''
''
''
''
''
''
json
UUID
hypervisor
hypervisor
''
''
hypervisor
UUID
''
''
''
''
''
''
''
''
''
''
uber
uber
''
''
''
''
couldn''t
couldn''t
''
''
''
''
candlepin
metadata
json
json
''
''
[root@F21-candlepin po]#  hunspell -L -d en_US /tmp/msgids
"Report-Msgid-Bugs-To: \n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
 "Runtime Error {0} at {1}.{2}:{3}"
 "Runtime Error {0}"
 "the order parameter must be either ''ascending'' or ''descending''"
 "must match ''{regexp}''"
 "script expression ''{0}'' didn't evaluate to true"
 "Filters the results by the specified consumer UUID."
 "The entitlement SKU on which to filter"
 "Includes the specified attribute in the result JSON"
 "Excludes the specified attribute in the result JSON"
"offsets specified in the form of \"GMT[+-]HH:?MM\"."
 "Only supports {0} of {1} vCPUs."
 "The consumer UUID(s) on which to filter"
 "Invalid OAuth unit or secret"
 "OAuth problem encountered. Internal message is: {0}"
 "OAuth error encountered. Internal message is: {0}"
 "Error getting OAuth unit key"
"Unmapped guest entitlement expired without establishing a host/guest mapping."
"Development units may only be used on hosted servers and with orgs that have "
 "SKU product not available to this development unit: ''{0}''"
 "The system with UUID {0} is a virtual guest. It does not have guests."
 "Unit with ID ''{0}'' could not be found."
 "Product with ID ''{0}'' could not be found."
 "The attribute ''{0}'' must be an integer value."
 "The attribute ''{0}'' must have a positive value."
 "The attribute ''{0}'' must be a long value."
 "The attribute ''{0}'' must be a Boolean value."
 "ActivationKey with id {0} could not be found."
"Cannot add pools that are restricted to unit type ''person'' to activation "
 "Multi-entitlement not supported for pool ''{0}''"
"Error: Only pools with multi-entitlement product subscriptions can be added "
"Guest has not been reported on any host and is using a temporary unmapped "
 "''{0}'' Should contain name, priority and at least one attribute"
"This unit has already had the subscription matching pool ID ''{0}'' attached."
 "No subscriptions are available from the pool with ID ''{0}''."
 "Units of this type are not allowed to attach the pool with ID ''{0}''."
 "Multi-entitlement not supported for pool with ID ''{0}''."
 "Pool ''{0}'' is restricted to guests running on host: ''{1}''."
 "Pool ''{0}'' is restricted to a specific consumer."
 "Pool is restricted to virtual guests: ''{0}''."
 "Pool is restricted to physical systems: ''{0}''."
"Subscription ''{0}'' must be attached using a quantity evenly divisible by "
"Unit does not support instance based calculation required by pool ''{0}''"
 "Unit does not support band calculation required by pool ''{0}''"
 "Unit does not support core calculation required by pool ''{0}''"
 "Unit does not support RAM calculation required by pool ''{0}''"
 "Unit does not support derived products data required by pool ''{0}''"
 "Pool is restricted to unmapped virtual guests: ''{0}''"
"Pool is restricted to virtual guests in their first day of existence: ''{0}''"
"Pool is restricted when it is temporary and begins in the future:  ''{0}''"
 "Unable to attach pool with ID ''{0}''.: {1}."
"This system already has a subscription for the product ''{0}'' attached."
"There are not enough free subscriptions available for the product ''{0}''"
 "Units of this type are not allowed for the product ''{0}''."
 "Only virtual systems can have subscription ''{0}'' attached."
 "Unable to attach subscription for the product ''{0}'': {1}."
"Insufficient pool quantity available for adjustment to entitlement ''{0}''."
"Multi-entitlement not supported for pool connected with entitlement ''{0}''."
 "Unable to adjust quantity for the entitlement with id ''{0}'': {1}"
 "A CDN with the label {0}already exists"
 "Cannot specify username with activation keys."
 "A unit type of ''person'' cannot be used with activation keys"
 "Activation key ''{0}'' not found for organization ''{1}''."
 "User with ID ''{0}'' could not be found."
 "User ''{0}'' has no roles for organization ''{1}''"
 "User ''{0}'' has already registered a personal consumer"
 "Unit type ''{0}'' could not be found."
 "Environment with ID ''{0}'' could not be found."
 "Cannot unregister {0} {1} because: {2}"
 "Entitlement with ID ''{0}'' could not be found."
 "Entitlement Certificate with serial number ''{0}'' could not be found."
 "No entitlements for consumer ''{0}'' with pool id ''{1}''"
"''{1}''."
 "A CDN with label {0} does not exist on this system."
 "The system with UUID {0} is not a virtual guest."
 "Deletion record for hypervisor ''{0}'' not found."
 "Unit type with id ''{0}'' could not be found."
 "Object with ID ''{0}'' could not found."
 "Unit ''{0}'' has no subscription for product ''{1}''."
 "Entitlement migration is not permissible for units of type ''{0}''"
 "Event with ID ''{0}'' could not be found."
 "Guest ID in json \"{0}\" does not match path guest ID \"{1}\""
 "Guest with UUID {0} could not be found."
 "Host to guest mapping was not provided for hypervisor check-in."
 "Unable to find hypervisor in org ''{0}''"
 "Host to guest mapping was not provided for hypervisor update."
"You must specify exactly one of owner key, unit UUID, or principal name."
 "Product with ID ''{0}'' cannot be deleted while subscriptions exist."
"The activation key name ''{0}'' must be alphanumeric or include the "
"characters ''-'' or ''_''"
 "The activation key name ''{0}'' is already in use for owner {1}"
 "Problem generating uber cert for owner {0}"
 "uber certificate for owner {0} was not found. Please generate one."
 "Subscription Pool with ID ''{0}'' could not be found."
 "Entitlement Pool with ID ''{0}'' could not be found."
 "couldn''t read rules file"
 "couldn''t generate statistics"
 "Cannot bind to pool ''{0}'' in activation key ''{1}'': {2}"
 "Standalone candlepin does not support redeeming a subscription."
 "Wrong metadata type"
 "The archive does not contain the required meta.json file"
 "The archive does not contain the required consumer.json file"
 "Service level ''{0}'' is not available to units of organization {1}."

[root@F21-candlepin po]#  grep ueber keys.pot        ==> FIXED
[root@F21-candlepin po]# grep "indepent" keys.pot ==> FIXED
[root@F21-candlepin po]# grep "databse" keys.pot ==> FIXED
[root@F21-candlepin po]# grep "html" keys.pot ==> FIXED
[root@F21-candlepin po]# grep "oauth" keys.pot ==> FIXED
[root@F21-candlepin po]# grep "checkin" keys.pot ==> FIXED
msgid "Certificate exception checking archive signature"
[root@F21-candlepin po]#  grep "unregister" keys.pot NOT FIXED,refer bug 1149098
msgid "Cannot unregister {0} {1} because: {2}"

[root@F21-candlepin po]# grep -B1 "boolean" keys.pot ==> FIXED
[root@F21-candlepin po]# grep "kbase" keys.pot ==> FIXED
[root@F21-candlepin po]# grep "uuid" keys.pot ==> FIXED
[root@F21-candlepin po]# grep "sku" keys.pot ==> FIXED


Marking verified


Note You need to log in before you can comment on or make changes to this bug.