Da.rc 10.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/*
 * Program Manager
 *
 * Copyright 2008 Jens Albretsen <jens@albretsen.dk>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

21 22
#include "progman.h"

23 24 25 26 27 28 29
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT

/* Menu */

MAIN_MENU MENU
{
 POPUP "&Fil" {
30
   MENUITEM "&Ny...",                  PM_NEW
31
   MENUITEM "ben\tEnter",             PM_OPEN
32 33
   MENUITEM "&Flyt...\tF7",            PM_MOVE,      GRAYED
   MENUITEM "&Kopier...\tF8",          PM_COPY,      GRAYED
34
   MENUITEM "&Slet\tEntf",           PM_DELETE
35
   MENUITEM "&Attributter...\tAlt+Enter", PM_ATTRIBUTES
36
   MENUITEM SEPARATOR
37
   MENUITEM "K&r...",                 PM_EXECUTE
38
   MENUITEM SEPARATOR
39
   MENUITEM "A&fslut Wine...",         PM_EXIT
40 41 42 43 44 45 46 47 48 49 50 51 52 53
 }
 POPUP "&Indstillinger" {
   MENUITEM "&Auto arrangr",  PM_AUTO_ARRANGE
   MENUITEM "&Minimr ved opstart",    PM_MIN_ON_RUN
   MENUITEM "Gem ndringer ved af&slutting", PM_SAVE_SETTINGS
 }
 POPUP "&Vinduer" {
   MENUITEM "&Overlappet\tShift+F5",       PM_OVERLAP
   MENUITEM "&Side ved side\tShift+F4",  PM_SIDE_BY_SIDE
   MENUITEM "Arrangr &ikoner",       PM_ARRANGE
 }

POPUP "&Hjlp" {
   MENUITEM "&Indhold",         PM_CONTENTS
54
   MENUITEM "&Sg...",          PM_SEARCH
55 56 57 58 59
   MENUITEM SEPARATOR
   MENUITEM "&Hjlp til hjlp",     PM_HELPONHELP
   MENUITEM "&Vejledning",         PM_TUTORIAL
   MENUITEM SEPARATOR

60
   POPUP "&Information..." {
61 62 63 64 65 66 67 68 69 70 71 72 73 74
     MENUITEM "&Licens",        PM_LICENSE
     MENUITEM "I&ngen Garanti",    PM_NO_WARRANTY
     MENUITEM "&Om WINE",     PM_ABOUT_WINE
   }
 }
}

/* Dialog `New' */

DIALOG_NEW DIALOG 0, 0, 170, 65
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ny"
{
RADIOBUTTON   "",                 PM_NEW_GROUP,    10, 15,  10, 15
75
LTEXT         "Program&gruppe",   -1,    20, 18,  80, 15
76
RADIOBUTTON   "",                 PM_NEW_PROGRAM,  10, 35,  10, 15
77
LTEXT         "&Program", -1,  20, 38,  80, 15
78 79 80 81 82 83 84 85 86 87 88
DEFPUSHBUTTON "OK",          IDOK,           105,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    "Annuller",      IDCANCEL,       105, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    "&Hjlp",        PM_HELP,        105, 45,  60, 15, WS_TABSTOP
}

/* Dialog `Move' */

DIALOG_MOVE DIALOG 0, 0, 250, 65
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Flyt program"
{
89
LTEXT         "Flyt program:",    -1,            5,  5,  90, 15
90
LTEXT         "",                     PM_PROGRAM,         95,  5,  90, 15
91
LTEXT         "Fra gruppe:", -1,            5, 13,  90, 15
92 93 94 95 96 97 98 99 100 101 102 103 104 105
LTEXT         "",                     PM_FROM_GROUP,      95, 13,  90, 15
LTEXT         "&Til gruppe:",   PM_TO_GROUP_TXT,     5, 28, 140, 15
COMBOBOX                              PM_TO_GROUP,         5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
DEFPUSHBUTTON "OK",              IDOK,              185,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    "Annuller",          IDCANCEL,          185, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    "&Hjlp",            PM_HELP,           185, 45,  60, 15, WS_TABSTOP
}

/* Dialog `Copy' */

DIALOG_COPY DIALOG 0, 0, 250, 65
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Kopier program"
{
106
LTEXT         "Kopier program:",    -1,            5,  5,  90, 15
107
LTEXT         "",                     PM_PROGRAM,         95,  5,  90, 15
108
LTEXT         "Fra gruppe:", -1,            5, 13,  90, 15
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
LTEXT         "",                     PM_FROM_GROUP,      95, 13,  90, 15
LTEXT         "&Til gruppe:",   PM_TO_GROUP_TXT,     5, 28, 140, 15
COMBOBOX                              PM_TO_GROUP,         5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
DEFPUSHBUTTON "OK",              IDOK,              185,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    "Annuller",          IDCANCEL,          185, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    "&Hjlp",            PM_HELP,           185, 45,  60, 15, WS_TABSTOP
}

/* Dialog `Group attributes' */

DIALOG_GROUP DIALOG 0, 0, 230, 65
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Programgruppeattributter"
{
LTEXT     "&Beskrivelse:", PM_DESCRIPTION_TXT,   05, 18,  50, 10
EDITTEXT                            PM_DESCRIPTION,       60, 18,  90, 15, WS_TABSTOP
LTEXT     "&Gruppefil:",        PM_FILE_TXT,          05, 38,  50, 10
EDITTEXT                            PM_FILE,              60, 38,  90, 15, WS_TABSTOP
DEFPUSHBUTTON "OK",            IDOK,                155,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    "Annuller",        IDCANCEL,            155, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    "&Hjlp",          PM_HELP,             155, 45,  60, 15, WS_TABSTOP
}

/* Dialog `Program attributes' */

DIALOG_PROGRAM DIALOG 0, 0, 250, 105
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Programattributter"
{
LTEXT         "&Beskrivelse:",  PM_DESCRIPTION_TXT,   05, 10,  60, 10
EDITTEXT                                   PM_DESCRIPTION,       80, 10,  90, 15, WS_TABSTOP
LTEXT         "&Kommandolinie:", PM_COMMAND_LINE_TXT,  05, 25,  60, 10
EDITTEXT                                   PM_COMMAND_LINE,      80, 25,  90, 15, WS_TABSTOP
LTEXT         "&Arbejdskatalog:",    PM_DIRECTORY_TXT,     05, 40,  60, 10
EDITTEXT                                   PM_DIRECTORY,         80, 40,  90, 15, WS_TABSTOP
LTEXT         "Taste kombination:",      PM_HOT_KEY_TXT,       05, 55,  60, 10
EDITTEXT                                   PM_HOT_KEY,           80, 55,  90, 15, WS_TABSTOP
ICON          "",                          PM_ICON,              20, 70
CHECKBOX      "",                          PM_SYMBOL,            80, 75,  10, 10, WS_TABSTOP
148
LTEXT         "&Minimr ved opstart",       -1,             95, 75,  75, 10
149 150
DEFPUSHBUTTON "OK",                   IDOK,                185,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    "Annuller",               IDCANCEL,            185, 25,  60, 15, WS_TABSTOP
151 152
PUSHBUTTON    "&Gennemse...",               PM_BROWSE,           185, 45,  60, 15, WS_TABSTOP
PUSHBUTTON    "ndre &ikon...", PM_OTHER_SYMBOL,     185, 65,  60, 15, WS_TABSTOP
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
PUSHBUTTON    "&Hjlp",                 PM_HELP,             185, 85,  60, 15, WS_TABSTOP
}

/* Dialog `Symbol' */

DIALOG_SYMBOL DIALOG 0, 0, 200, 85
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "ndre ikon"
{
LTEXT     "&Filnavn:",    PM_ICON_FILE_TXT,    5, 15,  40, 10
EDITTEXT                         PM_ICON_FILE,       45, 15,  85, 15, WS_TABSTOP
LTEXT     "Gldende &ikon:", PM_SYMBOL_LIST_TXT,  5, 30, 125, 10
COMBOBOX                         PM_SYMBOL_LIST,      5, 40, 125, 50,
   CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_OWNERDRAWFIXED | WS_TABSTOP
DEFPUSHBUTTON "OK",         IDOK,              135,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    "Annuller",     IDCANCEL,          135, 25,  60, 15, WS_TABSTOP
169
PUSHBUTTON    "&Gennemse...",    PM_BROWSE,         135, 45,  60, 15, WS_TABSTOP
170 171 172 173 174 175 176 177 178
PUSHBUTTON    "&Hjlp",       PM_HELP,           135, 65,  60, 15, WS_TABSTOP
}

/* Dialog `Execute' */

DIALOG_EXECUTE DIALOG 0, 0, 200, 85
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Kr program"
{
179
LTEXT     "&Kommandolinie:", -1,   05, 15, 120, 10
180 181
EDITTEXT                               PM_COMMAND, 05, 25, 120, 15, WS_TABSTOP
CHECKBOX      "",                      PM_SYMBOL,  05, 45,  10, 10, WS_TABSTOP
182
LTEXT         "&Minimr ved opstart",   -1,   20, 45, 120, 10
183 184
DEFPUSHBUTTON "OK",               IDOK,      135,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    "Annuller",           IDCANCEL,  135, 25,  60, 15, WS_TABSTOP
185
PUSHBUTTON    "&Gennemse...",          PM_BROWSE, 135, 45,  60, 15, WS_TABSTOP
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241
PUSHBUTTON    "&Hjlp",             PM_HELP,   135, 65,  60, 15, WS_TABSTOP
}

/* Strings */

STRINGTABLE DISCARDABLE
{
IDS_PROGRAM_MANAGER,		"Programbehandling"
IDS_ERROR,			"FEIL"
IDS_WARNING,			"ADVARSEL"
IDS_INFO,			"Information"
IDS_DELETE,			"Slet"
IDS_DELETE_GROUP_s,		"Slet gruppen '%s'?"
IDS_DELETE_PROGRAM_s,		"Slet programmet '%s'?"
IDS_NOT_IMPLEMENTED,		"Ikke implementeret"
IDS_FILE_READ_ERROR_s,		"Fejl ved lsing af '%s'."
IDS_FILE_WRITE_ERROR_s,		"Fejl ved skrivning til '%s'."
IDS_GRPFILE_READ_ERROR_s,	"\
Kunne ikke ?pne gruppefilen '%s'.\n\
Vil du pr?ve mer?"
IDS_OUT_OF_MEMORY,		"Ikke nok hukommelse."
IDS_WINHELP_ERROR,		"hjlp er ikke tilgjengelig."
IDS_UNKNOWN_FEATURE_s,		"Ukendt feature i '%s'"
IDS_FILE_NOT_OVERWRITTEN_s,	"Filen '%s' fandtes allerede, og blev ikke overskrevet."
IDS_SAVE_GROUP_AS_s,		"Gem gruppen som '%s' for at undg at overskrive de originale filer."
IDS_NO_HOT_KEY,			"Ingen"
IDS_ALL_FILES,			"Alle filer (*.*)"
IDS_PROGRAMS,			"Programmer"
IDS_LIBRARIES_DLL,		"Biblioteker (*.dll)"
IDS_SYMBOL_FILES,		"Ikon filer"
IDS_SYMBOLS_ICO,		"Ikoner (*.ico)"
}

STRINGTABLE DISCARDABLE
{
IDS_LICENSE_CAPTION,            "LICENS"
IDS_LICENSE,
"Dette biblioteket er fri software; du kan redistribuere det  \
og/eller ndre det under vilkrene i GNU Lesser General Public \
License, udgivet af the Free Software Foundation; enten \
version 2.1 af Licensen, eller (hvis du nsker det) en nyere version.\n\
Dette bibliotek distribueres i hb om at det er nyttig, \
men UDEN ENHVER GARANTI; ikke engang en udtrykt garanti for \
HANDELSDYGTIGHED eller EGNETHED FOR ET SPECIELT FORML. Se GNU \
Lesser General Public License for flere detaljer.\n\
Du skal have modtaget et eksemplar af GNU Lesser General Public \
License sammen med dette bibliotek; hvis ikke, skriv til: the Free Software \
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA"

IDS_WARRANTY_CAPTION, "INGEN GARANTI"
IDS_WARRANTY,
"Dette biblioteket distribueres i det hb at det er nyttig, \
men UDEN ENHVER GARANTI; ikke engang en udtrykt garantien for \
HANDELSDYGTIGHED eller EGNETHED FOR ET SPECIELT FORML. Se GNU \
Lesser General Public License for flere detaljer."
}