Issue 45551 - One vs. multiple "Undo action/s" issue
Summary: One vs. multiple "Undo action/s" issue
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0.3
Assignee: eric.savary
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-20 10:18 UTC by pavel
Modified: 2006-04-13 13:17 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2005-03-20 10:18:44 UTC
Hi,

svx/source/tbxctrls/lboxctrl.src contains this:

String RID_SVXSTR_NUM_UNDO_ACTIONS
{
    Text[ de ] = "Rückgängig $(ARG1) Aktionen" ;
        Text[ en-US ] = "Undo $(ARG1) actions";
};
  
String RID_SVXSTR_NUM_UNDO_ACTION
{ 
    Text[ de ] = "Rückgängig $(ARG1) Aktion" ;   
    Text[ en-US ] = "Undo $(ARG1) action" ;
};

This is very hard/impossible  to translate for some languages. E.g for Czech, we
have:

Vrátit 1 akci
Vrátit 2 akce
...
Vrátit 5 akcí

etc. So we can't translate this.
Comment 1 e.matthis 2005-03-24 17:06:02 UTC
Thanks for reporting this issue. New languages bring new challenges.
I have never run into this problem with plurals before. Will have to research
the possibilities.
Comment 2 e.matthis 2005-05-20 14:53:52 UTC
set target
Comment 3 e.matthis 2005-07-21 16:28:18 UTC
liz->Pavel:
OK, the developer may have found a solution. Please define all Czeck
declinations of the word "action" as needed for numbers (up to 100 would be
nice, although more undo actions can exist so explain more if possible.)

e.g. (don't laugh this is just an example!)
0, 1 "akci"
2, 3, 4, 10, 11-99 "akce"
5, 6, 7, 8, 9, 100-120 "akcí"

Then assign this task to "hbrinkm" so he can see how to introduce a change to
the resources, where the numbers and words are dependent on each other.

If you see a different way to technically solve the issue (without a separate
string for every single number possible) then please note it here and suggest it
to hbrinkm as well.
Thanks!
Comment 4 pavel 2005-07-21 16:52:29 UTC
Czech language is not that easy ;-)

In this sentence, it is:

0: hmm, there should be no such message needed, there should be special string
for it...
1: akci
2, 3, 4: akce
>5: akcí

ain: can you do the same for Estonian so we have more data, please?

Comment 5 avagula 2005-09-16 22:36:21 UTC
Pavel: not much use from Estonian, we have only two forms:
1 - thing
0, 2, 3.... - things
Singular and plural form may be very different (asi - asja; süsi - sütt; etc).

Pavel, as workaround I can recommend to change sentence order like this:
"Actions to undo: $(ARG1)"
Ugly is better than wrong.
Comment 6 pavel 2006-01-15 21:24:16 UTC
move target.
Comment 7 Mathias_Bauer 2006-03-08 17:45:58 UTC
Sorry, but meanwhile I get a little bit confused:
first, it seems that the patch is no longer needed, right?
What is the current state now? I think we need an exact definition of what we
want to have for all languages and let this be reviewed by our UI team
Comment 8 Mathias_Bauer 2006-03-10 14:13:38 UTC
Frank, the last suggestion from vagula seems to be fine.
Short description of the problem: our current "Undo xxx actions" doesn't work
for the czech languages because the conjugation of  "action" depends on the
number, it's not only singular or plural.
Can be do it like vagula suggested: "actions to undo: (arg1)" or perhaps "number
of actions to undo: (arg1)" ?
Comment 9 frank.loehmann 2006-03-27 13:15:46 UTC
Good to know about this issue. I agree, please change strings as follows:

Eng: "Actions to undo: $(ARG1)"
Ger: "Aktionen rückgängig machen: $(ARG1)"

Please make sure that string does not get cut at the end of the drop down list
box control.
Comment 10 Mathias_Bauer 2006-03-27 15:19:28 UTC
Pavel, vagula: is that OK for you?
Comment 11 avagula 2006-03-27 15:34:34 UTC
Yes, it is.
Comment 12 pavel 2006-03-28 07:55:39 UTC
Sure
Comment 13 Mathias_Bauer 2006-04-05 09:02:24 UTC
We will try to get the change integrated until our UI freeze for 2.0.3.
If we don't succeed it will get integrated into 2.0.4.
Comment 14 frank.loehmann 2006-04-06 08:40:10 UTC
Same for redo:

Eng: "Actions to redo: $(ARG1)"
Ger: "Aktionen wiederherstellen: $(ARG1)"
Comment 15 andreas.schluens 2006-04-06 12:05:52 UTC
AS->ES: Please verify this task on cws [fwk38] THX.
Comment 16 andreas.schluens 2006-04-06 12:07:18 UTC
.

re-open issue and reassign to es@openoffice.org
Comment 17 andreas.schluens 2006-04-06 12:07:24 UTC
reassign to es@openoffice.org
Comment 18 andreas.schluens 2006-04-06 12:07:30 UTC
reset resolution to FIXED
Comment 19 eric.savary 2006-04-06 15:33:03 UTC
Verified in CWS fwk38
Comment 20 eric.savary 2006-04-13 13:17:34 UTC
Ok in src680m163