From c8a59b3f0c3bc78fe8edc8d2e68c1a3702e2225f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 25 May 2002 00:10:05 +0000 Subject: [PATCH] nls from bb-cvs added yself to the usage string added the slit option back in added the event clobber option back in --- nls/C/BaseDisplay.m | 14 +++++++------- nls/C/Basemenu.m | 2 +- nls/C/Configmenu.m | 38 +++++++++++++++++------------------- nls/C/Icon.m | 4 +++- nls/C/Image.m | 22 ++++++++++----------- nls/C/Makefile.am | 39 ++++++++++++------------------------- nls/C/Screen.m | 45 +++++++++++++++++++++---------------------- nls/C/Slit.m | 4 ++-- nls/C/Toolbar.m | 6 +++--- nls/C/Window.m | 10 +++++----- nls/C/Windowmenu.m | 18 ++++++++--------- nls/C/Workspace.m | 2 +- nls/C/Workspacemenu.m | 6 +++--- nls/C/bsetroot.m | 20 +++++++++---------- nls/C/common.m | 32 +++++++++++++++--------------- nls/C/main.m | 16 +++++++-------- 16 files changed, 131 insertions(+), 147 deletions(-) diff --git a/nls/C/BaseDisplay.m b/nls/C/BaseDisplay.m index f7f3d9b4..584e771b 100644 --- a/nls/C/BaseDisplay.m +++ b/nls/C/BaseDisplay.m @@ -1,16 +1,16 @@ $set 1 #BaseDisplay $ #XError -# %s: X error: %s(%d) opcodes %d/%d\n resource 0x%lx\n +# %s: X fejl: %s(%d) kode %d/%d\n resource 0x%lx\n $ #SignalCaught -# %s: signal %d caught\n +# %s: signal %d fanget\n $ #ShuttingDown -# shutting down\n +# lukker ned\n $ #Aborting -# aborting... dumping core\n +# Avbryder... dumper kernen\n $ #XConnectFail -# BaseDisplay::BaseDisplay: connection to X server failed.\n +# BaseDisplay::BaseDisplay: tilslutning til X server mislykkedes.\n $ #CloseOnExecFail -# BaseDisplay::BaseDisplay: couldn't mark display connection as close-on-exec\n +# BaseDisplay::BaseDisplay: kunne ikke markere skærmtilslutning som luk-ved-afslut\n $ #BadWindowRemove -# BaseDisplay::eventLoop(): removing bad window from event queue\n +# BaseDisplay::eventLoop(): fjerner dårligt vindue fra hændelseskøen\n diff --git a/nls/C/Basemenu.m b/nls/C/Basemenu.m index 6c4da308..5af69f8e 100644 --- a/nls/C/Basemenu.m +++ b/nls/C/Basemenu.m @@ -1,4 +1,4 @@ $set 2 #Basemenu $ #BlackboxMenu -# Blackbox Menu +# Blackboxmenu diff --git a/nls/C/Configmenu.m b/nls/C/Configmenu.m index 7fef82da..a590d709 100644 --- a/nls/C/Configmenu.m +++ b/nls/C/Configmenu.m @@ -1,40 +1,38 @@ $set 3 #Configmenu $ #ConfigOptions -# Config Options +# Indstillinger $ #FocusModel -# Focus Model +# Fokus Model $ #WindowPlacement -# Window Placement +# Vindueplacering $ #ImageDithering -# Image Dithering +# Billede Dithering $ #OpaqueMove -# Opaque Window Moving +# Uklar vinduesflytning $ #FullMax -# Full Maximization +# Fuld maximering $ #FocusNew -# Focus New Windows +# Fokus nyt vindue $ #FocusLast -# Focus Window on Workspace Change +# Fokus vindue ved skrivebords ændring $ #ClickToFocus -# Click to Focus +# Klik for fokus $ #SloppyFocus -# Sloppy Focus +# Dovent fokus $ #AutoRaise -# Auto Raise -$ #ClickRaise -# Click Raise +# Hæv automatisk $ #SmartRows -# Smart Placement (Rows) +# Intelligent placering (Rækker) $ #SmartCols -# Smart Placement (Columns) +# Intelligent placering (Søjler) $ #Cascade -# Cascade Placement +# Kaskade placering $ #LeftRight -# Left to Right +# Fra venstre mod højre $ #RightLeft -# Right to Left +# Fra højre mod venstre $ #TopBottom -# Top to Bottom +# Oppefra $ #BottomTop -# Bottom to Top +# Nedefra diff --git a/nls/C/Icon.m b/nls/C/Icon.m index 54b96a63..e3630b47 100644 --- a/nls/C/Icon.m +++ b/nls/C/Icon.m @@ -1,4 +1,6 @@ $set 4 #Icon $ #Icons -# Icons +# Ikoner +$ #Unnamed +# Intet navn diff --git a/nls/C/Image.m b/nls/C/Image.m index 5dd251a6..57562eb7 100644 --- a/nls/C/Image.m +++ b/nls/C/Image.m @@ -1,24 +1,24 @@ $set 5 #Image $ #ErrorCreatingSolidPixmap -# BImage::render_solid: error creating pixmap\n +# BImage::render_solid: fejl ved skabelse af pixmap\n $ #ErrorCreatingXImage -# BImage::renderXImage: error creating XImage\n +# BImage::renderXImage: fejl ved skabelse af XImage\n $ #UnsupVisual -# BImage::renderXImage: unsupported visual\n +# BImage::renderXImage: ikke support for farvedybden\n $ #ErrorCreatingPixmap -# BImage::renderPixmap: error creating pixmap\n +# BImage::renderPixmap: fejl ved skabelse af pixmap\n $ #InvalidColormapSize -# BImageControl::BImageControl: invalid colormap size %d (%d/%d/%d) - reducing\n +# BImageControl::BImageControl: ugyldigt farvekort størrelse %d (%d/%d/%d) - reducing\n $ #ErrorAllocatingColormap -# BImageControl::BImageControl: error allocating colormap\n +# BImageControl::BImageControl: fejl ved allokering af farvekort\n $ #ColorAllocFail -# BImageControl::BImageControl: failed to alloc color %d/%d/%d\n +# BImageControl::BImageControl: fejl ved allokering af farve %d/%d/%d\n $ #PixmapRelease -# BImageControl::~BImageControl: pixmap cache - releasing %d pixmaps\n +# BImageControl::~BImageControl: pixmap cache - sletter %d pixmaps\n $ #PixmapCacheLarge -# BImageControl::renderImage: cache is large, forcing cleanout\n +# BImageControl::renderImage: cache er for stor, gennemtvinger rensning\n $ #ColorParseError -# BImageControl::getColor: color parse error: '%s'\n +# BImageControl::getColor: farvefejl: '%s'\n $ #ColorAllocError -# BImageControl::getColor: color alloc error: '%s'\n +# BImageControl::getColor: farveallokeringsfejl: '%s'\n diff --git a/nls/C/Makefile.am b/nls/C/Makefile.am index 6674611b..42dc37b8 100644 --- a/nls/C/Makefile.am +++ b/nls/C/Makefile.am @@ -1,45 +1,30 @@ -# nls/C/Makefile.am for Blackbox - an X11 Window Manager +# Makefile.am for Blackbox - an X11 Window Manager NLSTEST = @NLS@ +THE_LANG = da_DK +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: Translation.m blackbox.cat +all-local: blackbox.cat install-data-local: blackbox.cat @if test x$(NLSTEST) = "x-DNLS"; then \ - echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/C"; \ - $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/C; \ - $(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; \ + 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 $(DESTDIR)$(pkgdatadir)/nls/C/blackbox.cat; \ - 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; \ + rm -f $(THE_NLS_PATH)/blackbox.cat; \ + rmdir $(THE_NLS_PATH); \ 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) - awk -f @srcdir@/../convert.awk header=../blackbox-nls.hh \ - output=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 \ diff --git a/nls/C/Screen.m b/nls/C/Screen.m index 128c06e7..00adb005 100644 --- a/nls/C/Screen.m +++ b/nls/C/Screen.m @@ -1,50 +1,49 @@ $set 6 #Screen $ #AnotherWMRunning -# BScreen::BScreen: an error occured while querying the X server.\n \ -another window manager is already running on display %s.\n +# BScreen::BScreen: fejl ved forespørgsel til X server.\n \ +en anden window manager er allerede kørende på display %s.\n $ #ManagingScreen -# BScreen::BScreen: managing screen %d using visual 0x%lx, depth %d\n +# BScreen::BScreen: håndterer skærm %d med visuel 0x%lx, farvedybde %d\n $ #FontLoadFail -# BScreen::LoadStyle(): couldn't load font '%s'\n +# BScreen::LoadStyle(): kunne ikke hente font '%s'\n $ #DefaultFontLoadFail -# BScreen::LoadStyle(): couldn't load default font.\n +# BScreen::LoadStyle(): kunne ikke hente standardfonten.\n $ #EmptyMenuFile -# %s: empty menu file\n +# %s: tom menu fil\n $ #xterm # xterm $ #Restart -# Restart +# Genstart $ #Exit -# Exit +# Afslut $ #EXECError -# BScreen::parseMenuFile: [exec] error, no menu label and/or command defined\n +# BScreen::parseMenuFile: [exec] fejl, ingen menu etikette og/eller kommando defineret\n $ #EXITError -# BScreen::parseMenuFile: [exit] error, no menu label defined\n +# BScreen::parseMenuFile: [exit] fejl, ingen menu etikette defineret\n $ #STYLEError -# BScreen::parseMenuFile: [style] error, no menu label and/or filename \ -defined\n +# BScreen::parseMenuFile: [style] fejl, ingen menu etikette og/eller filnavn \ +defineret\n $ #CONFIGError -# BScreen::parseMenuFile: [config] error, no menu label defined\n +# BScreen::parseMenuFile: [config] fejl, ingen menu etikette defineret\n $ #INCLUDEError -# BScreen::parseMenuFile: [include] error, no filename defined\n +# BScreen::parseMenuFile: [include] fejl, intet filnavn defineret\n $ #INCLUDEErrorReg -# BScreen::parseMenuFile: [include] error, '%s' is not a regular file\n +# BScreen::parseMenuFile: [include] fejl, '%s' er ikke en normal fil\n $ #SUBMENUError -# BScreen::parseMenuFile: [submenu] error, no menu label defined\n +# BScreen::parseMenuFile: [submenu] fejl, ingen menu etikette defineret\n $ #RESTARTError -# BScreen::parseMenuFile: [restart] error, no menu label defined\n +# BScreen::parseMenuFile: [restart] fejl, ingen menu etikette defineret\n $ #RECONFIGError -# BScreen::parseMenuFile: [reconfig] error, no menu label defined\n +# BScreen::parseMenuFile: [reconfig] fejl, ingen menu etikette defineret\n $ #STYLESDIRError -# BScreen::parseMenuFile: [stylesdir/stylesmenu] error, no directory defined\n +# BScreen::parseMenuFile: [stylesdir/stylesmenu] fejl, intet katalog defineret\n $ #STYLESDIRErrorNotDir -# BScreen::parseMenuFile: [stylesdir/stylesmenu] error, '%s' is not a \ -directory\n +# BScreen::parseMenuFile: [stylesdir/stylesmenu] fejl, '%s' er ikke et katalog\n $ #STYLESDIRErrorNoExist -# BScreen::parseMenuFile: [stylesdir/stylesmenu] error, '%s' does not exist\n +# BScreen::parseMenuFile: [stylesdir/stylesmenu] fejl, '%s' eksisterer ikke\n $ #WORKSPACESError -# BScreen::parseMenuFile: [workspaces] error, no menu label defined\n +# BScreen::parseMenuFile: [workspaces] fejl, ingen menu etikette defineret\n $ #PositionLength # 0: 0000 x 0: 0000 $ #PositionFormat diff --git a/nls/C/Slit.m b/nls/C/Slit.m index 0e5e3a4f..e207e29d 100644 --- a/nls/C/Slit.m +++ b/nls/C/Slit.m @@ -3,6 +3,6 @@ $set 7 #Slit $ #SlitTitle # Slit $ #SlitDirection -# Slit Direction +# Slit retning $ #SlitPlacement -# Slit Placement +# Slit placering diff --git a/nls/C/Toolbar.m b/nls/C/Toolbar.m index 93e26453..c889c94d 100644 --- a/nls/C/Toolbar.m +++ b/nls/C/Toolbar.m @@ -15,8 +15,8 @@ $ #NoStrftimeTimeFormatP $ #NoStrftimeTimeFormatA # a $ #ToolbarTitle -# Toolbar +# Værktøjsbjælke $ #EditWkspcName -# Edit current workspace name +# Andring af skrivebordets navn $ #ToolbarPlacement -# Toolbar Placement +# Værktøjsbjælkens placering diff --git a/nls/C/Window.m b/nls/C/Window.m index 9987b47c..1e3b5b3b 100644 --- a/nls/C/Window.m +++ b/nls/C/Window.m @@ -2,16 +2,16 @@ $set 9 #Window $ #Creating -# BlackboxWindow::BlackboxWindow: creating 0x%lx\n +# BlackboxWindow::BlackboxWindow: skaber 0x%lx\n $ #XGetWindowAttributesFail -# BlackboxWindow::BlackboxWindow: XGetWindowAttributres failed\n +# BlackboxWindow::BlackboxWindow: XGetWindowAttributres fejlede\n $ #CannotFindScreen -# BlackboxWindow::BlackboxWindow: cannot find screen for root window 0x%lx\n +# BlackboxWindow::BlackboxWindow: kunne ikke finde skærm til hovedvinduet 0x%lx\n $ #Unnamed -# Unnamed +# Intet navn $ #MapRequest # BlackboxWindow::mapRequestEvent() for 0x%lx\n $ #UnmapNotify # BlackboxWindow::unmapNotifyEvent() for 0x%lx\n $ #ReparentNotify -# BlackboxWindow::reparentNotifyEvent: reparent 0x%lx to 0x%lx\n +# BlackboxWindow::reparentNotifyEvent: sætter 0x%lx til 0x%lx\n diff --git a/nls/C/Windowmenu.m b/nls/C/Windowmenu.m index 4bf90cf4..ebbf0adb 100644 --- a/nls/C/Windowmenu.m +++ b/nls/C/Windowmenu.m @@ -1,20 +1,20 @@ $set 10 #Windowmenu $ #SendTo -# Send To ... +# Send til ... $ #Shade -# Shade +# Skygge $ #Iconify -# Iconify +# Iconificeret $ #Maximize -# Maximize +# Maksimer $ #Raise -# Raise +# Hæv $ #Lower -# Lower +# Sænk $ #Stick -# Stick +# Klæbrig $ #KillClient -# Kill Client +# Dræb klient $ #Close -# Close +# Luk diff --git a/nls/C/Workspace.m b/nls/C/Workspace.m index 315460a0..1093dda5 100644 --- a/nls/C/Workspace.m +++ b/nls/C/Workspace.m @@ -1,4 +1,4 @@ $set 11 #Workspace $ #DefaultNameFormat -# Workspace %d +# Skrivebord %d diff --git a/nls/C/Workspacemenu.m b/nls/C/Workspacemenu.m index 5423a191..94317b85 100644 --- a/nls/C/Workspacemenu.m +++ b/nls/C/Workspacemenu.m @@ -1,8 +1,8 @@ $set 12 #Workspacemenu $ #WorkspacesTitle -# Workspaces +# Skriveborde $ #NewWorkspace -# New Workspace +# Nyt skrivebord $ #RemoveLast -# Remove Last +# Fjern sidste diff --git a/nls/C/bsetroot.m b/nls/C/bsetroot.m index ddd7be6a..cd869ad6 100644 --- a/nls/C/bsetroot.m +++ b/nls/C/bsetroot.m @@ -1,16 +1,16 @@ $set 16 #bsetroot $ #MustSpecify -# %s: error: must specify one of: -solid, -mod, -gradient\n +# %s: fejl: specificér en af følgende: -solid, -mod, -gradient\n $ #Usage # %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ - -display display connection\n\ - -mod modula pattern\n\ - -foreground, -fg modula foreground color\n\ - -background, -bg modula background color\n\n\ - -gradient gradient texture\n\ - -from gradient start color\n\ - -to gradient end color\n\n\ - -solid solid color\n\n\ - -help print this help text and exit\n + -display skærmtilslutning\n\ + -mod modula mønster\n\ + -foreground, -fg modula foregrundsfarve\n\ + -background, -bg modula baggrundsfarve\n\n\ + -gradient gradient tekstur\n\ + -from gradient start farve\n\ + -to gradient slut farve\n\n\ + -solid fast farve\n\n\ + -help hvis denne hjælp og afslut\n diff --git a/nls/C/common.m b/nls/C/common.m index 53217029..6b545558 100644 --- a/nls/C/common.m +++ b/nls/C/common.m @@ -1,38 +1,38 @@ $set 15 #Common $ #Yes -# Yes +# Ja $ #No -# No +# Nej $ #DirectionTitle -# Direction +# Retning $ #DirectionHoriz -# Horizontal +# Horisontal $ #DirectionVert -# Vertical +# Vertikal $ #AlwaysOnTop -# Always on top +# Altid øverst $ #PlacementTitle -# Placement +# Placering $ #PlacementTopLeft -# Top Left +# Øverste venstre hjørne $ #PlacementCenterLeft -# Center Left +# Venstre i midten $ #PlacementBottomLeft -# Bottom Left +# Bunden til venstre $ #PlacementTopCenter -# Top Center +# Toppen i midten $ #PlacementBottomCenter -# BottomCenter +# Bunden i midten $ #PlacementTopRight -# Top Right +# Øverst til højre $ #PlacementCenterRight -# Center Right +# Til højre i midten $ #PlacementBottomRight -# Bottom Right +# Til højre i bunden $ #AutoHide -# Auto hide +# Gem automatisk diff --git a/nls/C/main.m b/nls/C/main.m index 32e68eb5..c6568f58 100644 --- a/nls/C/main.m +++ b/nls/C/main.m @@ -1,21 +1,21 @@ $set 14 #main $ #RCRequiresArg -# error: '-rc' requires an argument\n +# fejl: '-rc' kræver et argument\n $ #DISPLAYRequiresArg -# error: '-display' requires an argument\n +# fjel: '-display' kræver et argument\n $ #WarnDisplaySet -# warning: could not set environment variable 'DISPLAY'\n +# advarsel: kunne ikke sætte variablen 'DISPLAY'\n $ #Usage # Openbox %s : (c) 2002 - 2002 Ben Jansens\n\ 2001 - 2002 Sean 'Shaleh' Perry\n\ 1997 - 2000, 2002 Brad Hughes\n\n\ - -display \t\tuse display connection.\n\ - -rc \t\t\tuse alternate resource file.\n\ - -version\t\t\tdisplay version and exit.\n\ - -help\t\t\t\tdisplay this help text and exit.\n\n + -display \t\tbrug skærm tilslutning.\n\ + -rc \t\t\tbrug alternativ resource fil.\n\ + -version\t\t\tvis versionsnummer og afslut.\n\ + -help\t\t\t\tvis denne hjælp og afslut.\n\n $ #CompileOptions -# Compile time options:\n\ +# Kompileret med:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ Slit:\t\t\t\t%s\n\ -- 2.45.2