Author Topic: strings.tbl incomplete?  (Read 1391 times)

0 Members and 1 Guest are viewing this topic.

strings.tbl incomplete?
Hello guys,

at the moment i am assisting in a translation project for the whole SCP and some user-made campaigns of it.
I am working on the strings.tbl now, so i translate/correct all menus and options of this game. So no campaign specific changes.

Actually there seems to be, that some texts of the game are not covered by the strings.tbl.

Even i translated all entries, indivial textes in the menus are still in english.

I get the information from the person, who is responsible for this project, that there should be in total 1637 string entries according to the source code.
But the strings.tbl cover only 1539 of them?

Also strings 503-506 and 615-619 were not included in the strings.tbl after all. I have to add them manually, to fix some of the errors.

But even i added strings from 1570 to 1637 (higher than 1637 causes a crash) with a placeholder text in the strings.tbl, none of them affect the text, that still remains in the original language.

To be more specific, it concers some of the control options, that seems to be the last missing piece. Even i would like to know, for what all the other strings stands for :).

I need the string numbers for a translation of following options:

"Glide when pressed"
"Toggle Gliding"
"Cycle Primary Weapon Firing Rate"
"Top Down View"
"Target Padlock View"
"Toggle Auto Pilot"
"Cycle Nav Points"

and i hope someone can provide me with them :).
« Last Edit: July 31, 2015, 06:48:53 pm by Deepstar »
Shivan here, Shivan there, Shivan everywhere.

My english isn't very well, so sorry for a few mistakes.

FreeSpace Let's Plays on my Channel:
| The Great War | Silent Threat | Operation Templar | Silent Threat: Reborn | Shivans - Phantoms | Shivans - Echo Gate | Shrouding the Light: Origins | Shrouding the Light | Cardinal Spear | Cardinal Spear: Vega | Awakenings | The Destiny of Peace | Between the Ashes: Mefistofele

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: strings.tbl incomplete?
The "hasXSTR" attribute of those keys (alongside "Top-Down View") is set to false (meaning FSO will never try to translate them). This is, perhaps, less than desirable (let alone intuitive).
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 
Re: strings.tbl incomplete?
That is indeed unfortunate. But thanks for the information. So it seems that i am nearly finished with this file. (only needs some textposition changes)

Had this "hasXSTR"=false decision a specific reason?

I mean, if you do not cover that entry in the strings file, it should still show the english text in the game, right?
But it would be translateable with a string if you add it in the file (or use a tbm)?
Shivan here, Shivan there, Shivan everywhere.

My english isn't very well, so sorry for a few mistakes.

FreeSpace Let's Plays on my Channel:
| The Great War | Silent Threat | Operation Templar | Silent Threat: Reborn | Shivans - Phantoms | Shivans - Echo Gate | Shrouding the Light: Origins | Shrouding the Light | Cardinal Spear | Cardinal Spear: Vega | Awakenings | The Destiny of Peace | Between the Ashes: Mefistofele

  

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: strings.tbl incomplete?
If I understand how the string indices for key controls work, turning hasXSTR on will cause the string indices for the other controls to get out of alignment. My only familiarity with this code is just what I read looking into this, though, so I'd rather not speculate on why it was done or how to fix it when somebody else probably has much more familiarity with this code.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.