sync with the 2.0 branch

This commit is contained in:
Dana Jansens 2002-08-31 06:15:07 +00:00
parent e811623978
commit 923c381dc1
74 changed files with 586 additions and 184 deletions

39
AUTHORS
View file

@ -49,37 +49,42 @@ Contributors:
nls contributors:
Mads Martin Joergensen <mmj@suse.de>
- Danish (da_DK) nls support
- Danish (da_DK)
Jan Schaumann <jschauma@netmeister.org>
- German (de_DE) nls support
- German (de_DE)
Adriano Varoli Piazza <adrianovaroli@redusers.com>
- Spanish nls support (submitted as es_AR, ES and MX)
- Spanish (submitted as es_AR, ES and MX)
Duret Bertrand <bertrand.duret@libertysurf.fr>
- updated French (fr_FR) nls and added French man pages
- updated French (fr_FR)
Bodnar Istvan <piggy@dub.hu>
- Hungarian (hu_HU) support
- Hungarian (hu_HU)
Luca Marrazzo <marra.luca@libero.it>
- Italian (it_IT) nls support
- Italian (it_IT)
SATO Satoru <ssato@adachi.ne.jp>
- Japanese (ja_JP) nls support and man pages
- Japanese (ja_JP)
Hyun Suk Noh <tzesti@users.sourceforge.net>
- Korean (ko_KR) nls support
- Korean (ko_KR)
Wilbert Berendsen <wbsoft@xs4all.nl>
- man pages and Dutch (nl_NL) nls support
- Dutch (nl_NL)
Øyvind Stegard <oyvind.stegard@bluezone.no>
- Norwegian (no_NO) nls support
Wojciech Krygier <wkrygie@kis.p.lodz.pl>
- Polish (pl_PL) nls support
- Norwegian (no_NO)
Wojciech Krygier <wkrygie@kis.p.lodz.pl>
- Polish (pl_PL)
Ciprian Popovici <ciprian@zuavra.net>
- Romanian (ro_RO) nls support
- Romanian (ro_RO)
Michail A. Rusinov <one@da.ru>
Dmitriy N. Rusinov <rusinov@udm.net>
- Russian (ru_RU)
Marian Andre <andre@intrak.sk>
- Slovakian (sk_SK)
Ales Kosir <ales.kosir@telemach.net>
- Slovenian man pages and (sl_SI) nls support
- Slovenian (sl_SI)
Volodymyr M. Lisivka <lvm@mystery.lviv.net>
- Ukrainian (uk_UA) nls support
- Ukrainian (uk_UA)
Wang Tiejun <wtj@dept3.buaa.edu.cn>
- Chinese (zh_CN) nls support
- Chinese (zh_CN)
Moto Chen <han_yi_chen@yahoo.com.tw>
- Taiwan Chinese (zh_TW) support
- Taiwan Chinese (zh_TW)
Past Contributors:
Jeffrey Sean Connell <ankh@canuck.gen.nz>

View file

@ -292,6 +292,7 @@ nls/nl_NL/Makefile
nls/pt_BR/Makefile
nls/ro_RO/Makefile
nls/ru_RU/Makefile
nls/sk_SK/Makefile
nls/sl_SI/Makefile
nls/sv_SE/Makefile
nls/tr_TR/Makefile

View file

@ -22,7 +22,7 @@ and to a flexible variety of third-party applications that it uses when handling
\fIimage\fR is centered on the desktop.
.TP
\fB\-e\fR, \fB\-exec\fR \fIprogram\fR \fIoptions\fR \fIfallback\-\fIarg\fR \fIimage\fR
This option tells \fBbsetbg\fR to run a seperate command by executing \fIprogram\fR with
This option tells \fBbsetbg\fR to run a separate command by executing \fIprogram\fR with
\fIoptions\fR, where \fIoptions\fR are arguments to \fIprogram\fR.
If a \fIfallback\-arg\fR is supplied (\fB\-full\fR, \fB\-tile\fR, or \fB\-center\fR
@ -44,6 +44,14 @@ Output a list of default configuration values, suitable for redirecting into
\fI~/.bsetbgrc\fR. Any arguments that are supplied will be considered applications
to search for in the system path, overriding \fBbsetbg\fR's internal defaults.
.TP
\fB\-app\fR \fIimageApp\fR
Use this flag to specify which image application to use. This
application may be one of the pre-defined list or any application
capable of displaying an image on the root window. This flag may be
used in conjunction with passing application specific parameters to
the application, in which
case they should be enclosed in double quotes.
.TP
\fB\-v\fR, \fB\-version\fR
Output version number.
.TP
@ -118,7 +126,11 @@ An example of the \fB-exec\fR argument:
An example in which bsetbg creates a configuration file using xv and qiv:
bsetbg -g xv qiv > ~/.bsetbgrc
bsetbg -g xv qiv > ~/.bsetbgrc
An example of the use of the \fB-app\fR argument:
bsetbg -app qiv "-o rgb:d6/c5/a2 -x" -c foo.png
.SH AUTHOR
The author of

View file

@ -4,7 +4,8 @@ $ #MustSpecify
# %s: error: must specify one of: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
-display <string> display connection\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> use display connection\n\
-mod <x> <y> modula pattern\n\
-foreground, -fg <color> modula foreground color\n\
-background, -bg <color> modula background color\n\n\

View file

@ -2,7 +2,8 @@
NLSTEST = @NLS@
SUBDIRS = C da_DK de_DE es_AR es_ES et_EE fr_FR hu_HU it_IT ja_JP ko_KR nl_NL \
no_NO pl_PL pt_BR ro_RO ru_RU sl_SI sv_SE tr_TR uk_UA zh_CN zh_TW
no_NO pl_PL pt_BR ro_RO ru_RU sk_SK sl_SI sv_SE tr_TR uk_UA \
zh_CN zh_TW
MAINTAINERCLEANFILES = Makefile.in blackbox-nls.hh
DISTCLEANFILES = blackbox-nls.hh

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: fejl: specificér en af følgende: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> skærmtilslutning\n\
-mod <x> <y> modula mønster\n\
-foreground, -fg <color> modula foregrundsfarve\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: error: must specify one of: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> Display Verbindung\n\
-mod <x> <y> Modula Muster\n\
-foreground, -fg <color> Modula Vordergrund Farbe\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: error: debe especificarse uno entre: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> conexión al display\n\
-mod <x> <y> diseño de modula\n\
-foreground, -fg <color> color de primer plano de modula\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: error: debe especificarse uno entre: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> conexión de despliegue\n\
-mod <x> <y> diseño de modula\n\
-foreground, -fg <color> color de primer plano de modula\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: viga: pead määratlema ühe järgnevaist: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> displei ühendus\n\
-mod <x> <y> moodula tapeet\n\
-foreground, -fg <color> esiplaani värvi moodula\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: Erreur: il faut préciser : -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <chaîne> connexion à l'affichage\n\
-mod <x> <y> motif\n\
-foreground, -fg <couleur> couleur d'avant plan\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: hiba: kötelező megadni egy kapcsolót: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> használandó kijelző\n\
-mod <x> <y> modula minta\n\
-foreground, -fg <color> modula előtér színe\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: errore: deve essere specificato uno dei seguenti: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> connessione display\n\
-mod <x> <y> modello di modula\n\
-foreground, -fg <color> colore di primo piano di modula\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: : : -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> \n\
-mod <x> <y> \n\
-foreground, -fg <color> \n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: error: must specify one of: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> display connection\n\
-mod <x> <y> modula pattern\n\
-foreground, -fg <color> modula foreground color\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: fout: een van -solid, -mod, -gradient moet aangegeven worden\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <displaynaam> display verbinding\n\
-mod <x> <y> modula patroon\n\
-foreground, -fg <kleur> modula voorgrondkleur\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: feil: én av følgende opsjoner må spesifiseres: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> skjermtilkobling3\n\
-mod <x> <y> modula mønster\n\
-foreground, -fg <color> modula forgrunnsfarge\n\

View file

@ -16,7 +16,7 @@ $ #ErrorAllocatingColormap
$ #ColorAllocFail
# BImageControl::BImageControl: alokacja koloru %d/%d/%d nieudana\n
$ #PixmapRelease
# BImageControl::BImageControl: pixmap cache - zwalniam %d pixmap\n
# BImageControl::BImageControl: pixmap cache - zwalniam %d pixmap(y)\n
$ #PixmapCacheLarge
# BImageControl::renderImage: duża pamięć cache, wymuszam czyszczenie\n
$ #ColorParseError

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: błąd: należy użyć jednej z opcji: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> połącz z podanym panelem graficznym\n\
-mod <x> <y> współczynniki siatki typu modula\n\
-foreground, -fg <color> kolor siatki\n\

View file

@ -3,14 +3,14 @@ $set 1 #BaseDisplay
$ #XError
# %s: X erro: %s(%d) opcodes %d/%d\n recurso 0x%lx\n
$ #SignalCaught
# %s: recebeido sinal %d\n
# %s: sinal recebido %d\n
$ #ShuttingDown
# desligando\n
# finalizando\n
$ #Aborting
# abortando... gerando arquivo core\n
# abortando... descarregando memória\n
$ #XConnectFail
# BaseDisplay::BaseDisplay: conecção ao servidor X falhou.\n
$ #CloseOnExecFail
# BaseDisplay::BaseDisplay: impossivel marcar a conexão ao display como close-on-exec\n
# BaseDisplay::BaseDisplay: impossível exibir sinal de conexão como fechar-em-execução\n
$ #BadWindowRemove
# BaseDisplay::eventLoop(): removendo má janela da trilha de eventos\n
# BaseDisplay::eventLoop(): removendo janela inválida da lista de eventos\n

View file

@ -1,4 +1,4 @@
$set 2 #Basemenu
$ #BlackboxMenu
# Menu Blackbox
# Menu do Blackbox

View file

@ -16,18 +16,22 @@ $ #FocusNew
# Foco em Novas Janelas
$ #FocusLast
# Foco na Ultima Janela Da Area de Trabalho
$ #DisableBindings
# Disabilitar Ações com Scroll Lock
$ #ClickToFocus
# Foco na Janela Quando Clicada
# Clicar para Focar
$ #SloppyFocus
# Foco na Janela Quando Apontada
# Apontar para Focar
$ #AutoRaise
# Sobrepor Janela Quando Ativa
# Auto-sobrepor
$ #ClickRaise
# Click Raise
$ #SmartRows
# Posicionamento em Fila
# Organizar Rapido (Linha)
$ #SmartCols
# Posicionamento em Coluna
# Organizar Rapido (Coluna)
$ #Cascade
# Posicionamento em Cascata
# Organizar em Cascata
$ #LeftRight
# Esquerda para Direita
$ #RightLeft

View file

@ -9,16 +9,16 @@ $ #UnsupVisual
$ #ErrorCreatingPixmap
# BImage::renderPixmap: erro criando pixmap\n
$ #InvalidColormapSize
# BImageControl::BImageControl: mapa de cores de tamanho invalido %d (%d/%d/%d) - reduzindo\n
# BImageControl::BImageControl: tamanho invalido de mapa de cores %d (%d/%d/%d) - reduzindo\n
$ #ErrorAllocatingColormap
# BImageControl::BImageControl: erro localizando mapa de cores\n
# BImageControl::BImageControl: erro determinando mapa de cores\n
$ #ColorAllocFail
# BImageControl::BImageControl: falha localizando cor %d/%d/%d\n
# BImageControl::BImageControl: falha em alocar cor %d/%d/%d\n
$ #PixmapRelease
# BImageControl::~BImageControl: reserva de pixmap cheia - liberando %d pixmaps\n
# BImageControl::~BImageControl: cache de pixmap - liberando pixmaps %d\n
$ #PixmapCacheLarge
# BImageControl::renderImage: reserva cheia, forçando limpeza\n
# BImageControl::renderImage: cache está grande, forçando desalocação\n
$ #ColorParseError
# BImageControl::getColor: color parse error: '%s'\n
# BImageControl::getColor: erro ao analizar cor: '%s'\n
$ #ColorAllocError
# BImageControl::getColor: erro localizando cor: '%s'\n
# BImageControl::getColor: erro ao alocar cor: '%s'\n

View file

@ -1,7 +1,7 @@
$set 6 #Screen
$ #AnotherWMRunning
# BScreen::BScreen: um erro occorreu enquanto chamando o servidor X.\n \
# BScreen::BScreen: um erro occorreu enquanto consultava o servidor X.\n \
existe outro window menager rodando no display. %s.\n
$ #ManagingScreen
# BScreen::BScreen: managing screen %d using visual 0x%lx, depth %d\n
@ -18,31 +18,33 @@ $ #Restart
$ #Exit
# Sair
$ #EXECError
# BScreen::parseMenuFile: [exec] erro, não há indicação definida no menu e/ou comando definido\n
# BScreen::parseMenuFile: [exec] erro, sem rótulo de menu e/ou comando definido\n
$ #EXITError
# BScreen::parseMenuFile: [exit] erro, não há indicação definida no menu\n
# BScreen::parseMenuFile: [exit] erro, sem rótulo de menu definido\n
$ #STYLEError
# BScreen::parseMenuFile: [style] erro, não há indicação de menu e/ou nome de arquivo difinido\n
# BScreen::parseMenuFile: [style] erro, sem rótulo de menu e/ou nome do arquivo \
definido\n
$ #CONFIGError
# BScreen::parseMenuFile: [config] erro, não há indicação definida no menu\n
# BScreen::parseMenuFile: [config] erro, sem rótulo de menu definido\n
$ #INCLUDEError
# BScreen::parseMenuFile: [include] erro, nome de arquivo não definido\n
$ #INCLUDEErrorReg
# BScreen::parseMenuFile: [include] error, '%s' não é um arquivo regular\n
$ #SUBMENUError
# BScreen::parseMenuFile: [submenu] erro, não há indicação definida no menu\n
# BScreen::parseMenuFile: [submenu] erro, sem rótulo de menu definido\n
$ #RESTARTError
# BScreen::parseMenuFile: [restart] erro, não há indicação definida no menu\n
# BScreen::parseMenuFile: [restart] erro, sem rótulo de menu definido\n
$ #RECONFIGError
# BScreen::parseMenuFile: [reconfig] erro, não há indicação definida no menu\n
# BScreen::parseMenuFile: [reconfig] erro, sem rótulo de menu definido\n
$ #STYLESDIRError
# BScreen::parseMenuFile: [stylesdir/stylesmenu] erro, não há diretorio difinido\n
# BScreen::parseMenuFile: [stylesdir/stylesmenu] erro, sem diretorio difinido\n
$ #STYLESDIRErrorNotDir
# BScreen::parseMenuFile: [stylesdir/stylesmenu] erro, '%s' não é um diretorio\n
# BScreen::parseMenuFile: [stylesdir/stylesmenu] erro, '%s' não é um \
diretorio\n
$ #STYLESDIRErrorNoExist
# BScreen::parseMenuFile: [stylesdir/stylesmenu] erro, '%s' não existe\n
$ #WORKSPACESError
# BScreen::parseMenuFile: [workspaces] erro, não há indicação definida no menu\n
# BScreen::parseMenuFile: [workspaces] erro, sem rótulo de menu definido\n
$ #PositionLength
# 0: 0000 x 0: 0000
$ #PositionFormat

View file

@ -3,6 +3,6 @@ $set 7 #Slit
$ #SlitTitle
# Slit
$ #SlitDirection
# Direção
# Direção do Slit
$ #SlitPlacement
# Posicionamento
# Posicionamento do Slit

View file

@ -15,8 +15,8 @@ $ #NoStrftimeTimeFormatP
$ #NoStrftimeTimeFormatA
# a
$ #ToolbarTitle
# Toolbar
# Barra de Ferramenta
$ #EditWkspcName
# Renomear Area de Trabalho
# Editar o nome da area de trabalho corrente
$ #ToolbarPlacement
# Posicionamento
# Posicionamento da Barra de Ferramentas

View file

@ -6,7 +6,7 @@ $ #Creating
$ #XGetWindowAttributesFail
# BlackboxWindow::BlackboxWindow: XGetWindowAttributres falhou\n
$ #CannotFindScreen
# BlackboxWindow::BlackboxWindow: impossivel encontrar tela para janela 0x%lx\n
# BlackboxWindow::BlackboxWindow: impossivel encontrar tela para janela principal 0x%lx\n
$ #Unnamed
# Sem Nome
$ #MapRequest
@ -14,4 +14,4 @@ $ #MapRequest
$ #UnmapNotify
# BlackboxWindow::unmapNotifyEvent() para 0x%lx\n
$ #ReparentNotify
# BlackboxWindow::reparentNotifyEvent: reparent 0x%lx to 0x%lx\n
# BlackboxWindow::reparentNotifyEvent: reparent 0x%lx para 0x%lx\n

View file

@ -3,18 +3,18 @@ $set 10 #Windowmenu
$ #SendTo
# Enviar Para ...
$ #Shade
# Encolher
# Ocultar
$ #Iconify
# Minimizar
$ #Maximize
# Maximizar
$ #Raise
# Focalizar
# Trazer pra Frente
$ #Lower
# Desfocalizar
# Levar pra Traz
$ #Stick
# Sempre Visivel
$ #KillClient
# Kill Cliente
# Matar Cliente
$ #Close
# Fechar

View file

@ -1,6 +1,6 @@
$set 13 #blackbox
$ #NoManagableScreens
# Blackbox::Blackbox: não foram encontradas telas administraveis, abortando..\n
# Blackbox::Blackbox: não encontradas telas gerenciaveis, abortando..\n
$ #MapRequest
# Blackbox::process_event: MapRequest para 0x%lx\n

View file

@ -1,16 +1,16 @@
$set 16 #bsetroot
$ #MustSpecify
# %s: erro: necessario especificar um dos seguintes argumentos: -solid, -mod, -gradient\n
# %s: erro: necessario especificar uma das opções: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
-display <string> conexão com display\n\
-mod <x> <y> modula pattern\n\
-foreground, -fg <color> modula foreground color\n\
-background, -bg <color> modula background color\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> conexão com video\n\
-mod <x> <y> modula padrão\n\
-foreground, -fg <color> modula cor do primeiro plano\n\
-background, -bg <color> modula cor do segundo plano\n\
-gradient <texture> textura gradiente\n\
-from <color> cor de inicio do gradiente\n\
-to <color> com do fim do gradiente\n\n\
-solid <color> cor solida\n\n\
-help mostra essa ajuda e sai\n
-to <color> com do fim do gradiente\n\
-solid <color> cor solida\n\
-help mostra este texto de ajuda e sai\n

View file

@ -13,7 +13,7 @@ $ #DirectionVert
# Vertical
$ #AlwaysOnTop
# Sempre Visivel
# Sempre vísivel
$ #PlacementTitle
# Posicionamento
@ -24,12 +24,15 @@ $ #PlacementCenterLeft
$ #PlacementBottomLeft
# Em Baixo a Esquerda
$ #PlacementTopCenter
# No Alto e no Centro
# No Alto ao Centro
$ #PlacementBottomCenter
# Em Baixo e no Centro
# Em Baixo ao Centro
$ #PlacementTopRight
# No Alto a Direita
$ #PlacementCenterRight
# No Meio a Direita
$ #PlacementBottomRight
# Em Baixo a Direita
$ #AutoHide
# Auto-ocultar

View file

@ -15,12 +15,12 @@ $ #Usage
-display <string>\t\tusar conexão com o display.\n\
-rc <string>\t\t\tusar arquivo alternativo de recursos.\n\
-menu <string>\t\tusar arquivo alternativo de menu.\n\
-version\t\t\tmostrar versao e sair.\n\
-help\t\t\t\tmostrar esta ajuda e sair.\n\n
-version\t\t\texibe a versao e sair.\n\
-help\t\t\t\texibe este texto de ajuda e sair.\n\n
$ #CompileOptions
# Opções em tempo de compilação:\n\
Informações extras para problemas:\t\t\t%s\n\
Depuração:\t\t\t%s\n\
Forma:\t\t\t%s\n\
Xft:\t\t\t\t%s\n\
Xinerama:\t\t\t%s\n\
8bpp Simulação ordenada de cores em imagens:\t%s\n\n
Simulação Ordenada de Cores em 8bpp:\t%s\n\n

View file

@ -5,6 +5,7 @@ $ #MustSpecify
-solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <sir> conexiunea la ecran\n\
-mod <x> <y> model\n\
-foreground, -fg <color> culoare plan apropiat pentru model\n\

View file

@ -5,11 +5,11 @@ $ #XError
$ #SignalCaught
# %s: получен сигнал %d \n
$ #ShuttingDown
# отключение\n
# shutting down\n
$ #Aborting
# Отмена... создается дамп core\n
$ #XConnectFail
# BaseDisplay::BaseDisplay: соединение с X сервером провалено.\n
# BaseDisplay::BaseDisplay: ошибка соединения с X сервером.\n
$ #CloseOnExecFail
# BaseDisplay::BaseDisplay: нет возможности пометить активный дисплей как "закрытый-на-исполнение"\n
$ #BadWindowRemove

View file

@ -5,23 +5,27 @@ $ #ConfigOptions
$ #FocusModel
# Модель фокусировки
$ #WindowPlacement
# Положение окна
# Расположение окон
$ #ImageDithering
# Image Dithering
# Сглаживать изображения
$ #OpaqueMove
# Перемещение заполненных окон
# Показывать содержимое окон при перемещении
$ #FullMax
# Полная максимизация
$ #FocusNew
# Перемещать фокус на новые окна
$ #FocusLast
# Фокус на последнее окно рабочего стола
# Перемещать фокус при смене рабочего стола
$ #DisableBindings
# Scroll Lock отключает сочетания клавиш
$ #ClickToFocus
# Фокус по щелчку
$ #SloppyFocus
# Фокус по перемещению
$ #AutoRaise
# Автовсплытие
$ #ClickRaise
# Всплытие по щелчку
$ #SmartRows
# "Умное" расположение (по горизонтали)
$ #SmartCols

View file

@ -1,4 +1,4 @@
$set 4 #Icon
$ #Icons
# Свернутые\nокна
# Свернутые окна

View file

@ -9,7 +9,7 @@ $ #UnsupVisual
$ #ErrorCreatingPixmap
# BImage::renderPixmap: ĎŰÉÂËÁ ÓĎÚÄÁÎÉŃ pixmap\n
$ #InvalidColormapSize
# BImageControl::BImageControl: неверный размер таблицы цветов %d (%d/%d/%d) - удаляется\n
# BImageControl::BImageControl: 绿<EFBFBD> %d (%d/%d/%d) - n
$ #ErrorAllocatingColormap
# BImageControl::BImageControl: ĎŰÉÂËÁ ŇÁÚÍĹÝĹÎÉŃ ÔÁÂĚÉĂŮ Ă×ĹÔĎ×\n
$ #ColorAllocFail
@ -17,7 +17,7 @@ $ #ColorAllocFail
$ #PixmapRelease
# BImageControl::~BImageControl: ËÜŰ ÔĎŢĹŢÎŮČ ÉÚĎÂŇÁÖĹÎÉĘ - ĎÓ×ĎÂĎÖÄÁĹÔÓŃ %d ÂĚĎËĎ×\n
$ #PixmapCacheLarge
# BImageControl::renderImage: переполнение кэша, производится быстрая очистка\n
# BImageControl::renderImage: , n
$ #ColorParseError
# BImageControl::getColor: ĎŰÉÂËÁ ŇÁÚÂĎŇÁ ÓÔŇĎËÉ, ĎĐÉÓŮ×ÁŔÝĹĘ Ă×ĹÔ: '%s'\n
$ #ColorAllocError

View file

@ -8,17 +8,17 @@ $ #ManagingScreen
$ #FontLoadFail
# BScreen::LoadStyle(): ÎÅÔ ×ÏÚÍÏÖÎÏÓÔÉ ÚÁÇÒÕÚÉÔØ ÛÒÉÆÔ '%s'\n
$ #DefaultFontLoadFail
# BScreen::LoadStyle(): нет возможности загрузить предопределенный шрифт.\n
# BScreen::LoadStyle(): нет возможности загрузить шрифт по умолчанию.\n
$ #EmptyMenuFile
# %s: ÐÕÓÔÏÊ ÆÁÊÌ ÍÅÎÀ\n
$ #xterm
# Xterm
# XTerm
$ #Restart
# ðÅÒÅÚÁÐÕÓË
$ #Exit
# ÷ÙÈÏÄ
$ #EXECError
# BScreen::parseMenuFile: ошибка [exec], не определено название пункта меню и/или название комманды\n
# BScreen::parseMenuFile: ошибка [exec], не определено название пункта меню и/или комманда\n
$ #EXITError
# BScreen::parseMenuFile: ÏÛÉÂËÁ [exit], ÎÅ ÏÐÒÅÄÅÌÅÎÏ ÎÁÚ×ÁÎÉÅ ÐÕÎËÔÁ ÍÅÎÀ\n
$ #STYLEError

View file

@ -3,6 +3,6 @@ $set 7 #Slit
$ #SlitTitle
# äÏËÅÒ
$ #SlitDirection
#
# Направление докера
$ #SlitPlacement
#
# Местоположение докера

View file

@ -17,6 +17,6 @@ $ #NoStrftimeTimeFormatA
$ #ToolbarTitle
# ôÕÌÂÁÒ
$ #EditWkspcName
# Редактировать имя текущего рабочего стола
# Переименовать текущий рабочий стол
$ #ToolbarPlacement
# íÅÓÔÏÐÏÌÏÖÅÎÉÅ ÔÕÌÂÁÒÁ

View file

@ -4,14 +4,14 @@ $set 9 #Window
$ #Creating
# BlackboxWindow::BlackboxWindow: ÓÏÚÄÁÅÔÓÑ 0x%lx\n
$ #XGetWindowAttributesFail
# BlackboxWindow::BlackboxWindow: провален процесс XGetWindowAttributres\n
# BlackboxWindow::BlackboxWindow: ошибка процесса XGetWindowAttributres\n
$ #CannotFindScreen
# BlackboxWindow::BlackboxWindow: нет возможности найти экран для корневого окна 0x%lx\n
# BlackboxWindow::BlackboxWindow: не найден экран для корневого окна 0x%lx\n
$ #Unnamed
# Безымянное
# Без имени
$ #MapRequest
# BlackboxWindow::mapRequestEvent() ÄÌÑ 0x%lx\n
$ #UnmapNotify
# BlackboxWindow::unmapNotifyEvent() ÄÌÑ 0x%lx\n
$ #ReparentNotify
# BlackboxWindow::reparentNotifyEvent: reparent 0x%lx to 0x%lx\n
# BlackboxWindow::reparentNotifyEvent: смена родителя для 0x%lx на 0x%lx\n

View file

@ -3,4 +3,4 @@ $set 13 #blackbox
$ #NoManagableScreens
# Blackbox::Blackbox: не найдено экранов для обслуживания, отмена...\n
$ #MapRequest
# Blackbox::process_event: MapRequest for 0x%lx\n
# Blackbox::process_event: MapRequest ÄÌÑ 0x%lx\n

View file

@ -4,10 +4,11 @@ $ #MustSpecify
# %s: : <EFBFBD> : -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
-display <string> соединение с дисплеем\n\
-mod <x> <y> макет клетки\n\
-foreground, -fg <color> цвет переднего плана клетки\n\
-background, -bg <color> цвет фона клетки\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> n\
-mod <x> <y> <EFBFBD> n\
-foreground, -fg <color> n\
-background, -bg <color> \n\n\
-gradient <texture> \n\
-from <color> <EFBFBD> n\
-to <color> n\n\

View file

@ -24,12 +24,15 @@ $ #PlacementCenterLeft
$ #PlacementBottomLeft
# óÌÅ×Á ×ÎÉÚÕ
$ #PlacementTopCenter
# Сверху по центру
# Вверху по центру
$ #PlacementBottomCenter
# Снизу по центру
# Внизу по центру
$ #PlacementTopRight
# Справа сверху
# Справа вверху
$ #PlacementCenterRight
# óÐÒÁ×Á ÐÏ ÃÅÎÔÒÕ
$ #PlacementBottomRight
# óÐÒÁ×Á ×ÎÉÚÕ
$ #AutoHide
# Скрывать автоматически

16
nls/sk_SK/BaseDisplay.m Normal file
View file

@ -0,0 +1,16 @@
$set 1 #BaseDisplay
$ #XError
# %s: X chyba: %s(%d) operaèné kódy %d/%d\n zdroj 0x%lx\n
$ #SignalCaught
# %s: prijatý signál %d\n
$ #ShuttingDown
# ukonèuje sa\n
$ #Aborting
# preru¹uje sa... výpis obsahu pamäte (dumping core)\n
$ #XConnectFail
# BaseDisplay::BaseDisplay: zlyhalo pripojenie k X serveru\n
$ #CloseOnExecFail
# BaseDisplay::BaseDisplay: nie je mo¾né oznaèi» pripojenie k obrazovke ako close-on-exec\n
$ #BadWindowRemove
# BaseDisplay::eventLoop(): odstraòuje sa chybné okno z fronty udalostí\n

4
nls/sk_SK/Basemenu.m Normal file
View file

@ -0,0 +1,4 @@
$set 2 #Basemenu
$ #BlackboxMenu
# Blackbox Menu

42
nls/sk_SK/Configmenu.m Normal file
View file

@ -0,0 +1,42 @@
$set 3 #Configmenu
$ #ConfigOptions
# Konfiguračné voľby
$ #FocusModel
# Model zamerania
$ #WindowPlacement
# Umiestnenie okna
$ #ImageDithering
# Modifikácia farieb a jasu na obraze
$ #OpaqueMove
# Presúvanie celého okna
$ #FullMax
# Plná maximalizácia
$ #FocusNew
# Zamerať nové okná
$ #FocusLast
# Zamerať okno pri zmene pracovnej plochy
$ #DisableBindings
# Zakázať väzby s klávesou Scroll Lock
$ #ClickToFocus
# Kliknúť pre zameranie
$ #SloppyFocus
# Nedbanlivé zameranie
$ #AutoRaise
# Automaticky presunúť do popredia
$ #ClickRaise
# Po kliknutí presunúť do popredia
$ #SmartRows
# Inteligentné umiestnenie (riadky)
$ #SmartCols
# Inteligentné umiestnenie (stĺpce)
$ #Cascade
# Kaskádové umiestnenie
$ #LeftRight
# Zľava doprava
$ #RightLeft
# Sprava doľava
$ #TopBottom
# Zhora nadol
$ #BottomTop
# Zdola nahor

4
nls/sk_SK/Icon.m Normal file
View file

@ -0,0 +1,4 @@
$set 4 #Icon
$ #Icons
# Ikony

24
nls/sk_SK/Image.m Normal file
View file

@ -0,0 +1,24 @@
$set 5 #Image
$ #ErrorCreatingSolidPixmap
# BImage::render_solid: chyba pri vytváraní pixmapy\n
$ #ErrorCreatingXImage
# BImage::renderXImage: chyba pri vytváraní XImage\n
$ #UnsupVisual
# BImage::renderXImage: nepodporované zobrazenie\n
$ #ErrorCreatingPixmap
# BImage::renderPixmap: chyba pri vytváraní pixmapy\n
$ #InvalidColormapSize
# BImageControl::BImageControl: chybná veľkost colormapy %d (%d/%d/%d) - redukuje sa\n
$ #ErrorAllocatingColormap
# BImageControl::BImageControl: chyba pri alokovaní colormapy\n
$ #ColorAllocFail
# BImageControl::BImageControl: chyba pri alokovaní farby %d/%d/%d\n
$ #PixmapRelease
# BImageControl::~BImageControl: vyrovnávacia pamäť pre pixmapy - uvoľňuje sa %d pixmáp\n
$ #PixmapCacheLarge
# BImageControl::renderImage: vyrovnávacia pamäť je príliš veľká, vynútené vyprázdnenie\n
$ #ColorParseError
# BImageControl::getColor: chyba pri analýze farby: '%s'\n
$ #ColorAllocError
# BImageControl::getColor: chyba pri alokovaní farby: '%s'\n

35
nls/sk_SK/Makefile.am Normal file
View file

@ -0,0 +1,35 @@
# Makefile.am for Blackbox - an X11 Window Manager
NLSTEST = @NLS@
THE_LANG = sk_SK
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
CLEANFILES = blackbox.cat
MAINTAINERCLEANFILES = Makefile.in Translation.m
DISTCLEANFILES = Translation.m
MFILES = @srcdir@/BaseDisplay.m @srcdir@/Basemenu.m @srcdir@/Configmenu.m @srcdir@/Icon.m @srcdir@/Image.m @srcdir@/Screen.m @srcdir@/Slit.m @srcdir@/Toolbar.m @srcdir@/Window.m @srcdir@/Windowmenu.m @srcdir@/Workspace.m @srcdir@/Workspacemenu.m @srcdir@/blackbox.m @srcdir@/common.m @srcdir@/main.m @srcdir@/bsetroot.m
all-local: blackbox.cat
install-data-local: blackbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(THE_NLS_PATH)"; \
$(mkinstalldirs) $(THE_NLS_PATH); \
$(INSTALL_DATA) blackbox.cat $(THE_NLS_PATH); \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(THE_NLS_PATH)/blackbox.cat; \
rmdir $(THE_NLS_PATH); \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
fi
blackbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
$(gencat_cmd) blackbox.cat Translation.m; \
fi
distclean-local:
rm -f *\~ .\#*

52
nls/sk_SK/Screen.m Normal file
View file

@ -0,0 +1,52 @@
$set 6 #Screen
$ #AnotherWMRunning
# BScreen::BScreen: pri dopytovaní X servera nastala chyba.\n \
na displeji je práve spustený ïal¹í správca okien %s.\n
$ #ManagingScreen
# BScreen::BScreen: riadiaca obrazovka %d pou¾íva zobrazenie 0x%lx, håbka %d\n
$ #FontLoadFail
# BScreen::LoadStyle(): nie je mo¾né nahra» font '%s'\n
$ #DefaultFontLoadFail
# BScreen::LoadStyle(): nie je mo¾né nahra» predvolený font.\n
$ #EmptyMenuFile
# %s: prázdny menu súbor\n
$ #xterm
# xterm
$ #Restart
# Re¹tart
$ #Exit
# Koniec
$ #EXECError
# BScreen::parseMenuFile: [exec] chyba, nedefinovaný titulok menu a/alebo príkaz\n
$ #EXITError
# BScreen::parseMenuFile: [exit] chyba, nedefinovaný titulok menu\n
$ #STYLEError
# BScreen::parseMenuFile: [style] chyba, nedefinovaný titulok menu a/alebo názov súboru\n
$ #CONFIGError
# BScreen::parseMenuFile: [config] chyba, nedefinovaný titulok menu\n
$ #INCLUDEError
# BScreen::parseMenuFile: [include] chyba, nedefinovaný názov súboru\n
$ #INCLUDEErrorReg
# BScreen::parseMenuFile: [include] chyba, '%s' nie je obyèajný súbor\n
$ #SUBMENUError
# BScreen::parseMenuFile: [submenu] chyba, nedefinovaný titulok menu\n
$ #RESTARTError
# BScreen::parseMenuFile: [restart] chyba, nedefinovaný titulok menu\n
$ #RECONFIGError
# BScreen::parseMenuFile: [reconfig] chyba, nedefinovaný titulok menu\n
$ #STYLESDIRError
# BScreen::parseMenuFile: [stylesdir/stylesmenu] chyba, nedefinovaný adresár\n
$ #STYLESDIRErrorNotDir
# BScreen::parseMenuFile: [stylesdir/stylesmenu] chyba, '%s' nie je adresár\n
$ #STYLESDIRErrorNoExist
# BScreen::parseMenuFile: [stylesdir/stylesmenu] chyba, '%s' neexistuje\n
$ #WORKSPACESError
# BScreen::parseMenuFile: [workspaces] chyba, nedefinovaný titulok menu\n
$ #PositionLength
# 0: 0000 x 0: 0000
$ #PositionFormat
# X: %4d x Y: %4d
$ #GeometryFormat
# W: %4d x H: %4d

8
nls/sk_SK/Slit.m Normal file
View file

@ -0,0 +1,8 @@
$set 7 #Slit
$ #SlitTitle
# Slit
$ #SlitDirection
# Smer Slitu
$ #SlitPlacement
# Umiestnenie Slitu

22
nls/sk_SK/Toolbar.m Normal file
View file

@ -0,0 +1,22 @@
$set 8 #Toolbar
$ #NoStrftimeLength
# 00:00000
$ #NoStrftimeDateFormat
# %02d/%02d/%02d
$ #NoStrftimeDateFormatEu
# %02d.%02d.%02d
$ #NoStrftimeTimeFormat24
# %02d:%02d
$ #NoStrftimeTimeFormat12
# %02d:%02d %sm
$ #NoStrftimeTimeFormatP
# p
$ #NoStrftimeTimeFormatA
# a
$ #ToolbarTitle
# Panel nástrojov
$ #EditWkspcName
# Zmeni» názov aktuálnej pracovnej plochy
$ #ToolbarPlacement
# Umiestnenie panela nástrojov

17
nls/sk_SK/Window.m Normal file
View file

@ -0,0 +1,17 @@
$set 9 #Window
$ #Creating
# BlackboxWindow::BlackboxWindow: vytvára sa 0x%lx\n
$ #XGetWindowAttributesFail
# BlackboxWindow::BlackboxWindow: zlyhanie XGetWindowAttributres\n
$ #CannotFindScreen
# BlackboxWindow::BlackboxWindow: nie je mo¾né nájs» obrazovku pre základné okno 0x%lx\n
$ #Unnamed
# Nepomenované
$ #MapRequest
# BlackboxWindow::mapRequestEvent() pre 0x%lx\n
$ #UnmapNotify
# BlackboxWindow::unmapNotifyEvent() pre 0x%lx\n
$ #ReparentNotify
# BlackboxWindow::reparentNotifyEvent: zmena potomka 0x%lx na rodièa 0x%lx\n

20
nls/sk_SK/Windowmenu.m Normal file
View file

@ -0,0 +1,20 @@
$set 10 #Windowmenu
$ #SendTo
# Umiestni» na ...
$ #Shade
# Zrolova»
$ #Iconify
# Zmeni» na ikonu
$ #Maximize
# Maximalizova»
$ #Raise
# Presunú» do popredia
$ #Lower
# Presunú» do pozadia
$ #Stick
# Prilepi»
$ #KillClient
# Ukonèi» klienta
$ #Close
# Zavrie»

4
nls/sk_SK/Workspace.m Normal file
View file

@ -0,0 +1,4 @@
$set 11 #Workspace
$ #DefaultNameFormat
# Pracovná plocha %d

View file

@ -0,0 +1,8 @@
$set 12 #Workspacemenu
$ #WorkspacesTitle
# Pracovné plochy
$ #NewWorkspace
# Nová pracovná plocha
$ #RemoveLast
# Odstrániť poslednú

6
nls/sk_SK/blackbox.m Normal file
View file

@ -0,0 +1,6 @@
$set 13 #blackbox
$ #NoManagableScreens
# Blackbox::Blackbox: nena¹li sa spravovateµné obrazovky, ru¹í sa\n
$ #MapRequest
# Blackbox::process_event: MapRequest pre 0x%lx\n

17
nls/sk_SK/bsetroot.m Normal file
View file

@ -0,0 +1,17 @@
$set 16 #bsetroot
$ #MustSpecify
# %s: chyba: musíte ¹pecifikova» jeden z parametrov: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> pripojenie k obrazovke\n\
-mod <x> <y> modul vzorky\n\
-foreground, -fg <color> modul farby popredia\n\
-background, -bg <color> modul farby pozadia\n\n\
-gradient <texture> textúra farebného prechodu\n\
-from <color> poèiatoèná farba vo farebnom prechode\n\
-to <color> koneèná farba vo farebnom prechode\n\n\
-solid <color> jednoliata farba\n\n\
-help vypí¹e túto nápovedu a skonèí\n

38
nls/sk_SK/common.m Normal file
View file

@ -0,0 +1,38 @@
$set 15 #Common
$ #Yes
# Áno
$ #No
# Nie
$ #DirectionTitle
# Smer
$ #DirectionHoriz
# Horizontálny
$ #DirectionVert
# Vertikálny
$ #AlwaysOnTop
# Stále na vrchu
$ #PlacementTitle
# Umiestnenie
$ #PlacementTopLeft
# Vµavo hore
$ #PlacementCenterLeft
# Uprostred vµavo
$ #PlacementBottomLeft
# Vµavo dole
$ #PlacementTopCenter
# Hore uprostred
$ #PlacementBottomCenter
# Dole uprostred
$ #PlacementTopRight
# Vpravo hore
$ #PlacementCenterRight
# Uprostred vpravo
$ #PlacementBottomRight
# Vpravo dole
$ #AutoHide
# Automaticky skry»

20
nls/sk_SK/main.m Normal file
View file

@ -0,0 +1,20 @@
$set 14 #main
$ #RCRequiresArg
# chyba: '-rc' vy¾aduje argument\n
$ #DISPLAYRequiresArg
# chyba: '-display' vy¾aduje argument\n
$ #WarnDisplaySet
# varovanie: nie je mo¾né nastavi» premennú prostredia 'DISPLAY'\n
$ #Usage
# Blackbox %s : (c) 2001 - 2002 Sean 'Shaleh' Perry\n\
\t\t\t 1997 - 2000, 2002 Brad Hughes\n\n\
-display <string>\t\tpou¾ije sa pripojenie k zadanému displeju.\n\
-rc <string>\t\t\tpou¾ije sa alternatívny konfiguraèný súbor.\n\
-version\t\t\tzobrazí verziu a skonèí.\n\
-help\t\t\t\tzobrazí túto nápovedu a skonèí.\n\n
$ #CompileOptions
# Nastavenia v èase kompilácie:\n\
Ladenie\t\t\t%s\n\
Shape:\t\t\t%s\n\
8bpp Ordered Dithering:\t%s\n\n

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: napaka: doloèiti je treba eno: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> prika¾i povezavo\n\
-mod <x> <y> vzorec\n\
-foreground, -fg <color> barva ospredja\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: fel: måste specifiera en av: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> skärmanslutning\n\
-mod <x> <y> modulamönster\n\
-foreground, -fg <color> förgrundsfärg för modulamönster\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s : hata : -solid, -mod yada -gradient'den birisini belirlemek zorundasın\n
$ #Usage
# %s 2.0 : Tel'if hakkı (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <metin> ekran belirlemesi\n\
-mod <x> <y> bölüşüm işlemi\n\
-foreground, -fg <renk> bölüşüm önalanı\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: помилка: необхдно задати один з наступних ключв: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> обслуговувати вказаний дисплей\n\
-mod <x> <y> макет клтки\n\
-foreground, -fg <color> колр переднього плану клтки\n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: : : -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> \n\
-mod <x> <y> \n\
-foreground, -fg <color> \n\

View file

@ -4,6 +4,7 @@ $ #MustSpecify
# %s: error: must specify one of: -solid, -mod, -gradient\n
$ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
(c) 2001-2002 Sean 'Shaleh' Perry\n\n\
-display <string> display connection\n\
-mod <x> <y> modula pattern\n\
-foreground, -fg <color> modula foreground color\n\

View file

@ -411,7 +411,7 @@ const ScreenInfo* BaseDisplay::getScreenInfo(unsigned int s) const {
BGCCache* BaseDisplay::gcCache(void) const {
if (! gccache)
gccache = new BGCCache(this);
gccache = new BGCCache(this, screenInfoList.size());
return gccache;
}

View file

@ -84,20 +84,20 @@ Basemenu::Basemenu(BScreen *scrn) {
which_press =
which_sbl = -1;
menu.sublevels =
menu.persub =
menu.minsub = 0;
menu.frame_pixmap =
menu.title_pixmap =
menu.hilite_pixmap = None;
menu.bevel_w = screen->getBevelWidth();
MenuStyle *style = screen->getMenuStyle();
const MenuStyle* const style = screen->getMenuStyle();
menu.width = menu.title_h = menu.item_w = menu.frame_h =
style->t_font->height() + (menu.bevel_w * 2);
menu.sublevels =
menu.persub =
menu.minsub = 0;
menu.item_h = style->f_font->height() + menu.bevel_w;
menu.height = menu.title_h + screen->getBorderWidth() + menu.frame_h;
@ -142,26 +142,25 @@ Basemenu::Basemenu(BScreen *scrn) {
// completely created. items must be inserted and it must be update()'d
}
Basemenu::~Basemenu(void) {
XUnmapWindow(display, menu.window);
if (shown && shown->getWindowID() == getWindowID())
shown = (Basemenu *) 0;
MenuItems::const_iterator it = menuitems.begin();
while (it != menuitems.end()) {
BasemenuItem *item = *it;
MenuItems::const_iterator it = menuitems.begin(),
end = menuitems.end();
for (; it != end; ++it) {
if (! internal_menu) {
Basemenu *tmp = (Basemenu *) item->submenu();
Basemenu *tmp = (*it)->submenu();
if (tmp) {
if (! tmp->internal_menu) {
if (! tmp->internal_menu)
delete tmp;
} else {
else
tmp->internal_hide();
}
}
}
++it;
}
std::for_each(menuitems.begin(), menuitems.end(), PointerAssassin());
@ -225,13 +224,12 @@ int Basemenu::remove(int index) {
if (! item) return -1;
if (! internal_menu) {
Basemenu *tmp = (Basemenu *) item->submenu();
Basemenu *tmp = item->submenu();
if (tmp) {
if (! tmp->internal_menu) {
if (! tmp->internal_menu)
delete tmp;
} else {
else
tmp->internal_hide();
}
}
}
@ -249,7 +247,7 @@ int Basemenu::remove(int index) {
void Basemenu::update(void) {
MenuStyle *style = screen->getMenuStyle();
const MenuStyle* const style = screen->getMenuStyle();
menu.item_h = (style->f_font->height() < 9 ? 9 : style->f_font->height()) +
menu.bevel_w; // 9 for the menu pixmaps (checkmarks)
menu.title_h = style->t_font->height() + menu.bevel_w * 2;
@ -273,7 +271,7 @@ void Basemenu::update(void) {
if (! menuitems.empty()) {
menu.sublevels = 1;
unsigned int menu_size = menuitems.size();
const unsigned int menu_size = menuitems.size();
while (((menu.item_h * (menu_size + 1) / menu.sublevels)
+ menu.title_h + screen->getBorderWidth()) >
screen->getHeight())
@ -431,7 +429,7 @@ void Basemenu::redrawTitle(void) {
i18n(BasemenuSet, BasemenuBlackboxMenu, "Blackbox Menu");
int dx = menu.bevel_w;
unsigned int l;
MenuStyle *style = screen->getMenuStyle();
const MenuStyle* const style = screen->getMenuStyle();
l = style->t_font->measureString(text) + menu.bevel_w * 2;
@ -463,12 +461,13 @@ void Basemenu::drawSubmenu(int index) {
item = find(index);
if (! item)
return;
Basemenu *submenu = item->submenu();
if (submenu && visible && ! submenu->isTorn() && item->isEnabled()) {
if (submenu->parent != this) submenu->parent = this;
int sbl = index / menu.persub, i = index - (sbl * menu.persub),
x = menu.x + ((menu.item_w * (sbl + 1)) + screen->getBorderWidth()), y;
const int sbl = index / menu.persub, i = index - (sbl * menu.persub);
int x = menu.x + ((menu.item_w * (sbl + 1)) + screen->getBorderWidth()), y;
if (alignment == AlignTop) {
y = (((shifted) ? menu.y_shift : menu.y) +
@ -528,13 +527,13 @@ void Basemenu::drawItem(int index, bool highlight, bool clear,
bool dotext = True, dohilite = True, dosel = True, dooppsel = True;
const char *text = item->label();
int sbl = index / menu.persub, i = index - (sbl * menu.persub);
const int sbl = index / menu.persub, i = index - (sbl * menu.persub);
const unsigned int half_w = menu.item_h / 2, quarter_w = menu.item_h / 4;
int item_x = (sbl * menu.item_w), item_y = (i * menu.item_h);
int hilite_x = item_x, hilite_y = item_y, hoff_x = 0, hoff_y = 0;
int text_x = 0, text_y = 0, sel_x = 0, oppsel_x = 0, sel_y = 0;
unsigned int hilite_w = menu.item_w, hilite_h = menu.item_h, text_w = 0,
text_h = 0;
unsigned int half_w = menu.item_h / 2, quarter_w = menu.item_h / 4;
if (text) {
text_w = screen->getMenuStyle()->f_font->measureString(text);
@ -557,12 +556,12 @@ void Basemenu::drawItem(int index, bool highlight, bool clear,
text_h = menu.item_h - menu.bevel_w;
}
MenuStyle *style = screen->getMenuStyle();
BPen hipen(style->hilite.color());
const MenuStyle* const style = screen->getMenuStyle();
const BPen hipen(style->hilite.color());
// match the text color
BPen pen((highlight ? style->h_text :
(item->isEnabled() ? style->f_text :
style->d_text)));
const BPen pen((highlight ? style->h_text :
(item->isEnabled() ? style->f_text :
style->d_text)));
sel_x = item_x;
@ -594,7 +593,7 @@ void Basemenu::drawItem(int index, bool highlight, bool clear,
}
// check if we need to redraw the text
int text_ry = item_y + (menu.bevel_w / 2);
const int text_ry = item_y + (menu.bevel_w / 2);
if (! (max(text_x, x) <= min<signed>(text_x + text_w, x + w) &&
max(text_ry, y) <= min<signed>(text_ry + text_h, y + h)))
dotext = False;
@ -752,9 +751,9 @@ bool Basemenu::isItemEnabled(int index) {
void Basemenu::buttonPressEvent(XButtonEvent *be) {
if (be->window == menu.frame) {
int sbl = (be->x / menu.item_w), i = (be->y / menu.item_h);
int w = (sbl * menu.persub) + i;
const int sbl = (be->x / menu.item_w), i = (be->y / menu.item_h),
w = (sbl * menu.persub) + i;
BasemenuItem *item = find(w);
if (item) {
which_press = i;
@ -792,7 +791,7 @@ void Basemenu::buttonReleaseEvent(XButtonEvent *re) {
if (re->button == 3) {
hide();
} else {
int sbl = (re->x / menu.item_w), i = (re->y / menu.item_h),
const int sbl = (re->x / menu.item_w), i = (re->y / menu.item_h),
ix = sbl * menu.item_w, iy = i * menu.item_h,
w = (sbl * menu.persub) + i,
p = (which_sbl * menu.persub) + which_press;
@ -837,32 +836,34 @@ void Basemenu::motionNotifyEvent(XMotionEvent *me) {
drawSubmenu(which_sub);
}
}
} else if (! (me->state & Button1Mask) && me->window == menu.frame &&
} else if (me->window == menu.frame &&
me->x >= 0 && me->x < static_cast<signed>(menu.width) &&
me->y >= 0 && me->y < static_cast<signed>(menu.frame_h)) {
int sbl = (me->x / menu.item_w), i = (me->y / menu.item_h),
const int sbl = (me->x / menu.item_w), i = (me->y / menu.item_h),
w = (sbl * menu.persub) + i;
if ((i != which_press || sbl != which_sbl) &&
(w >= 0 && w < static_cast<signed>(menuitems.size()))) {
if (which_press != -1 && which_sbl != -1) {
int p = (which_sbl * menu.persub) + which_press;
const int p = (which_sbl * menu.persub) + which_press;
BasemenuItem *item = find(p);
if (! item) return;
drawItem(p, False, True);
if (item->submenu())
if (item->submenu()->isVisible() &&
! item->submenu()->isTorn()) {
item->submenu()->internal_hide();
which_sub = -1;
}
if (item->submenu() &&
item->submenu()->isVisible() &&
! item->submenu()->isTorn()) {
item->submenu()->internal_hide();
which_sub = -1;
}
}
which_press = i;
which_sbl = sbl;
BasemenuItem *itmp = find(w);
if (! itmp) return;
if (itmp->submenu())
drawSubmenu(w);
else
@ -876,27 +877,26 @@ void Basemenu::exposeEvent(XExposeEvent *ee) {
if (ee->window == menu.title) {
redrawTitle();
} else if (ee->window == menu.frame) {
// this is a compilicated algorithm... lets do it step by step...
// this is a complicated algorithm... lets do it step by step...
// first... we see in which sub level the expose starts... and how many
// items down in that sublevel
int sbl = (ee->x / menu.item_w), id = (ee->y / menu.item_h),
const int sbl = (ee->x / menu.item_w), id = (ee->y / menu.item_h),
// next... figure out how many sublevels over the redraw spans
sbl_d = ((ee->x + ee->width) / menu.item_w),
sbl_d = ((ee->x + ee->width) / menu.item_w);
// then we see how many items down to redraw
id_d = ((ee->y + ee->height) / menu.item_h);
int id_d = ((ee->y + ee->height) / menu.item_h);
if (id_d > menu.persub) id_d = menu.persub;
// draw the sublevels and the number of items the exposure spans
MenuItems::iterator it,
end = menuitems.end();
int i, ii;
for (i = sbl; i <= sbl_d; i++) {
for (int i = sbl; i <= sbl_d; i++) {
// set the iterator to the first item in the sublevel needing redrawing
it = menuitems.begin() + (id + (i * menu.persub));
for (ii = id; ii <= id_d && it != end; ++it, ii++) {
int index = ii + (i * menu.persub);
for (int ii = id; ii <= id_d && it != end; ++it, ii++) {
const int index = ii + (i * menu.persub);
// redraw the item
drawItem(index, (which_sub == index), False,
ee->x, ee->y, ee->width, ee->height);
@ -933,7 +933,7 @@ void Basemenu::enterNotifyEvent(XCrossingEvent *ce) {
if (which_sub != -1) {
BasemenuItem *tmp = find(which_sub);
if (tmp->submenu()->isVisible()) {
int sbl = (ce->x / menu.item_w), i = (ce->y / menu.item_h),
const int sbl = (ce->x / menu.item_w), i = (ce->y / menu.item_h),
w = (sbl * menu.persub) + i;
if (w != which_sub && ! tmp->submenu()->isTorn()) {
@ -951,7 +951,7 @@ void Basemenu::enterNotifyEvent(XCrossingEvent *ce) {
void Basemenu::leaveNotifyEvent(XCrossingEvent *ce) {
if (ce->window == menu.frame) {
if (which_press != -1 && which_sbl != -1 && menuitems.size() > 0) {
int p = (which_sbl * menu.persub) + which_press;
const int p = (which_sbl * menu.persub) + which_press;
drawItem(p, (p == which_sub), True);

View file

@ -78,9 +78,10 @@ void BGCCacheContext::set(const XFontStruct * const _font) {
}
BGCCache::BGCCache(const BaseDisplay * const _display)
BGCCache::BGCCache(const BaseDisplay * const _display,
unsigned int screen_count)
: display(_display), context_count(128u),
cache_size(16u), cache_buckets(8u),
cache_size(16u), cache_buckets(8u * screen_count),
cache_total_size(cache_size * cache_buckets) {
contexts = new BGCCacheContext*[context_count];
@ -117,10 +118,8 @@ BGCCacheContext *BGCCache::nextContext(unsigned int scr) {
c->used = false;
c->screen = scr;
}
if (! c->used && c->screen == scr) {
c->used = true;
if (! c->used && c->screen == scr)
return c;
}
}
fprintf(stderr, "BGCCache: context fault!\n");
@ -141,15 +140,18 @@ BGCCacheItem *BGCCache::find(const BColor &_color,
const unsigned int screen = _color.screen();
const int key = _color.red() ^ _color.green() ^ _color.blue();
int k = (key % cache_size) * cache_buckets;
int i = 0; // loop variable
unsigned int i = 0; // loop variable
BGCCacheItem *c = cache[ k ], *prev = 0;
// this will either loop 8 times then return/abort or it will stop matching
/*
this will either loop cache_buckets times then return/abort or
it will stop matching
*/
while (c->ctx &&
(c->ctx->pixel != pixel || c->ctx->function != _function ||
c->ctx->subwindow != _subwindow || c->ctx->screen != screen ||
c->ctx->linewidth != _linewidth)) {
if (i < 7) {
if (i < (cache_buckets - 1)) {
prev = c;
c = cache[ ++k ];
++i;
@ -164,14 +166,13 @@ BGCCacheItem *BGCCache::find(const BColor &_color,
return c;
}
// cache fault!
fprintf(stderr, "BGCCache: cache fault\n");
fprintf(stderr, "BGCCache: cache fault, count: %d, screen: %d, item screen: %d\n", c->count, screen, c->ctx->screen);
abort();
}
const unsigned long fontid = _font ? _font->fid : 0;
if (c->ctx) {
// reuse existing context
if (fontid && fontid != c->ctx->fontid)
if (_font && _font->fid && _font->fid != c->ctx->fontid)
c->ctx->set(_font);
c->count++;
c->hits++;

View file

@ -83,7 +83,7 @@ private:
class BGCCache {
public:
explicit BGCCache(const BaseDisplay * const _display);
BGCCache(const BaseDisplay * const _display, unsigned int screen_count);
~BGCCache(void);
// cleans up the cache

View file

@ -2971,10 +2971,10 @@ void BlackboxWindow::configureRequestEvent(const XConfigureRequestEvent *cr) {
frame.margin.top + frame.margin.bottom);
/*
if a position change ha been specified, then that position will be used
instead of determining a position based on the window's gravity.
if a position change has been specified, then that position will be
used instead of determining a position based on the window's gravity.
*/
if (cr->value_mask & (CWX | CWY)) {
if (! (cr->value_mask & (CWX | CWY))) {
Corner corner;
switch (client.win_gravity) {
case NorthEastGravity:
@ -4119,11 +4119,17 @@ void BlackboxWindow::constrain(Corner anchor,
base_height = (client.base_height) ? client.base_height :
client.min_height;
// constrain
if (dw < client.min_width) dw = client.min_width;
if (dh < client.min_height) dh = client.min_height;
if (dw > client.max_width) dw = client.max_width;
if (dh > client.max_height) dh = client.max_height;
// constrain, but only if the min/max are being used. if they aren't, then
// this resize is going to be from a ConfigureRequest because the window
// isn't allowed to be resized by the user. And in that case, we don't want
// to limit what the app can do
if (client.max_width > client.min_width ||
client.max_height > client.min_height) {
if (dw < client.min_width) dw = client.min_width;
if (dh < client.min_height) dh = client.min_height;
if (dw > client.max_width) dw = client.max_width;
if (dh > client.max_height) dh = client.max_height;
}
assert(dw >= base_width && dh >= base_height);

View file

@ -106,6 +106,7 @@ $me $version $copyright
-full <file> stretch an image to fill the desktop
-exec <args> <file> specify an external command to execute
-app <app> specify the image application to use
-post <string> arguments to be passed to the post-command
-debug prints commands without executing them
EOF

View file

@ -1,4 +1,4 @@
// -*- mode++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
// bsetroot.cc for Blackbox - an X11 Window manager
// Copyright (c) 2001 - 2002 Sean 'Shaleh' Perry <shaleh at debian.org>
// Copyright (c) 1997 - 2000, 2002 Brad Hughes <bhughes at trolltech.com>
@ -352,7 +352,7 @@ void bsetroot::usage(int exit_code) {
"%s 2.0\n\n"
"Copyright (c) 1997-2000, 2002 Bradley T Hughes\n"
"Copyright (c) 2001-2002 Sean 'Shaleh' Perry\n\n"
" -display <string> display connection\n"
" -display <string> use display connection\n"
" -mod <x> <y> modula pattern\n"
" -foreground, -fg <color> modula foreground color\n"
" -background, -bg <color> modula background color\n\n"