nls from bb-cvs

added yself to the usage string
added the slit option back in
added the event clobber option back in
This commit is contained in:
Dana Jansens 2002-05-25 00:10:04 +00:00
parent 79c6511ca0
commit 29914b7df1
19 changed files with 147 additions and 127 deletions

View file

@ -1,16 +1,16 @@
$set 1 #BaseDisplay $set 1 #BaseDisplay
$ #XError $ #XError
# %s: X : %s(%d) opcodes %d/%d\n resource 0x%lx\n # %s: X error: %s(%d) opcodes %d/%d\n resource 0x%lx\n
$ #SignalCaught $ #SignalCaught
# %s: %d \n # %s: signal %d caught\n
$ #ShuttingDown $ #ShuttingDown
# \n # shutting down\n
$ #Aborting $ #Aborting
# 退... \n # aborting... dumping core\n
$ #XConnectFail $ #XConnectFail
# BaseDisplay::BaseDisplay: X .\n # BaseDisplay::BaseDisplay: connection to X server failed.\n
$ #CloseOnExecFail $ #CloseOnExecFail
# BaseDisplay::BaseDisplay: couldn't mark display connection as close-on-exec\n # BaseDisplay::BaseDisplay: couldn't mark display connection as close-on-exec\n
$ #BadWindowRemove $ #BadWindowRemove
# BaseDisplay::eventLoop(): \n # BaseDisplay::eventLoop(): removing bad window from event queue\n

View file

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

View file

@ -1,38 +1,40 @@
$set 3 #Configmenu $set 3 #Configmenu
$ #ConfigOptions $ #ConfigOptions
# # Config Options
$ #FocusModel $ #FocusModel
# # Focus Model
$ #WindowPlacement $ #WindowPlacement
# # Window Placement
$ #ImageDithering $ #ImageDithering
# # Image Dithering
$ #OpaqueMove $ #OpaqueMove
# # Opaque Window Moving
$ #FullMax $ #FullMax
# # Full Maximization
$ #FocusNew $ #FocusNew
# # Focus New Windows
$ #FocusLast $ #FocusLast
# # Focus Window on Workspace Change
$ #ClickToFocus $ #ClickToFocus
# # Click to Focus
$ #SloppyFocus $ #SloppyFocus
# # Sloppy Focus
$ #AutoRaise $ #AutoRaise
# # Auto Raise
$ #ClickRaise
# Click Raise
$ #SmartRows $ #SmartRows
# () # Smart Placement (Rows)
$ #SmartCols $ #SmartCols
# () # Smart Placement (Columns)
$ #Cascade $ #Cascade
# # Cascade Placement
$ #LeftRight $ #LeftRight
# # Left to Right
$ #RightLeft $ #RightLeft
# # Right to Left
$ #TopBottom $ #TopBottom
# # Top to Bottom
$ #BottomTop $ #BottomTop
# # Bottom to Top

View file

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

View file

@ -1,13 +1,13 @@
$set 5 #Image $set 5 #Image
$ #ErrorCreatingSolidPixmap $ #ErrorCreatingSolidPixmap
# BImage::render_solid: pixmap\n # BImage::render_solid: error creating pixmap\n
$ #ErrorCreatingXImage $ #ErrorCreatingXImage
# BImage::renderXImage: XImage\n # BImage::renderXImage: error creating XImage\n
$ #UnsupVisual $ #UnsupVisual
# BImage::renderXImage: unsupported visual\n # BImage::renderXImage: unsupported visual\n
$ #ErrorCreatingPixmap $ #ErrorCreatingPixmap
# BImage::renderPixmap: pixmap\n # BImage::renderPixmap: error creating pixmap\n
$ #InvalidColormapSize $ #InvalidColormapSize
# BImageControl::BImageControl: invalid colormap size %d (%d/%d/%d) - reducing\n # BImageControl::BImageControl: invalid colormap size %d (%d/%d/%d) - reducing\n
$ #ErrorAllocatingColormap $ #ErrorAllocatingColormap

View file

@ -1,30 +1,45 @@
# Makefile.am for Blackbox - an X11 Window Manager # nls/C/Makefile.am for Blackbox - an X11 Window Manager
NLSTEST = @NLS@ NLSTEST = @NLS@
THE_LANG = zh_CN
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
CLEANFILES = blackbox.cat CLEANFILES = blackbox.cat
MAINTAINERCLEANFILES = Makefile.in Translation.m MAINTAINERCLEANFILES = Makefile.in Translation.m
DISTCLEANFILES = 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 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 all-local: Translation.m blackbox.cat
install-data-local: blackbox.cat install-data-local: blackbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \ @if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(THE_NLS_PATH)"; \ echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/C"; \
$(mkinstalldirs) $(THE_NLS_PATH); \ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/C; \
$(INSTALL_DATA) blackbox.cat $(THE_NLS_PATH); \ $(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/C; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \
ln -f -ss C $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \
ln -f -s C $(DESTDIR)$(pkgdatadir)/nls/POSIX; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \
ln -f -s C $(DESTDIR)$(pkgdatadir)/nls/en_US; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/en_GB; \
ln -f -s C $(DESTDIR)$(pkgdatadir)/nls/en_GB; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/en; \
ln -f -s C $(DESTDIR)$(pkgdatadir)/nls/en; \
fi fi
uninstall-local: uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \ @if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(THE_NLS_PATH)/blackbox.cat; \ rm -f $(DESTDIR)$(pkgdatadir)/nls/C/blackbox.cat; \
rmdir $(THE_NLS_PATH); \ rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/en; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/C; \
fi fi
# note... when adding new catalogs... you do not need the
# header=../blackbox-nls.hh which is passed to awk... we
# only need to generate it once.
Translation.m: $(MFILES) Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \ awk -f @srcdir@/../convert.awk header=../blackbox-nls.hh \
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \ output=Translation.m $(MFILES)
fi
blackbox.cat: Translation.m blackbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \ @if test x$(NLSTEST) = "x-DNLS"; then \

View file

@ -1,52 +1,54 @@
$set 6 #Screen $set 6 #Screen
$ #AnotherWMRunning $ #AnotherWMRunning
# BScreen::BScreen: X.\n \ # BScreen::BScreen: an error occured while querying the X server.\n \
%s.\n another window manager is already running on display %s.\n
$ #ManagingScreen $ #ManagingScreen
# BScreen::BScreen: %d 使 0x%lx, %d\n # BScreen::BScreen: managing screen %d using visual 0x%lx, depth %d\n
$ #FontLoadFail $ #FontLoadFail
# BScreen::LoadStyle(): '%s'\n # BScreen::LoadStyle(): couldn't load font '%s'\n
$ #DefaultFontLoadFail $ #DefaultFontLoadFail
# BScreen::LoadStyle(): .\n # BScreen::LoadStyle(): couldn't load default font.\n
$ #EmptyMenuFile $ #EmptyMenuFile
# %s: \n # %s: empty menu file\n
$ #xterm $ #xterm
# xterm # xterm
$ #Restart $ #Restart
# # Restart
$ #Exit $ #Exit
# 退 # Exit
$ #EXECError $ #EXECError
# BScreen::parseMenuFile: [exec] , \n # BScreen::parseMenuFile: [exec] error, no menu label and/or command defined\n
$ #EXITError $ #EXITError
# BScreen::parseMenuFile: [exit] , \n # BScreen::parseMenuFile: [exit] error, no menu label defined\n
$ #STYLEError $ #STYLEError
# BScreen::parseMenuFile: [style] , \n # BScreen::parseMenuFile: [style] error, no menu label and/or filename \
defined\n
$ #CONFIGError $ #CONFIGError
# BScreen::parseMenuFile: [config] , \n # BScreen::parseMenuFile: [config] error, no menu label defined\n
$ #INCLUDEError $ #INCLUDEError
# BScreen::parseMenuFile: [include] , \n # BScreen::parseMenuFile: [include] error, no filename defined\n
$ #INCLUDEErrorReg $ #INCLUDEErrorReg
# BScreen::parseMenuFile: [include] , '%s' \n # BScreen::parseMenuFile: [include] error, '%s' is not a regular file\n
$ #SUBMENUError $ #SUBMENUError
# BScreen::parseMenuFile: [submenu] , \n # BScreen::parseMenuFile: [submenu] error, no menu label defined\n
$ #RESTARTError $ #RESTARTError
# BScreen::parseMenuFile: [restart] , \n # BScreen::parseMenuFile: [restart] error, no menu label defined\n
$ #RECONFIGError $ #RECONFIGError
# BScreen::parseMenuFile: [reconfig] , \n # BScreen::parseMenuFile: [reconfig] error, no menu label defined\n
$ #STYLESDIRError $ #STYLESDIRError
# BScreen::parseMenuFile: [stylesdir/stylesmenu] , \n # BScreen::parseMenuFile: [stylesdir/stylesmenu] error, no directory defined\n
$ #STYLESDIRErrorNotDir $ #STYLESDIRErrorNotDir
# BScreen::parseMenuFile: [stylesdir/stylesmenu] , '%s' \n # BScreen::parseMenuFile: [stylesdir/stylesmenu] error, '%s' is not a \
directory\n
$ #STYLESDIRErrorNoExist $ #STYLESDIRErrorNoExist
# BScreen::parseMenuFile: [stylesdir/stylesmenu] , '%s' \n # BScreen::parseMenuFile: [stylesdir/stylesmenu] error, '%s' does not exist\n
$ #WORKSPACESError $ #WORKSPACESError
# BScreen::parseMenuFile: [workspaces] , \n # BScreen::parseMenuFile: [workspaces] error, no menu label defined\n
$ #PositionLength $ #PositionLength
# 0: 0000 x 0: 0000 # 0: 0000 x 0: 0000
$ #PositionFormat $ #PositionFormat
# : %4d x : %4d # X: %4d x Y: %4d
$ #GeometryFormat $ #GeometryFormat
# : %4d x : %4d # W: %4d x H: %4d

View file

@ -3,6 +3,6 @@ $set 7 #Slit
$ #SlitTitle $ #SlitTitle
# Slit # Slit
$ #SlitDirection $ #SlitDirection
# Slit # Slit Direction
$ #SlitPlacement $ #SlitPlacement
# Slit # Slit Placement

View file

@ -15,8 +15,8 @@ $ #NoStrftimeTimeFormatP
$ #NoStrftimeTimeFormatA $ #NoStrftimeTimeFormatA
# a # a
$ #ToolbarTitle $ #ToolbarTitle
# # Toolbar
$ #EditWkspcName $ #EditWkspcName
# # Edit current workspace name
$ #ToolbarPlacement $ #ToolbarPlacement
# # Toolbar Placement

View file

@ -2,13 +2,13 @@ $set 9 #Window
$ #Creating $ #Creating
# BlackboxWindow::BlackboxWindow: 0x%lx\n # BlackboxWindow::BlackboxWindow: creating 0x%lx\n
$ #XGetWindowAttributesFail $ #XGetWindowAttributesFail
# BlackboxWindow::BlackboxWindow: XGetWindowAttributres \n # BlackboxWindow::BlackboxWindow: XGetWindowAttributres failed\n
$ #CannotFindScreen $ #CannotFindScreen
# BlackboxWindow::BlackboxWindow: cannot find screen for root window 0x%lx\n # BlackboxWindow::BlackboxWindow: cannot find screen for root window 0x%lx\n
$ #Unnamed $ #Unnamed
# # Unnamed
$ #MapRequest $ #MapRequest
# BlackboxWindow::mapRequestEvent() for 0x%lx\n # BlackboxWindow::mapRequestEvent() for 0x%lx\n
$ #UnmapNotify $ #UnmapNotify

View file

@ -1,20 +1,20 @@
$set 10 #Windowmenu $set 10 #Windowmenu
$ #SendTo $ #SendTo
# ... # Send To ...
$ #Shade $ #Shade
# # Shade
$ #Iconify $ #Iconify
# # Iconify
$ #Maximize $ #Maximize
# # Maximize
$ #Raise $ #Raise
# # Raise
$ #Lower $ #Lower
# # Lower
$ #Stick $ #Stick
# # Stick
$ #KillClient $ #KillClient
# # Kill Client
$ #Close $ #Close
# # Close

View file

@ -1,4 +1,4 @@
$set 11 #Workspace $set 11 #Workspace
$ #DefaultNameFormat $ #DefaultNameFormat
# %d # Workspace %d

View file

@ -1,8 +1,8 @@
$set 12 #Workspacemenu $set 12 #Workspacemenu
$ #WorkspacesTitle $ #WorkspacesTitle
# # Workspaces
$ #NewWorkspace $ #NewWorkspace
# # New Workspace
$ #RemoveLast $ #RemoveLast
# # Remove Last

View file

@ -1,16 +1,16 @@
$set 16 #bsetroot $set 16 #bsetroot
$ #MustSpecify $ #MustSpecify
# %s: : : -solid, -mod, -gradient\n # %s: error: must specify one of: -solid, -mod, -gradient\n
$ #Usage $ #Usage
# %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ # %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
-display <string> \n\ -display <string> display connection\n\
-mod <x> <y> \n\ -mod <x> <y> modula pattern\n\
-foreground, -fg <color> \n\ -foreground, -fg <color> modula foreground color\n\
-background, -bg <color> \n\n\ -background, -bg <color> modula background color\n\n\
-gradient <texture> \n\ -gradient <texture> gradient texture\n\
-from <color> \n\ -from <color> gradient start color\n\
-to <color> \n\n\ -to <color> gradient end color\n\n\
-solid <color> \n\n\ -solid <color> solid color\n\n\
-help \n -help print this help text and exit\n

View file

@ -1,38 +1,38 @@
$set 15 #Common $set 15 #Common
$ #Yes $ #Yes
# # Yes
$ #No $ #No
# # No
$ #DirectionTitle $ #DirectionTitle
# # Direction
$ #DirectionHoriz $ #DirectionHoriz
# # Horizontal
$ #DirectionVert $ #DirectionVert
# # Vertical
$ #AlwaysOnTop $ #AlwaysOnTop
# # Always on top
$ #PlacementTitle $ #PlacementTitle
# # Placement
$ #PlacementTopLeft $ #PlacementTopLeft
# # Top Left
$ #PlacementCenterLeft $ #PlacementCenterLeft
# # Center Left
$ #PlacementBottomLeft $ #PlacementBottomLeft
# # Bottom Left
$ #PlacementTopCenter $ #PlacementTopCenter
# # Top Center
$ #PlacementBottomCenter $ #PlacementBottomCenter
# # BottomCenter
$ #PlacementTopRight $ #PlacementTopRight
# # Top Right
$ #PlacementCenterRight $ #PlacementCenterRight
# # Center Right
$ #PlacementBottomRight $ #PlacementBottomRight
# # Bottom Right
$ #AutoHide $ #AutoHide
# # Auto hide

View file

@ -1,22 +1,23 @@
$set 14 #main $set 14 #main
$ #RCRequiresArg $ #RCRequiresArg
# : '-rc' \n # error: '-rc' requires an argument\n
$ #DISPLAYRequiresArg $ #DISPLAYRequiresArg
# : '-display' \n # error: '-display' requires an argument\n
$ #WarnDisplaySet $ #WarnDisplaySet
# : 'DISPLAY'\n # warning: could not set environment variable 'DISPLAY'\n
$ #Usage $ #Usage
# Openbox %s : (c) 2002 - 2002 Ben Jansens\n\ # Openbox %s : (c) 2002 - 2002 Ben Jansens\n\
\t\t\t 2001 - 2002, Sean 'Shaleh' Perry\n\n\ 2001 - 2002 Sean 'Shaleh' Perry\n\
\t\t\t 1997 - 2000, 2002 Brad Hughes\n\n\ 1997 - 2000, 2002 Brad Hughes\n\n\
-display <string>\t\t使.\n\ -display <string>\t\tuse display connection.\n\
-rc <string>\t\t\t使.\n\ -rc <string>\t\t\tuse alternate resource file.\n\
-version\t\t\t.\n\ -version\t\t\tdisplay version and exit.\n\
-help\t\t\t\t.\n\n -help\t\t\t\tdisplay this help text and exit.\n\n
$ #CompileOptions $ #CompileOptions
# :\n\ # Compile time options:\n\
Debugging\t\t\t%s\n\ Debugging\t\t\t%s\n\
Shape:\t\t\t%s\n\ Shape:\t\t\t%s\n\
Slit:\t\t\t\t%s\n\ Slit:\t\t\t\t%s\n\
Event Clobbering:\t\t%s\n\
8bpp Ordered Dithering:\t%s\n\n 8bpp Ordered Dithering:\t%s\n\n

View file

@ -8,8 +8,8 @@ $ #WarnDisplaySet
# Figyelem: nem lehet a 'DISPLAY' környezeti változót beállítani\n # Figyelem: nem lehet a 'DISPLAY' környezeti változót beállítani\n
$ #Usage $ #Usage
# Openbox %s : (c) 2002 - 2002 Ben Jansens\n\ # Openbox %s : (c) 2002 - 2002 Ben Jansens\n\
\t\t\t 2001 - 2002, Sean 'Shaleh' Perry\n\n\ 2001 - 2002 Sean 'Shaleh' Perry\n\
\t\t\t 1997 - 2000, 2002 Brad Hughes\n\n\ 1997 - 2000, 2002 Brad Hughes\n\n\
-display <string>\t\thasználandó kijelzõ\n\ -display <string>\t\thasználandó kijelzõ\n\
-rc <string>\t\t\tválasztható konfigurációs file.\n\ -rc <string>\t\t\tválasztható konfigurációs file.\n\
-version\t\t\tverziószám kijelzése és kilépés.\n\ -version\t\t\tverziószám kijelzése és kilépés.\n\

View file

@ -8,8 +8,8 @@ $ #WarnDisplaySet
# ÐÏÐÅÒÅÄÖÅÎÎÑ: ÎÅ ×ÄÁÌÏÓÑ ×ÓÔÁÎÏ×ÉÔÉ ÚͦÎÎÕ ÓÅÒÅÄÏ×ÉÝÁ "DISPLAY"\n # ÐÏÐÅÒÅÄÖÅÎÎÑ: ÎÅ ×ÄÁÌÏÓÑ ×ÓÔÁÎÏ×ÉÔÉ ÚͦÎÎÕ ÓÅÒÅÄÏ×ÉÝÁ "DISPLAY"\n
$ #Usage $ #Usage
# Openbox %s : (c) 2002 - 2002 Ben Jansens\n\ # Openbox %s : (c) 2002 - 2002 Ben Jansens\n\
\t\t\t 2001 - 2002, Sean 'Shaleh' Perry\n\n\ 2001 - 2002 Sean 'Shaleh' Perry\n\
\t\t\t 1997 - 2000, 2002 Brad Hughes\n\n\ 1997 - 2000, 2002 Brad Hughes\n\n\
-display <string>\t\tÏÂÓÌÕÇÏ×Õ×ÁÔÉ ×ËÁÚÁÎÉÊ ÄÉÓÐÌÅÊ.\n\ -display <string>\t\tÏÂÓÌÕÇÏ×Õ×ÁÔÉ ×ËÁÚÁÎÉÊ ÄÉÓÐÌÅÊ.\n\
-rc <string>\t\t\t×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÁÌØÔÅÒÎÁÔÉ×ÎÉÊ ÆÁÊÌ ÒÅÓÕÒÓ¦×.\n\ -rc <string>\t\t\t×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÁÌØÔÅÒÎÁÔÉ×ÎÉÊ ÆÁÊÌ ÒÅÓÕÒÓ¦×.\n\
-version\t\t\t×É×ÅÓÔÉ ÎÏÍÅÒ ×ÅÒÓ¦§ ¦ ×ÉÊÔÉ.\n\ -version\t\t\t×É×ÅÓÔÉ ÎÏÍÅÒ ×ÅÒÓ¦§ ¦ ×ÉÊÔÉ.\n\

View file

@ -8,8 +8,8 @@ $ #WarnDisplaySet
# warning: could not set environment variable 'DISPLAY'\n # warning: could not set environment variable 'DISPLAY'\n
$ #Usage $ #Usage
# Openbox %s : (c) 2002 - 2002 Ben Jansens\n\ # Openbox %s : (c) 2002 - 2002 Ben Jansens\n\
\t\t\t 2001 - 2002, Sean 'Shaleh' Perry\n\n\ 2001 - 2002 Sean 'Shaleh' Perry\n\
\t\t\t 1997 - 2000, 2002 Brad Hughes\n\n\ 1997 - 2000, 2002 Brad Hughes\n\n\
-display <string>\t\tuse display connection.\n\ -display <string>\t\tuse display connection.\n\
-rc <string>\t\t\tuse alternate resource file.\n\ -rc <string>\t\t\tuse alternate resource file.\n\
-version\t\t\tdisplay version and exit.\n\ -version\t\t\tdisplay version and exit.\n\