*** edogawa has quit IRC | 00:00 | |
*** ricardocrudo has quit IRC | 00:09 | |
*** artfwo has quit IRC | 02:21 | |
rgareus | drobilla: does lilv_node_as_string() honor translations? | 02:24 |
---|---|---|
rgareus | schemas.lv2/doap.ttl has a wrong translation doap:Project ... rdfs:label "Prijekt"@de , "Project"@en ,... | 02:26 |
rgareus | in German it's "Projekt" | 02:26 |
rgareus | anyway, run lv2info on an unclassified plugin and lv2info prints Class: Prijekt | 02:27 |
rgareus | same in Ardour. I got a comple of Prijekts :) | 02:27 |
rgareus | it seems lilv/sord just takes the first listed label regardless of locale. | 02:28 |
drobilla | rgareus: You should get the nodes that correspond to the current locale | 05:12 |
drobilla | rgareus: There is no meaningful "first listed". First sorted by lang name, maybe. | 05:13 |
drobilla | There is a test case for this that tinkers LANG and checks lilv_port_get_name, but it should apply to anything similar | 05:14 |
*** colock has quit IRC | 05:20 | |
*** colock has joined #lv2 | 05:25 | |
*** colock has quit IRC | 06:03 | |
*** colock has joined #lv2 | 06:27 | |
*** edogawa has joined #lv2 | 07:01 | |
*** colock has quit IRC | 07:57 | |
*** sigma6 has joined #lv2 | 08:41 | |
*** ventosus has joined #lv2 | 08:48 | |
*** falktx has joined #lv2 | 08:52 | |
*** ssj71 has quit IRC | 08:54 | |
*** ricardocrudo has joined #lv2 | 09:16 | |
*** ricardocrudo has quit IRC | 09:26 | |
*** timbyr has joined #lv2 | 09:33 | |
*** ricardocrudo has joined #lv2 | 10:47 | |
*** NickSB2 has joined #lv2 | 10:55 | |
*** ventosus has left #lv2 | 10:59 | |
*** aombk3 has quit IRC | 11:22 | |
*** ziggypup has joined #lv2 | 11:29 | |
*** ziggypup has left #lv2 | 11:29 | |
rgareus | drobilla: easy way to test http://paste.debian.net/333507/ | 12:13 |
rgareus | drobilla: that prints LANG=en_US.UTF-8 Class: Prijekt | 12:14 |
*** ventosus has joined #lv2 | 13:32 | |
*** edogawa has quit IRC | 14:54 | |
*** ventosus has left #lv2 | 14:54 | |
drobilla | rgareus: It is a plugin class specific bug. The plugin class stuff just gets the rdfs_label, doesn't use the get all lands lilvnodes bit | 15:01 |
drobilla | Which probably means it's also true of several other things that use Sord directly internally | 15:01 |
drobilla | (Also doap is annoying and plugins being doap:Projects was dumb as hell) | 15:01 |
rgareus | drobilla: untranslatable class/category is fine with me. For AudioUnit they're not translated, either. | 15:28 |
rgareus | drobilla: I just added extra filters to the Ardour Plugin Manager GUI and noticed the "Prijekt" typo. | 15:28 |
drobilla | rgareus: Nah, it needs fixing and is easy enough | 15:51 |
drobilla | The language stuff just isn't applied everywhere a string is fetched | 15:51 |
drobilla | State labels will also have the same problem | 15:52 |
drobilla | I'll look into it later. Looking at IRC this morning has already violated the first rule of this morning :) | 15:52 |
rgareus | drobilla: if you make this translatable, I'll have to update Ardour to directly use the URIs to identify Classes. | 15:54 |
rgareus | drobilla: which I should probably have done in the first place. | 15:54 |
*** badosu has joined #lv2 | 15:59 | |
*** ssj71 has joined #lv2 | 17:01 | |
*** sigma6 has quit IRC | 17:07 | |
drobilla | rgareus: Surely. The labels are very definitely not usable as identifiers | 17:29 |
rgareus | drobilla: I've just prepared this. | 17:42 |
rgareus | drobilla: I don't know if we can easily keep the plugin's const LilvPluginClass* in LV2PluginInfo | 17:43 |
rgareus | drobilla: it looks like it's not a pointer to the world's LilvPluginClasses but a plugin specific const pointer. | 17:43 |
rgareus | so LV2PluginInfo will have to keep a POD copy of the URI or something similar. | 17:44 |
*** falktx has quit IRC | 17:55 | |
*** uncle-j_j has joined #lv2 | 18:22 | |
*** ricardocrudo has quit IRC | 18:55 | |
drobilla | rgareus: I don't think they're ever copied, should be a pointer to the world ones, but reloading could theoretically nuke those anyway. Since speed is irrelevant, just using a string and looking up info when you need it seems a safe bet | 19:03 |
*** deva has joined #lv2 | 19:18 | |
*** falktx has joined #lv2 | 20:43 | |
*** ricardocrudo has joined #lv2 | 20:58 | |
*** deva has quit IRC | 21:00 | |
*** uncle-j_j has quit IRC | 21:15 | |
*** rncbc has joined #lv2 | 21:23 | |
*** aombk has joined #lv2 | 22:11 | |
*** HarryHaaren has joined #lv2 | 22:18 | |
*** edogawa has joined #lv2 | 22:40 | |
*** ricardocrudo has quit IRC | 22:42 | |
*** ricardocrudo has joined #lv2 | 22:55 | |
*** falktx has quit IRC | 23:13 | |
*** HarryHaaren has quit IRC | 23:16 | |
*** edogawa has quit IRC | 23:28 | |
*** rncbc has quit IRC | 23:34 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!