Time  Nick          Message
23:28 dcook         Oops
23:28 dcook         josef_moravec: Sorry for not getting to it sooner!
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:27 huginn        Bug http://bugs.koha-community.org/bugzilla3/show_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 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.org/bugzilla3/show_bug.cgi?id=15516#c255, I would appreciate your opinion on that, thanks!
22:14 dcook         I'll give it a go in a little bit too
22:13 dcook         Oh great!
22:13 josef_moravec dcook: Michal Denár is trying to test it just now as far as I know ;)
22:13 dcook         Ooo legend
22:13 huginn        Bug http://bugs.koha-community.org/bugzilla3/show_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 josef_moravec dcook: I added followup to bug 15516 which moves things to Koha::Object[s]
22:12 dcook         First thing here so I haven't checked my emails yet
22:11 josef_moravec dcook: me too ;)
22:11 dcook         I am around now haha
22:11 dcook         Oh hey :D
22:11 josef_moravec hi dcook ;)
22:11 huginn        dcook: The operation succeeded.
22:11 dcook         @later tell josef_moravec nope I wasn't around at that time
22:11 * dcook       waves
21:11 oleonard      Happy winter solstice :)
21:10 kidclamp      Kk
21:10 oleonard      It can wait
21:09 kidclamp      In a very vague sense
21:08 oleonard      kidclamp around?
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:03 huginn        Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27296 enhancement, P5 - low, ---, oleonard, Needs Signoff , Return claims should be filtered by default to show unresolved claims
19:03 cait          that sounds great :)
19:03 oleonard      I hope Bug 27296 works... I thought it was a fun challenge.
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: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!
18:55 cait          didn't see you in a while!
18:54 lisettelatah  right, good evening!
18:54 lisettelatah  happy holidays!
18:54 cait          happy holidays!
18:54 cait          more like evening here
18:53 cait          oh hi lisettelatah :)
17:33 lisettelatah  good morning cait
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: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 ;)
16:59 caroline      maybe start it and other people will pitch in?
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: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:53 oleonard      ashimema++
16:53 oleonard      Ah... becoming clearer, thanks ashimema !
16:53 * ashimema    should go cook for the kids.. they're starting to nash at the ankles :)
16:53 ashimema      __nx({borrwer} has one item, {borrower} has some items, count, {borrower: borrower.name});
16:53 ashimema      and doesn't even need to contain count at all
16:52 ashimema      but the point is.. vars can contain any number of variables.. not just the count one
16:52 ashimema      again, that's made up
16:52 ashimema      __nx({borrower} has one item, {borrower} has {count} items, count, {count: count_var, borrower: borrower.name});
16:50 ashimema      I'm just reading https://git.koha-community.org/Koha-community/Koha/src/branch/master/koha-tmpl/intranet-tmpl/js/i18n.js to understand
16:50 ashimema      don't think there are any in the codebase
16:50 oleonard      ashimema can you think of an example that shows what you mean?
16:49 ashimema      the second var is for substitution.. so wouldn't necessarily be {count} again
16:49 ashimema      equally bad example there.. but hopefully it makes sense
16:49 ashimema      where 'thing_var' could mean the string "Item" or "borrower" or something..
16:48 oleonard      I see that it works, but I don't understand why "count" is repeated in that example
16:48 ashimema      __nx(This is one {thing}, This is {count} {thing}, count, {thing: thing_var});
16:47 ashimema      so...
16:47 ashimema      it's so you can combine stuff
16:47 ashimema      or just confuse more?
16:47 ashimema      does that help?
16:47 ashimema      __nx(thing, {thingies} things, count, {thingies: count});
16:46 ashimema      soo
16:46 ashimema      __nx allows for the number to actually end up as part of the string
16:46 ashimema      (thing, things, count)
16:46 ashimema      so
16:46 ashimema      that one will not have the actual count added in..
16:45 ashimema      __n(msg, msg_plural, count)
16:45 ashimema      so
16:45 ashimema      one isn't
16:45 ashimema      one is allowing use of the number within the string..
16:45 ashimema      __n vs __nx
16:42 caroline      Though I don't know why there are 2x the variable
16:42 caroline      ah ok, I understand
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:40 caroline      how would it know the actual count though?
16:40 oleonard      No that doesn't make sense
16:39 oleonard      The first 3 is the actual count and the second is the translatable version?
16:39 caroline      Maybe you can check those? https://git.koha-community.org/Koha-community/Koha/commit/d3acf7bebc0084be622e1f0e1c655523e2ddc1cf
16:39 ashimema      oop
16:39 ashimema      hmm
16:39 caroline      he said he had to correct a couple of strings in pos
16:38 caroline      Joubu sent an email to the translation list recently about this
16:38 ashimema      what's confusing?
16:38 oleonard      Yeah I don't think anyone has yet. I couldn't find an example in the code.
16:37 caroline      oh I've never done plurals before... I only worked with contextualization
16:37 oleonard      Why are there two threes?
16:36 oleonard      alert(__nx("There is one item", "There are {count} items", 3, {count: 3}));
16:36 caroline      which comment?
16:36 oleonard      'm confused about one of the examples
16:36 oleonard      I
16:36 caroline      I think I've worked with it before
16:35 huginn        Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21156 enhancement, P5 - low, ---, julian.maurice, Pushed to stable , Internationalization: plural forms, context, and more for JS files
16:34 oleonard      Anyone around who is familiar with Bug 21156?
16:06 reiveune      bye
14:28 magnuse       have fun #koha!
13:27 cait          it's on my christmas reading list :)
13:27 cait          ashimema++ indeed and tcohen++ and all writers
13:25 magnuse       hiya oleonard
13:19 oleonard      Hi all
12:29 magnuse       thanks henryb and cait
11:34 henryb        ashimema++ the koha advent posts have been really educational :)
11:34 ashimema      I linked the post just before you joined tcohen :)
11:32 tcohen        I will submit a post about tweaking the gulpfile to do things automatically
11:32 tcohen        TimothyAlexis have you found the post?
11:12 ashimema      we do indeed
11:12 tcohen        we need a post about the gulpfile?
11:12 tcohen        morning
11:12 ashimema      I've been really bad the last few days.
11:11 ashimema      I should really get back to those posts :(
11:11 TimothyAlexis ashimema++
11:11 TimothyAlexis Oh THank you ashimema
11:11 tcohen        morning
11:10 ashimema      plugins
11:10 ashimema      that KohaAdvent explains how to setup static assets from Koha
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:00 cait          josef_moravec: he is in Australia, I think probably too late there
10:54 ashimema      there are some problems with using PLUGIN_PATH
10:53 ashimema      see the historic note on https://koha-community.gitlab.io/KohaAdvent/2020-12-10-static/
10:49 TimothyAlexis [% PLUGIN_PATH %]
10:39 josef_moravec dcook: around?
10:25 cait          gitlab is the main one
10:25 cait          the one on our git server is the mirror
10:24 cait          gitlab is still used
10:24 cait          magnuse: I tink henryb is right
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
09:12 magnuse       the links to gitlab on https://wiki.koha-community.org/wiki/Editing_the_Koha_Manual are no longer relevant, right?
09:11 magnuse       TimothyAlexis: that sounds awesome!
08:21 cait1         hi TimothyAlexis
08:21 cait1         New translations on translate.kc.org today!
08:08 TimothyAlexis We are discussing engaging more than only me from our team to contribute to community.
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:29 alex_a        Bonjour
07:28 wahanui       what's up, reiveune
07:28 reiveune      hello
07:28 reiveune      hello