mirror of
https://github.com/labwc/labwc.git
synced 2026-04-09 08:21:18 -04:00
closes #917 Summary follows: - src/menu/menu.c: add `leave` action to call lab-exit. - clients/meson.build: add install routine for lab-exit and lab-sensible-terminal. - meson.build remove lab-sensible-terminal routine re the comment. - po/labwc.pot: rebuild with new xgettext commands. - po/it.po: add translations for lab-exit and edit my email. - CONTRIBUTING.md#translations: modify the instructions for coders as two xgettext commands are needed since we now have two GUI facing languages that have translatable strings.
27 lines
471 B
Bash
Executable file
27 lines
471 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# logout with labnag
|
|
|
|
export TEXTDOMAIN=labwc
|
|
export OUTPUT_CHARSET=UTF-8
|
|
alias _='gettext'
|
|
|
|
QUESTION=$(_ 'Are you sure you want to quit Labwc?')
|
|
YES=$(_ 'Yes')
|
|
NO=$(_ 'No')
|
|
|
|
labnag \
|
|
-f "mono 10"\
|
|
-m "$QUESTION"\
|
|
-Z " $YES " "labwc -e"\
|
|
-Z " $NO "\
|
|
--background 00ffff\
|
|
--button-background 00ffff\
|
|
--border 00ccccaa\
|
|
--text 000000\
|
|
--button-text 000000\
|
|
--button-gap 8\
|
|
--button-margin-right 0\
|
|
--button-padding 5\
|
|
--button-border-size 2\
|
|
-t 60
|