Forum > Translations

Which characters should be escaped

(1/1)

nikel:
I wonder which characters should be escaped, for example how can I escape single quote?

Also I'd like to know if I can syncronize my translation, or do I have to upload each time I update it?

valdir.marcos:
Please, develop more your ideas. They are too short.


--- Quote from: nikel on September 22, 2018, 10:48:21 am ---I wonder which characters should be escaped, for example how can I escape single quote?
--- End quote ---
One possible solution:

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---procedure TForm1.Button1Click(Sender: TObject);begin  ShowMessage('That''s my house.');end;

--- Quote ---Also I'd like to know if I can syncronize my translation, or do I have to upload each time I update it?
--- End quote ---
Translations are updated when your application is loaded or when the application changes its default language:
http://wiki.lazarus.freepascal.org/Step-by-step_instructions_for_creating_multi-language_applications

nikel:
No, I could't explain it correctly. I'm editing fuzzy Tuskish translation file. In poedit, do I have to I escape characters like ' " / \ & $ #


Navigation

[0] Message Index

Go to full version