[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

--- Comment #17 from Yousuf Philips (jay)  ---
(In reply to sophie from comment #16)
> If you want an example of how plural might be complex, just an example, here
> is the plural of plik (file) in Polish 
> 1 = plik
> 2,3,4 = pliki
> 5-21 = pliko'w
> 22-24 = pliki
> 25-31 = pliko'w
> and so on, so that may be why the singular forms have been there for so long
> time ;) Sophie

I checked 3.3 and we've always used the plural forms. :D

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

--- Comment #16 from sophie  ---
(In reply to Yousuf Philips (jay) from comment #15)
> With multiple UNO commands out of the question and problems with having both
> singular and plural forms in the same string for translation, the best
> option is to retain the current plural string form.

If you want an example of how plural might be complex, just an example, here is
the plural of plik (file) in Polish 
1 = plik
2,3,4 = pliki
5-21 = pliko'w
22-24 = pliki
25-31 = pliko'w
and so on, so that may be why the singular forms have been there for so long
time ;) Sophie

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

Yousuf Philips (jay)  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Blocks||108364
 Resolution|--- |WONTFIX

--- Comment #15 from Yousuf Philips (jay)  ---
With multiple UNO commands out of the question and problems with having both
singular and plural forms in the same string for translation, the best option
is to retain the current plural string form.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108364
[Bug 108364] [META] Table/Row/Column/Cell management function bugs and
enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

--- Comment #14 from V Stuart Foote  ---
The status quo plural form is sufficient, or as Jay suggested use the Insert
row(s), Insert column(s) plural form--and let the l10n translators adjust the
label as they chose.

Making the context menu labeling contextual to respond to number of columns or
rows selected is not going to happen. Adding a dialog as in comment 4 (think
the Insert Table from Writer) might still be a valid approach--but that should
be written up cleanly.

So this is really a WONTFIX for the enhancement of just changing labels on the
context menu.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

--- Comment #13 from Milan Bouchet-Valat  ---
In French at least, it seems that printing the number of rows that will be
inserted would be much simpler: "Insérer 1 ligne" vs. "Insérer 2 lignes",
"Insérer 3 lignes", etc.

I don't know whether that's also the case for languages with multiple plurals,
but why wouldn't that work? It's probably not the only place where this kind of
thing happens in the code base.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

--- Comment #12 from sophie  ---
(In reply to Yousuf Philips (jay) from comment #8)
> Creating UNO commands to detect when only a single column or row is selected
> and then modifying the existing contextual UNO commands to not work when
> only a single column or row is selected seems like alot of work for little
> benefit.
> 
> My suggestion is to simply change the labels from 'Columns' to 'Column(s)'
> and 'Rows' to 'Row(s)'.
> 
> Heiko, Stuart, Cor, Eike: What's your take?

Small feedback, in French, it will be 'Insérer une (des) ligne(s)'... not very
aesthetic, but it could be more complicated if the plural is marked by a
different word. So I've no proposal else than staying as simple as possible and
either chose a plural or a singular but not both. Sophie

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

--- Comment #11 from Eike Rathke  ---
(In reply to Yousuf Philips (jay) from comment #8)
> My suggestion is to simply change the labels from 'Columns' to 'Column(s)'
> and 'Rows' to 'Row(s)'.
If it's really necessary to change the wording then this, yes. Differentiating
on how many cols/rows are selected is not gonna fly.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

Heiko Tietze  changed:

   What|Removed |Added

 CC||gautier.sop...@gmail.com

--- Comment #10 from Heiko Tietze  ---
It's not only the row/rows issue. How plural is applied depends on languages.
In many languages it's n=0 for singular and n>0 plural but French, for
instance, has three forms (n=0, n=1, n>1) and Arab six different forms. The
typical solution is to take the number into account for localization [1].
The abbreviation in brackets is the second best solution. The plural form
depends in German on genus and loanword and can be (n/en), (r/er), (s), and
sometimes without any suffix. In this case it's simple with Spalte(n) and
Zeile(n) but there might be something like " (s/n/e/r)" in some languages. 
On the other hand the (s) a quick and dirty solution that solves this problem.
So I'm not against. 
@Sophie: What do you think?

[1] https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

--- Comment #9 from V Stuart Foote  ---
(In reply to Yousuf Philips (jay) from comment #8)
> ...
> My suggestion is to simply change the labels from 'Columns' to 'Column(s)'
> and 'Rows' to 'Row(s)'.

+1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

Yousuf Philips (jay)  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl,
   ||er...@redhat.com,
   ||philip...@hotmail.com,
   ||tietze.he...@gmail.com,
   ||vstuart.fo...@utsa.edu
 Whiteboard|VOTE|

--- Comment #8 from Yousuf Philips (jay)  ---
Creating UNO commands to detect when only a single column or row is selected
and then modifying the existing contextual UNO commands to not work when only a
single column or row is selected seems like alot of work for little benefit.

My suggestion is to simply change the labels from 'Columns' to 'Column(s)' and
'Rows' to 'Row(s)'.

Heiko, Stuart, Cor, Eike: What's your take?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42375] UI: Context menu should show "Insert row" instead of " Insert rows" if only one row is selected

2017-06-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42375

Thomas Lendo  changed:

   What|Removed |Added

 Blocks||86349
Summary|UI: "Insert rows" only  |UI: Context menu should
   |inserts one row |show "Insert row" instead
   ||of "Insert rows" if only
   ||one row is selected


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=86349
[Bug 86349] [META] Context menu bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs