Tiki|bot: New Forum Posts: Elastic search on Tiki 12.x - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=57885
New Forum Posts: PayPal Donations, PDF creation and snippets: are they possible? - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=57884
New Forum Posts: Plugin Listpages fails to sort after upgrade 12.0 to 14.1 - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=57889
New Forum Posts: Elastic search on Tiki 12.x - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=57885
New Forum Posts: PayPal Donations, PDF creation and snippets: are they possible? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=57884 Jyhem_: joined #tikiwiki amette_: polom giesen: joined #tikiwiki pbiendl: joined #tikiwiki redflo: joined #tikiwiki GillesM: Hello
I am modifying one of my software who translate automatically translation files to Tikiwiki language.php :) Tiki|bot: joined #tikiwiki amette_: GillesM : Good stuff! Have you seen the work that gezzza is doing with Transifex? GillesM: no ..
I need a tw in arabic .. and I will launch the translation for arabic language and I wil lcomplete french too amette_: It's an online service, so we can integrate non-coders more easily into the translation workflow. If you are interested, best to contact gezza directly. I'm not really up to date on the effort.
Tiki in arabic - w00t! :) xavi1: joined #tikiwiki xavi: polom
quick question about jquery and fixing issues when using French, Dutch, Catalan langs etc. (see Re: http://sourceforge.net/p/tikiwiki/code/57056/ )
I see that addreference.tpl uses also single quotes in the jquery code.
jQuery('#e_status').html('{tr}Saving...{/tr}');
(from line 41)
Shouldn't that be replaced to double quotes? I.e.:
jQuery('#e_status').html("{tr}Saving...{/tr}");
I mean, in jquery, is there any reason why not using double quotes around strings?
(I can't test that myself now, I did run out of time of testing this thing ... still have to do the backport of r57056 to 14.x)
another potential issue: at rebuild.tpl, line 23: onsubmit="$(this).parent().tikiModal('{tr}Rebuilding index...{/tr}')"
could (shall) the single quotes there be converted to escaped double quotes? e.g. onsubmit="$(this).parent().tikiModal("{tr}Rebuilding index...{/tr}")"> amette_: I don't see any single quotes there... but either you do it the way you just posted it or you use single quotes as the outermost ones and then do not escape the inner ones iirc
ah, right, now I got it... you were changing the line above...
... so: no, when you use double quotes as the outermost ones, you can use the single quotes and don't have to change them to double quotes.
afaik in JavaScript neither way is better... it boils down to personal preference.
So I would go with the first version, as there is no escaping necessary and it makes it more readable. xavi: hi amette_. thanks for your feedback. I wonder if you realize that with this syntax:
onsubmit="$(this).parent().tikiModal('{tr}Rebuilding index...{/tr}')"
whenever that string gets translated to a language that uses single quotes inside the translations, then tiki can produce a fatal error, afaik amette_: Ah, nope, didn't realise that... make quite some sense though... better use double quotes then. ;)
And hope that no language uses double quotes in its strings. *g* xavi: yep, that's what I thought. :-) Willing to fix those nasty fragile points for the i18n of tiki amette_: Cool, good stuff! :) xavi: message sent to the devel list about it :-)
c u
left #tikiwiki Tiki|bot: joined #tikiwiki
joined #tikiwiki Telesight: joined #tikiwiki Tiki|bot: New Forum Posts: Fixing fragile points for tiki i18n: "single quote -> double quote" in translatable strings - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=57893
New Forum Posts: Plugin Listpages fails to sort after upgrade 12.0 to 14.1 - https://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=57889
New Forum Posts: Elastic search on Tiki 12.x - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=57885
New Forum Posts: Fixing fragile points for tiki i18n: "single quote -> double quote" in translatable strings - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=57893
New Forum Posts: Plugin Listpages fails to sort after upgrade 12.0 to 14.1 - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=57889
New Forum Posts: Elastic search on Tiki 12.x - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=57885 fabricius: joined #tikiwiki macnific1: joined #tikiwiki Tiki|bot: New Forum Posts: Performance slowdowns caused by logging - crossposted from Sysadmins discussion - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=57895 fabricius: joined #tikiwiki GillesM: joined #tikiwiki olinuxx: joined #tikiwiki