[Freeciv-Dev] [bug #22314] QT client strings unsuitable for i18n

2014-09-04 Thread mir3x
Update of bug #22314 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?22314

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #22314] QT client strings unsuitable for i18n

2014-09-02 Thread mir3x
Update of bug #22314 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = mir3x  
 Planned Release: = 2.5.0, 2.6.0   

___

Follow-up Comment #4:

Fixed big bunch of messages

(file #22001, file #22002)
___

Additional Item Attachment:

File name: QtTranslation-S25.patch.bz2Size:4 KB
File name: QtTranslation-S26.patch.bz2Size:4 KB


___

Reply to this item at:

  http://gna.org/bugs/?22314

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #22314] QT client strings unsuitable for i18n

2014-08-28 Thread mir3x
Follow-up Comment #1, bug #22314 (project freeciv):

Whats wrong in second case ? How it should be then ?

___

Reply to this item at:

  http://gna.org/bugs/?22314

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #22314] QT client strings unsuitable for i18n

2014-08-28 Thread pepeto
Follow-up Comment #2, bug #22314 (project freeciv):

It should probably use PL_(). But I don't see how if the number of argument is
not the same.

___

Reply to this item at:

  http://gna.org/bugs/?22314

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #22314] QT client strings unsuitable for i18n

2014-08-28 Thread Marko Lindqvist
Follow-up Comment #3, bug #22314 (project freeciv):

ask.setText(PL_(Are you sure you want to disband that %1 unit?, Are you
sure you want to disband those %1 units?, unit_list_size(punits)));

Yes, unfortunately that means that in English text the count 1 is also
spelled out and not left to be deducted from the fact that word unit is
singular. But it makes it possible to provide any number of different plural
forms in languages that don't have simple 1 = singular, not 1 = plural,
rules.

___

Reply to this item at:

  http://gna.org/bugs/?22314

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #22314] QT client strings unsuitable for i18n

2014-07-12 Thread Jacob Nevins
URL:
  http://gna.org/bugs/?22314

 Summary: QT client strings unsuitable for i18n
 Project: Freeciv
Submitted by: jtn
Submitted on: Sat 12 Jul 2014 13:36:29 BST
Category: client-qt
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: S2_5 r25502
 Discussion Lock: Any
Operating System: Any
 Planned Release: 

___

Details:

I've noticed a number of constructs in the Qt client that aren't really
suitable for i18n.

It probably wants a blanket review, ideally before too many translators spend
time on the current strings.

1. Sentences assembled out of fragments by string concatenation rather than
using format strings.


unit_label1 = unit_label1 +   + _(from) +  ;



techs_known = QString(b) + _(Techs unknown by) + sp
  + QString(nation_adjective_for_player(pplayer)) + sp
  + QString(_(nation)) + QString(/b :);


2. Non-generalised pluralisation.


  if (unit_list_size(punits) == 1) {
ask.setText(_(Are you sure you want to disband that unit?));
  } else {
str = QString(_(Are you sure you want to disband those %1 units?)).arg





___

Reply to this item at:

  http://gna.org/bugs/?22314

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev