No.rc 5.32 KB
Newer Older
1
/*
2
 *  Notepad (Norwegian Bokmål resources)
3
 *
4
 *  Copyright 2005-2006 Alexander N. Sørnes <alex@thehandofagony.com>
5 6 7 8 9 10 11 12 13 14 15 16 17
 *
 * 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
18
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 20
 */

21 22
#include "notepad_res.h"

23 24
#pragma code_page(65001)

25 26 27 28
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL

MAIN_MENU MENU
{
29
 POPUP "&Fil" {
30
  MENUITEM "&Ny\tCtrl+N",           CMD_NEW
31
  MENUITEM "&Åpne...\tCtrl+O",     CMD_OPEN
32
  MENUITEM "&Lagre\tCtrl+S",     CMD_SAVE
33
  MENUITEM "Lagr&e som...",       CMD_SAVE_AS
34
  MENUITEM SEPARATOR
35 36 37
  MENUITEM "&Skriv ut...\tCtrl+P",            CMD_PRINT
  MENUITEM "Sideoppse&tt...",    CMD_PAGE_SETUP
  MENUITEM "Sk&riveroppsett...", CMD_PRINTER_SETUP
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
  MENUITEM SEPARATOR
  MENUITEM "&Avslutt",             CMD_EXIT
 }
POPUP "R&ediger" {
  MENUITEM "&Angre\tCtrl+Z",     CMD_UNDO
  MENUITEM SEPARATOR
  MENUITEM "Klipp u&t\tCtrl+X",      CMD_CUT
  MENUITEM "&Kopier\tCtrl+C",     CMD_COPY
  MENUITEM "&Lim inn\tCtrl+V",    CMD_PASTE
  MENUITEM "&Slett\tDel",      CMD_DELETE
  MENUITEM SEPARATOR
  MENUITEM "Merk &alt\tCtrl+A",       CMD_SELECT_ALL
  MENUITEM "&Tid/Dato\tF5",    CMD_TIME_DATE
  MENUITEM SEPARATOR
  MENUITEM "Tekstbrytin&g",  CMD_WRAP
53
  MENUITEM "Skr&ift...",          CMD_FONT
54
 }
55 56 57 58
POPUP "&Søk" {
  MENUITEM "&Søk...\tCtrl+F",   CMD_SEARCH
  MENUITEM "Søk etter nest&e\tF3",  CMD_SEARCH_NEXT
  MENUITEM "E&rstatt...\tCtrl+H", CMD_REPLACE
59 60 61
 }
POPUP "&Hjelp" {
  MENUITEM "&Innhold",         CMD_HELP_CONTENTS
62
  MENUITEM "&Søk...",        CMD_HELP_SEARCH
63 64
  MENUITEM "&Hjelp om hjelp",     CMD_HELP_ON_HELP
  MENUITEM SEPARATOR
65
  MENUITEM "&Om Notepad", CMD_HELP_ABOUT_NOTEPAD
66 67 68 69 70 71 72 73 74 75 76
 }
}

/* Dialog `Page setup' */

DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Shell Dlg"
CAPTION "Sideoppsett"
{
LTEXT    "&Topptekst:",  0x140,   10, 07, 40, 15
77
EDITTEXT IDC_PAGESETUP_HEADERVALUE,   60, 05,110, 12, WS_BORDER | WS_TABSTOP
78
LTEXT    "&Bunntekst:",  0x142,   10, 24, 40, 15
79
EDITTEXT IDC_PAGESETUP_FOOTERVALUE,   60, 22,110, 12, WS_BORDER | WS_TABSTOP
80

81
GROUPBOX "&Marg (mm):",      0x144,   10, 43,160, 45
82
LTEXT    "&Venstre:",        0x145,   20, 55, 30, 10, WS_CHILD
83
EDITTEXT IDC_PAGESETUP_LEFTVALUE,     50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
84
LTEXT    "&Topp:",         0x148,    20, 73, 30, 10, WS_CHILD
85
EDITTEXT IDC_PAGESETUP_TOPVALUE,      50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
86
LTEXT    "Høy&re:",       0x14B, 100, 55, 30, 10, WS_CHILD
87
EDITTEXT IDC_PAGESETUP_RIGHTVALUE,   130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
88
LTEXT    "&Bunn:",      0x14E,100, 73, 30, 10, WS_CHILD
89
EDITTEXT IDC_PAGESETUP_BOTTOMVALUE,  130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
90

Jonathan Ernst's avatar
Jonathan Ernst committed
91 92 93
DEFPUSHBUTTON "OK",         IDOK,                   180,  3, 40, 15, WS_TABSTOP
PUSHBUTTON    "Avbryt",     IDCANCEL,               180, 21, 40, 15, WS_TABSTOP
PUSHBUTTON    "&Hjelp",       IDHELP,                180, 39, 40, 15, WS_TABSTOP
94 95
}

96 97 98 99 100 101 102 103
IDD_OFN_TEMPLATE  DIALOG  DISCARDABLE 50,50,300,15
STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
FONT 8, "MS Shell Dlg"
BEGIN
  LTEXT "Tegnkoding:", -1, 5,0, 50,12
  COMBOBOX IDC_OFN_ENCCOMBO, 53,0, 156,48, WS_CHILD | WS_VSCROLL | CBS_DROPDOWNLIST
END

104 105
STRINGTABLE DISCARDABLE
{
106 107
STRING_PAGESETUP_HEADERVALUE,   "&f"
STRING_PAGESETUP_FOOTERVALUE,   "Side &s"
108 109 110 111 112 113 114 115 116 117 118

STRING_NOTEPAD,                                 "Notisblokk"
STRING_ERROR,                                   "FEIL"
STRING_WARNING,                                 "ADVARSEL"
STRING_INFO,                                    "Informasjon"

STRING_UNTITLED,                                "(Uten navn)"

STRING_ALL_FILES,                               "Alle filer (*.*)"
STRING_TEXT_FILES_TXT,                  "Tekstfiler (*.txt)"

119
STRING_TOOLARGE,                                "Filen «%s» er for stor for Notisblokk.\n \
120 121
Bruk en annen redigerer."
STRING_NOTEXT,                                  "Du skrev ikke inn noe tekst. \
122 123
\nSkriv noe og prøv igjen."
STRING_DOESNOTEXIST,                            "Filen «%s» finnes ikke.\n\n \
124
Opprette en ny fil?"
125
STRING_NOTSAVED,                                "Filen «%s» er endret.\n\n \
126
Lagre endringene?"
127 128 129
STRING_NOTFOUND,                                        "Klarte ikke finne «%s»."
STRING_OUT_OF_MEMORY,                   "Ikke nok minne for å fullføre \
operasjonen.\nLukk et eller flere programmer for å frigjøre\nmer \
130 131
minne."

132 133 134 135
STRING_UNICODE_LE,     "Unicode (UTF-16)"
STRING_UNICODE_BE,     "Unicode (UTF-16 big-endian)"

STRING_LOSS_OF_UNICODE_CHARACTERS,         "«%s»\n\
136 137 138 139
Denne filen inneholder Unicode-tegn som vil gå tapt hvis\n\
filen lagres med tegnkodingen %s.\n\
Trykk Avbryt og velg et av Unicode-valgene fra listen\n\
hvis du vil beholde tegnene.\n\
140
Fortsette?"
141
}