[Freeciv-Dev] [bug #19986] universal_rule_name() returning weird strings

2014-06-01 Thread Jacob Nevins
Follow-up Comment #1, bug #19986 (project freeciv):

(fix was committed as r21646
http://svn.gna.org/viewcvs/freeciv?view=revisionrevision=21646)

___

Reply to this item at:

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

___
  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 #19986] universal_rule_name() returning weird strings

2012-07-29 Thread Marko Lindqvist
Update of bug #19986 (project freeciv):

  Status:  Ready For Test = Fixed  
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  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 #19986] universal_rule_name() returning weird strings

2012-07-26 Thread Marko Lindqvist
URL:
  http://gna.org/bugs/?19986

 Summary: universal_rule_name() returning weird strings
 Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 27 Jul 2012 04:11:49 AM EEST
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: Ready For Test
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.5.0

___

Details:

universal_rule_name() returns wrong kind of strings for some types. Current
callers are interested only about units and buildings, which work ok, so
there's no user visible problems at the moment. (But I'm working on tool that
needs to get these right)

- Even though this is rule name some strings are collected for translation.
- Minsize returns format string (%d) and it has extra explanatory word in it
compared to what is *rule* name in ruleset (in ruleset type is separate
field)
- CityTile and Minyear return (none) instead of name

Fix attached. For dynamically constructed MinSize and MinYear types static
buffer is used.



___

File Attachments:


---
Date: Fri 27 Jul 2012 04:11:49 AM EEST  Name: URuleName.patch  Size: 2kB   By:
cazfi

http://gna.org/bugs/download.php?file_id=16206

___

Reply to this item at:

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

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


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