[00:02] fabricius joined #tikiwiki [00:09] amette_ left #tikiwiki [00:09] amette_ joined #tikiwiki [02:04] montefuscolo Polom! Can someone point me some nice Tiki sites? [02:05] montefuscolo Bernard told me sometime ago, but I forgot to note! [02:09] montefuscolo I think sites listed on https://tiki.org/Showcase are out dated. [02:30] fabricius joined #tikiwiki [03:35] malwar3hun73r Jyhem, you around? [03:36] amette_ left #tikiwiki [03:47] malwar3hun73r anyone around? [09:32] redflo joined #tikiwiki [10:36] amette_ joined #tikiwiki [10:36] luciash polom [10:37] luciash montefuscolo: besides avan.tech? :) [10:40] luciash montefuscolo: do you want me to put them here or by email? [11:17] jonnyb joined #tikiwiki [11:36] robertokir joined #tikiwiki [12:04] Jyhem polom [12:06] Jyhem Is there any way of translating labels in pluginList? [12:07] Jyhem I have tried this: [12:07] Jyhem {LANG(lang="en")}{column field="nom" label="{tr}Competition{/tr}" mode="raw"}{LANG} [12:07] Jyhem But {LANG(lang="en")} or {LANG(lang="fr")} are just ignored (both show up) [12:08] Jyhem and it just displays '{tr}Competition{/tr}' [12:08] Jyhem same without mode=raw [12:14] Jyhem hi luciash: why not here? Let's share them in the irclogs :-) [12:16] chibaguy joined #tikiwiki [12:16] chibaguy polom [12:51] jonnyb pompom [12:51] jonnyb Jyhem: did oyu work out your tr on table labels? [12:52] jonnyb you need to use a {FORMAT} block [12:52] jonnyb i tihnk [12:52] fabricius joined #tikiwiki [12:58] Jyhem hi jonnyb [12:58] jonnyb pompom [12:58] Jyhem No, I did not. The label is not part of the FORMAT block [12:59] jonnyb oh right, good point... [13:00] jonnyb would be nice if "it just did that" :) [13:01] Jyhem Right now I have 2 pages. On in french and one for en, but it seems like there should be another way… [13:01] Jyhem There often is some undocumented one :-D [13:02] jonnyb i guess we could add tr_if modifiers on the label in templates/search/list/table.tpl:44 and 46? [13:02] jonnyb anf 49 [13:03] Jyhem ohh [13:03] * Jyhem tries [13:08] jonnyb so i would change the 3 {$col.label|escape} to {$col.label|tr_if|escape} [13:09] Jyhem Oh? What is tr_if? [13:09] Jyhem I just succeeded with {$col.label|tra|escape} [13:11] Jyhem I'm going to fork templates/search/list/table.tpl in my theme for my project. I suspect *always* translating would cause other unintended weirdness for other use cases :-( [13:12] jonnyb was wondering about that but for tiki 18 it would be a good fix i think - translating is good, no? ;) [13:13] jonnyb maybe tr_if is pointless - i thought it was there for a reason lib/smarty_tiki/modifier.tr_if.php [13:14] Jyhem is it easy to add a "translate label" option to {column} ? Or maybe as part of the mode? [13:14] jonnyb just some smarty, it all happens in the tpl (LPH magic ;) ) [13:16] Jyhem translating is good until you find an acronym which happens to be an english word and then you need to add gratuitous spaces :-( [13:16] jonnyb :P [13:18] Jyhem BTW, the Xwiki guys suggested we do some online meeting some time or a meeting in Brussels and compare how we do some select stuff with Tiki, Xwiki and foswiki [13:19] jonnyb sounds good [13:22] Jyhem Maybe we can even plan one hour for it during the Japan Tikifest. [13:23] Jyhem Or in Brussels on friday night at the airBnB instead of wanderng for restaurants :) [13:23] Jyhem I just tried [13:23] Jyhem {column field="nom" label="Concours" translatelabel="y" mode="raw"} [13:23] Jyhem with {$col.label|tra|escape}{$col.translatelabel} in the tpl [13:24] Jyhem → Conclusion: it's harder than that :-( [13:24] Jyhem nothing shows for {$col.translatelabel} (I cleared caches) [13:26] jonnyb i thought that was how it worked... sorry, can't look into it more now [13:35] * Jyhem also needs to shower and eat. Thanks for the solution [13:46] amette_ left #tikiwiki [13:46] amette_ joined #tikiwiki [13:46] Jyhem jonnyb: It actually works! I was looking at the wrong place. Will commit later [13:47] jonnyb woo! \o/ [14:02] fabricius joined #tikiwiki [15:00] jonnyb joined #tikiwiki [15:33] montefuscolo luciash, we could update showcase on tiki.org [15:36] amette_ left #tikiwiki [15:36] amette_ joined #tikiwiki [16:47] robertokir joined #tikiwiki [17:05] jonnyb joined #tikiwiki [18:29] luciash montefuscolo: yes, it is deeply outdated. Gary is working on https://tiki.org/featured+tikis so probably the page should be merged... [21:49] robertokir joined #tikiwiki [22:12] Telesight joined #tikiwiki [23:06] fabricius joined #tikiwiki [23:21] Jyhem_ joined #tikiwiki