Time |
S |
Nick |
Message |
00:25 |
|
|
AndrewFH joined #koha |
00:27 |
|
|
inlibro joined #koha |
00:49 |
|
|
AndrewFH joined #koha |
01:27 |
|
|
inlibro joined #koha |
01:43 |
|
|
did joined #koha |
02:27 |
|
|
inlibro joined #koha |
02:55 |
|
|
AndrewFH joined #koha |
02:58 |
|
|
dpk joined #koha |
03:09 |
|
|
edveal joined #koha |
03:14 |
|
|
edveal joined #koha |
03:14 |
|
|
edveal left #koha |
03:27 |
|
|
inlibro joined #koha |
04:28 |
|
|
inlibro joined #koha |
04:43 |
|
|
koha-jenkins joined #koha |
05:28 |
|
|
inlibro joined #koha |
06:28 |
|
|
inlibro joined #koha |
06:57 |
|
|
Oak joined #koha |
07:27 |
|
|
alex_a joined #koha |
07:28 |
|
|
reiveune joined #koha |
07:28 |
|
reiveune |
hello |
07:28 |
|
reiveune |
hello |
07:28 |
|
wahanui |
what's up, reiveune |
07:28 |
|
|
inlibro joined #koha |
07:29 |
|
alex_a |
Bonjour |
07:33 |
|
|
cait joined #koha |
07:48 |
|
|
did joined #koha |
07:52 |
|
|
sophie_m joined #koha |
07:55 |
|
|
TimothyAlexis joined #koha |
07:55 |
|
|
Oak joined #koha |
07:56 |
|
TimothyAlexis |
Hello, I'm working on a plugin, it uses a .tt file and I'm wondering how I can @import a .css into a <style> tag. How would the path be defined? |
07:58 |
|
|
cait joined #koha |
08:01 |
|
|
lds joined #koha |
08:03 |
|
|
cait1 joined #koha |
08:07 |
|
|
paul_p joined #koha |
08:08 |
|
TimothyAlexis |
We are discussing engaging more than only me from our team to contribute to community. |
08:17 |
|
|
fridolin joined #koha |
08:21 |
|
cait1 |
New translations on translate.kc.org today! |
08:21 |
|
cait1 |
hi TimothyAlexis |
08:28 |
|
|
inlibro joined #koha |
08:51 |
|
|
alex_a_ joined #koha |
08:51 |
|
|
fridolin joined #koha |
09:11 |
|
magnuse |
TimothyAlexis: that sounds awesome! |
09:12 |
|
magnuse |
the links to gitlab on https://wiki.koha-community.or[…]g_the_Koha_Manual are no longer relevant, right? |
09:28 |
|
|
inlibro joined #koha |
09:57 |
|
|
Oak joined #koha |
10:06 |
|
|
Oak joined #koha |
10:13 |
|
|
henryb joined #koha |
10:19 |
|
henryb |
magnuse: I think the Gitlab links for the manual are still relevant (but caroline may know better). We are no longer using taiga though |
10:24 |
|
|
cait joined #koha |
10:24 |
|
cait |
magnuse: I tink henryb is right |
10:24 |
|
cait |
gitlab is still used |
10:25 |
|
cait |
the one on our git server is the mirror |
10:25 |
|
cait |
gitlab is the main one |
10:29 |
|
|
inlibro joined #koha |
10:36 |
|
|
josef_moravec joined #koha |
10:39 |
|
josef_moravec |
dcook: around? |
10:49 |
|
TimothyAlexis |
[% PLUGIN_PATH %] |
10:53 |
|
ashimema |
see the historic note on https://koha-community.gitlab.[…]020-12-10-static/ |
10:54 |
|
ashimema |
there are some problems with using PLUGIN_PATH |
11:00 |
|
cait |
josef_moravec: he is in Australia, I think probably too late there |
11:08 |
|
TimothyAlexis |
Is it even possible to use a .css file in a plugin? [% PLUGIN_PATH %] = $self->get_plugin_http_path()... which is '/plugin/blablabla' which isn't really accessible from Koha. |
11:10 |
|
ashimema |
that KohaAdvent explains how to setup static assets from Koha |
11:10 |
|
ashimema |
plugins |
11:11 |
|
tcohen |
morning |
11:11 |
|
TimothyAlexis |
Oh THank you ashimema |
11:11 |
|
TimothyAlexis |
ashimema++ |
11:11 |
|
ashimema |
I should really get back to those posts :( |
11:12 |
|
ashimema |
I've been really bad the last few days. |
11:12 |
|
tcohen |
morning |
11:12 |
|
tcohen |
we need a post about the gulpfile? |
11:12 |
|
ashimema |
we do indeed |
11:13 |
|
|
fridolin1 joined #koha |
11:29 |
|
|
inlibro joined #koha |
11:32 |
|
tcohen |
TimothyAlexis have you found the post? |
11:32 |
|
tcohen |
I will submit a post about tweaking the gulpfile to do things automatically |
11:34 |
|
ashimema |
I linked the post just before you joined tcohen :) |
11:34 |
|
henryb |
ashimema++ the koha advent posts have been really educational :) |
12:03 |
|
|
khall_ joined #koha |
12:04 |
|
|
cait1 joined #koha |
12:26 |
|
|
AndrewFH joined #koha |
12:28 |
|
|
cait1 joined #koha |
12:29 |
|
|
inlibro joined #koha |
12:29 |
|
magnuse |
thanks henryb and cait |
12:35 |
|
|
khall joined #koha |
13:06 |
|
|
khall_ joined #koha |
13:19 |
|
oleonard |
Hi all |
13:25 |
|
magnuse |
hiya oleonard |
13:27 |
|
cait |
ashimema++ indeed and tcohen++ and all writers |
13:27 |
|
cait |
it's on my christmas reading list :) |
13:29 |
|
|
inlibro joined #koha |
13:39 |
|
|
AndrewFH joined #koha |
13:42 |
|
|
fridolin joined #koha |
13:44 |
|
|
josef_moravec joined #koha |
13:53 |
|
|
marie-luce joined #koha |
14:03 |
|
|
josef_moravec joined #koha |
14:07 |
|
|
lukeG joined #koha |
14:07 |
|
|
fridolin1 joined #koha |
14:15 |
|
|
paul_p_ joined #koha |
14:28 |
|
magnuse |
have fun #koha! |
14:29 |
|
|
inlibro joined #koha |
14:32 |
|
|
AndrewFH joined #koha |
14:33 |
|
|
fridolin joined #koha |
14:35 |
|
|
AndrewFH joined #koha |
15:30 |
|
|
inlibro joined #koha |
15:43 |
|
|
cait1 joined #koha |
15:52 |
|
|
cait joined #koha |
16:06 |
|
reiveune |
bye |
16:06 |
|
|
reiveune left #koha |
16:23 |
|
|
lisettelatah joined #koha |
16:28 |
|
|
fridolin left #koha |
16:30 |
|
|
inlibro joined #koha |
16:34 |
|
oleonard |
Anyone around who is familiar with Bug 21156? |
16:35 |
|
huginn |
Bug http://bugs.koha-community.org[…]_bug.cgi?id=21156 enhancement, P5 - low, ---, julian.maurice, Pushed to stable , Internationalization: plural forms, context, and more for JS files |
16:36 |
|
caroline |
I think I've worked with it before |
16:36 |
|
oleonard |
I |
16:36 |
|
oleonard |
'm confused about one of the examples |
16:36 |
|
caroline |
which comment? |
16:36 |
|
oleonard |
alert(__nx("There is one item", "There are {count} items", 3, {count: 3})); |
16:37 |
|
oleonard |
Why are there two threes? |
16:37 |
|
caroline |
oh I've never done plurals before... I only worked with contextualization |
16:38 |
|
oleonard |
Yeah I don't think anyone has yet. I couldn't find an example in the code. |
16:38 |
|
ashimema |
what's confusing? |
16:38 |
|
caroline |
Joubu sent an email to the translation list recently about this |
16:39 |
|
caroline |
he said he had to correct a couple of strings in pos |
16:39 |
|
ashimema |
hmm |
16:39 |
|
ashimema |
oop |
16:39 |
|
caroline |
Maybe you can check those? https://git.koha-community.org[…]e1c655523e2ddc1cf |
16:39 |
|
oleonard |
The first 3 is the actual count and the second is the translatable version? |
16:40 |
|
oleonard |
No that doesn't make sense |
16:40 |
|
caroline |
how would it know the actual count though? |
16:41 |
|
oleonard |
It would be passed as a variable from the script: alert(__nx("There is one item", "There are {count} items", javascript_variable, {count: javascript_variable })); |
16:42 |
|
caroline |
ah ok, I understand |
16:42 |
|
caroline |
Though I don't know why there are 2x the variable |
16:45 |
|
ashimema |
__n vs __nx |
16:45 |
|
ashimema |
one is allowing use of the number within the string.. |
16:45 |
|
ashimema |
one isn't |
16:45 |
|
ashimema |
so |
16:45 |
|
ashimema |
__n(msg, msg_plural, count) |
16:46 |
|
ashimema |
that one will not have the actual count added in.. |
16:46 |
|
ashimema |
so |
16:46 |
|
ashimema |
(thing, things, count) |
16:46 |
|
ashimema |
__nx allows for the number to actually end up as part of the string |
16:46 |
|
ashimema |
soo |
16:47 |
|
ashimema |
__nx(thing, {thingies} things, count, {thingies: count}); |
16:47 |
|
ashimema |
does that help? |
16:47 |
|
ashimema |
or just confuse more? |
16:47 |
|
ashimema |
it's so you can combine stuff |
16:47 |
|
ashimema |
so... |
16:48 |
|
ashimema |
__nx(This is one {thing}, This is {count} {thing}, count, {thing: thing_var}); |
16:48 |
|
oleonard |
I see that it works, but I don't understand why "count" is repeated in that example |
16:49 |
|
ashimema |
where 'thing_var' could mean the string "Item" or "borrower" or something.. |
16:49 |
|
ashimema |
equally bad example there.. but hopefully it makes sense |
16:49 |
|
ashimema |
the second var is for substitution.. so wouldn't necessarily be {count} again |
16:50 |
|
oleonard |
ashimema can you think of an example that shows what you mean? |
16:50 |
|
ashimema |
don't think there are any in the codebase |
16:50 |
|
ashimema |
I'm just reading https://git.koha-community.org[…]t-tmpl/js/i18n.js to understand |
16:52 |
|
ashimema |
__nx({borrower} has one item, {borrower} has {count} items, count, {count: count_var, borrower: borrower.name}); |
16:52 |
|
ashimema |
again, that's made up |
16:52 |
|
ashimema |
but the point is.. vars can contain any number of variables.. not just the count one |
16:53 |
|
ashimema |
and doesn't even need to contain count at all |
16:53 |
|
ashimema |
__nx({borrwer} has one item, {borrower} has some items, count, {borrower: borrower.name}); |
16:53 |
|
* ashimema |
should go cook for the kids.. they're starting to nash at the ankles :) |
16:53 |
|
oleonard |
Ah... becoming clearer, thanks ashimema ! |
16:53 |
|
oleonard |
ashimema++ |
16:54 |
|
ashimema |
it took me ages to get my head around the TT equivalents.. so I had a head start having quizzed jajm and joubu a few times around it ;) |
16:56 |
|
|
Joubu joined #koha |
16:57 |
|
oleonard |
I'd love to work up a wiki page on it all but I don't understand it well enough myself |
16:58 |
|
|
cait left #koha |
16:59 |
|
caroline |
maybe start it and other people will pitch in? |
17:00 |
|
|
skimsk joined #koha |
17:03 |
|
oleonard |
That's probably a good idea caroline. Sometimes people are more willing to help if they get to tell you you're wrong ;) |
17:03 |
|
caroline |
I was more thinking along the lines of "it's easier to edit than start a new page from scratch" but ok, lol! |
17:17 |
|
|
cait joined #koha |
17:30 |
|
|
inlibro joined #koha |
17:33 |
|
lisettelatah |
good morning cait |
18:30 |
|
|
inlibro joined #koha |
18:53 |
|
cait |
oh hi lisettelatah :) |
18:54 |
|
cait |
more like evening here |
18:54 |
|
cait |
happy holidays! |
18:54 |
|
lisettelatah |
happy holidays! |
18:54 |
|
lisettelatah |
right, good evening! |
18:55 |
|
cait |
didn't see you in a while! |
19:02 |
|
lisettelatah |
Yeah I've been catching up on a bunch of other projects in the building and haven't had as much time for Koha lately. Now I get to go back to doing more Koha stuff again! |
19:03 |
|
lisettelatah |
I'm going to be adding some exciting template toolkit slip examples to the wiki either this week or next week. |
19:03 |
|
oleonard |
I hope Bug 27296 works... I thought it was a fun challenge. |
19:03 |
|
cait |
that sounds great :) |
19:03 |
|
huginn |
Bug http://bugs.koha-community.org[…]_bug.cgi?id=27296 enhancement, P5 - low, ---, oleonard, Needs Signoff , Return claims should be filtered by default to show unresolved claims |
19:09 |
|
oleonard |
I need to leave better notes for myself about why I'm abandoning a work in progress because it doesn't work... |
19:30 |
|
|
inlibro joined #koha |
20:15 |
|
|
AndrewFH joined #koha |
20:30 |
|
|
inlibro joined #koha |
21:08 |
|
oleonard |
kidclamp around? |
21:09 |
|
kidclamp |
In a very vague sense |
21:10 |
|
oleonard |
It can wait |
21:10 |
|
kidclamp |
Kk |
21:11 |
|
oleonard |
Happy winter solstice :) |
21:31 |
|
|
inlibro joined #koha |
21:46 |
|
|
AndrewFH joined #koha |
21:57 |
|
|
josef_moravec joined #koha |
22:06 |
|
|
AndrewFH joined #koha |
22:11 |
|
* dcook |
waves |
22:11 |
|
dcook |
@later tell josef_moravec nope I wasn't around at that time |
22:11 |
|
huginn |
dcook: The operation succeeded. |
22:11 |
|
josef_moravec |
hi dcook ;) |
22:11 |
|
dcook |
Oh hey :D |
22:11 |
|
dcook |
I am around now haha |
22:11 |
|
josef_moravec |
dcook: me too ;) |
22:12 |
|
dcook |
First thing here so I haven't checked my emails yet |
22:13 |
|
josef_moravec |
dcook: I added followup to bug 15516 which moves things to Koha::Object[s] |
22:13 |
|
huginn |
Bug http://bugs.koha-community.org[…]_bug.cgi?id=15516 new feature, P5 - low, ---, julian.maurice, Needs Signoff , Allow to place a hold on first available item from a group of titles |
22:13 |
|
dcook |
Ooo legend |
22:13 |
|
josef_moravec |
dcook: Michal Denár is trying to test it just now as far as I know ;) |
22:13 |
|
dcook |
Oh great! |
22:14 |
|
dcook |
I'll give it a go in a little bit too |
22:31 |
|
|
inlibro joined #koha |
23:27 |
|
josef_moravec |
dcook: I am going to sleep, bug 15516 is signed off, generally working, but need more work I think, please see this comment: https://bugs.koha-community.or[…]cgi?id=15516#c255, I would appreciate your opinion on that, thanks! |
23:27 |
|
huginn |
Bug http://bugs.koha-community.org[…]_bug.cgi?id=15516 new feature, P5 - low, ---, julian.maurice, Signed Off , Allow to place a hold on first available item from a group of titles |
23:27 |
|
huginn |
Bug 15516: new feature, P5 - low, ---, julian.maurice, Signed Off , Allow to place a hold on first available item from a group of titles |
23:28 |
|
dcook |
josef_moravec: Sorry for not getting to it sooner! |
23:28 |
|
dcook |
Oops |
23:31 |
|
|
inlibro joined #koha |