Bug 1016399

Summary: [Reports Portal] Manage-Roles - Variable issue with accompanying word in plural
Product: Red Hat Enterprise Virtualization Manager Reporter: croe <croe>
Component: jasperreports-server-proAssignee: Yaniv Lavi <ylavi>
Status: CLOSED DUPLICATE QA Contact: Barak Dagan <bdagan>
Severity: low Docs Contact:
Priority: low    
Version: 3.3.0CC: acathrow, croe, eng-l10n-bugs, iheim, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Translation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-08 14:39:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
[Reports Portal] Manage-Roles - Variable issue with accompanying word in plural none

Description croe@redhat.com 2013-10-08 06:07:36 UTC
Created attachment 809105 [details]
[Reports Portal] Manage-Roles - Variable issue with accompanying word in plural

Description of problem:[Reports Portal] Manage-Roles - Variable issue with accompanying word in plural


Version-Release number of selected component (if applicable):3.3.0


How reproducible:


Steps to Reproduce:
1. Login Reports Portal

2. Hover over the Manage button on the top menu bar, click on Roles in the drop-down menu.

3. Check the three panes:

    Organizations, on the left of the screen.
    Roles, on the center of screen, click Add Role... button, check the Add Role dialog, input name and click Add Role button, check the role on the list; Perform Roles search; Select the added role from the list, click Delete button 

Actual results: When you click Delete button, the message is grammatically incorrect.

It shows: 
Confirmez que vous voulez supprimer 1 rôles

instead of 

Confirmez que vous voulez supprimer 1 rôle



Expected results: You need to change the string in English in Zanata so that it can be translated appropriately (see explanation below)

If you go into Zanata 
 
ovirt-engine-jrs-branding
JRS-5.5-branded
Documents (fr)
jasperserver_messages

https://translate.zanata.org/zanata/webtrans/translate?project=ovirt-engine-jrs-branding&iteration=JRS-5.5-branded&localeId=fr&locale=en#view:search;projectsearch:Confirmez%20que%20vous%20voulez;projectsearchin:both

You will find that the Source String in EN had the word "role" with a 's' (plural)

Confirm that you want to delete #{count} roles.¶
This cannot be undone.

which has been translated in fr with a 's' as well (plural) following the same logic.

Confirmez que vous voulez supprimer #{count} rôles.¶
Cette opération ne peut pas être annulée.

In this case, when the number is '1' (see screenshot), plural does not apply anymore.

Comment 1 Yaniv Lavi 2013-10-08 14:39:38 UTC

*** This bug has been marked as a duplicate of bug 952045 ***