/srv/irclogs.ubuntu.com/2019/11/02/#xubuntu-devel.txt

-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Refresh translation templates @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=24c933943661107e9be05217e8a0188f1bc6f89f (by Sean Davis)01:58
=== brainwash_ is now known as brainwash
-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Restore translation ability to xfhelp4.desktop and xubuntu.desktop @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=8a1c3a58536965de213eeea745af3b9f1e59b1ae (by Sean Davis)03:09
-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Add debian/files to .gitignore @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=2698a9999d1f50d5dce30c4e5327139617453563 (by Sean Davis)03:09
-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Remove conffiles /etc/xdg/xdg-xubuntu/autostart/xfce4-tips-autostart.desktop and /etc/xdg/xdg-xubunt... @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=3601dcea09b1c7d508a44998e6318082b1ad9965 (by Sean Davis)03:18
Unit193(Sorry)03:18
Unit193So, as far as translations go we have several things supporting it, and several that do not such as thunar-print which uses notify-send to display messages in English only.03:23
Unit193https://git.launchpad.net/xubuntu-default-settings/tree/usr/share/polkit-1/actions I'd still really like it if we could upstream that. :/03:23
bluesabreI agree03:25
Unit193When I had poked about that, codebrainz didn't seem too interested.  Would you have better luck?  Does AndreLDM have some control over that pkg?03:37
bluesabreYeah, I can bring it up again03:45
Unit193Thanks!03:47
-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Merge translation templates with Launchpad @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=564cbabe8fd949b8821a5e03235e09b3b83d3dd5 (by Sean Davis)04:06
bluesabreUnit193: thanks for that note about thunar-print, I'll see if I can get that translatable today12:16
-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Refresh translations now that everything is connected again, and update da @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=77085fa45c7c1d757fb95a8ae098fafb78b98096 (by Sean Davis)12:17
Unit193Hello.  OK!12:17
bluesabreother than that, everything should be translatable again now :)12:17
Unit193Bash scripts aren't too hard to add translation support to, with that script you'd mainly just adjust it so rather than repeating lines you add FailMsg= or so.12:23
Unit193(I have a crappy weather script with translations support.)12:23
=== GridCube_ is now known as GridCube
-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Make thunar-print translatable @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=c2a577572bfb89b55c70d205cfa3510292dbe6c3 (by Sean Davis)14:32
bluesabreUnit193: look sane? ^14:33
Unit193Err..14:34
bluesabre(ish)14:38
-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Convert Makefile spaces to tabs @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=77f51ab66ba71a34408adf1d304599714297d979 (by Sean Davis)14:38
Unit193You realize you can just put  TEXTDOMAIN=thunar-print  then use 'echo $"All script options:"'  ?14:44
Unit193(There's a newer, nicer way to do it, but I can't remember what.)14:45
bluesabreI didn't realize that... the google searches made it out to be harder14:46
bluesabreI'll give it a go though14:46
bluesabreOh, does that play well with variable expansion (e.g. File %s failed to print)14:47
Unit193I have line+=$"Observed: $obtime"14:49
bluesabreAh... ../thunar-print:10: warning: the syntax $"..." is deprecated due to security reasons; use eval_gettext instead14:50
Unit193https://www.tldp.org/LDP/abs/html/localization.html14:50
Unit193Aha!14:50
bluesabreThanks14:50
Unit193That's the function I was thinking of.14:51
Unit193https://www.gnu.org/software/gettext/manual/html_node/Preparing-Shell-Scripts.html might be way better...14:54
Unit193eval_gettext () { gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst "$1")14:59
Unit193Heh, doesn't seem like it'd be any faster after all.14:59
bluesabre:D15:01
bluesabreThink I've got it15:01
bluesabreUnit193: https://paste.ubuntu.com/p/GHrfhBx9fR/ how's that?15:02
bluesabreInterestingly intltool is still dumb with eval_gettext15:03
Unit193...Is it overthinking it to use "$program does not seem to be installed" and just change the program rahter than re-translating it 4 times? :D15:09
Unit193(Likely, yes.  I'll shut it now)  Seems good?15:09
bluesabreThat's a good point15:09
-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Better gettext handling, simpler translations @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=6e9091cdc9a62b7b8efe905f629586f0b8ab02f9 (by Sean Davis)15:18
bluesabreAs always, thanks Unit193 15:18
Unit193Thank you, bluesabre!  And huh, did not know #: ../thunar-print:27 ../thunar-print:36 ../thunar-print:45 ../thunar-print:56  was a thing.15:19
-SwissBot:#xubuntu-devel- ::xubuntu-default-settings:: Use 'Print file(s)' instead of 'Print file/s' @ http://git.launchpad.net/xubuntu-default-settings/commit/?id=3d89b1b0e5d1683dc783a815ada17fe20570b7d8 (by Sean Davis)21:51
=== GridCube_ is now known as GridCube

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!