Difference between revisions of "Tstrings.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m (Revision fix)
(formatting)
Line 1: Line 1:
 
{{TableVersion|5264}}
 
{{TableVersion|5264}}
  
 +
The '''Tstrings.tbl''' is used for translations quite like the [[strings.tbl]] except that it is used for '''t'''able '''strings'''.
  
Tstrings.tbl is used for translations quite like the [[strings.tbl]] except that it is used for '''t'''able '''strings'''.
 
  
 +
[[Tables|List of Tables]]
 +
 +
==General Info==
 +
*Other files use the index values for finding translations located in the '''tstrings.tbl'''
  
 
==Format==
 
==Format==
Line 9: Line 13:
 
*Each section ends with '''$end'''
 
*Each section ends with '''$end'''
 
*Each section consists of many indexed text entries.
 
*Each section consists of many indexed text entries.
*Other files use the index values for finding translations located in the '''tstrings.tbl'''
 
*Syntax: '''Integer''', "'''String'''"
 
  
 +
===Individual Lines===
 +
*Each line starts with the number or index that it will be linked to from other tables.
 +
*Each line also contains the full text to use for that index throughout FSO.
 +
*Syntax: '''Integer''', '''String'''
  
 
==Sample==
 
==Sample==

Revision as of 04:45, 19 July 2012

Revision information.....

FSO Revision: 5264
Note: Please update the version when the page is updated. If your edit had nothing to do with new code entries then please do not edit the version


The Tstrings.tbl is used for translations quite like the strings.tbl except that it is used for table strings.


List of Tables

General Info

  • Other files use the index values for finding translations located in the tstrings.tbl

Format

  • Table consists of two sections named #default (English), and #German
  • Each section ends with $end
  • Each section consists of many indexed text entries.

Individual Lines

  • Each line starts with the number or index that it will be linked to from other tables.
  • Each line also contains the full text to use for that index throughout FSO.
  • Syntax: Integer, String

Sample

  • Part of retail FreeSpace 2 table
#default
0, "The main FreeSpace 2 campaign."

1, "Special Operations Command has selected you for a dangerous covert assignment. Will you accept?"

2, "Special Operations Command requests your participation in a high-risk rescue mission. Will you volunteer?"

3, "Act 3"

4, "Shivan Gauntlet"

5, "A gauntlet module in which you face waves of Shivan fighters and warships.
"

6, "Blah"
...
...
3413, "*Aeolus Duel"

3414, "*Deimos Duel"

3415, "*Close Quarters"

3416, "*Ganymede Redux"

3417, "*Team Chaos"

3418, "*Ganymede Showdown"

3419, "So where's the Iceni, Command? Let’s end this now."

3420, "Protect Tatenen"

#end