From 26c86969ab21ff27a257e1c2f54a3ca0df885a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20N=2E=20S=C3=B8rnes?= Date: Sat, 17 Sep 2005 14:30:33 +0000 Subject: [PATCH] Added Norwegian translation. --- programs/notepad/No.rc | 127 +++++++++++++++++++++++++++++++++++++++ programs/notepad/rsrc.rc | 1 + 2 files changed, 128 insertions(+) create mode 100644 programs/notepad/No.rc diff --git a/programs/notepad/No.rc b/programs/notepad/No.rc new file mode 100644 index 00000000000..965bf397504 --- /dev/null +++ b/programs/notepad/No.rc @@ -0,0 +1,127 @@ +/* + * Notepad (Norwegian Bokmål resources) + * + * Copyright 2005 Alexander N. Sørnes + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL + +MAIN_MENU MENU +{ + POPUP "&FIl" { + MENUITEM "&Ny . . .\tCtrl+N", CMD_NEW + MENUITEM "&Åpne\tCtrl+O", CMD_OPEN + MENUITEM "&Lagre\tCtrl+S", CMD_SAVE + MENUITEM "Lagr&e som . . .", CMD_SAVE_AS + MENUITEM SEPARATOR + MENUITEM "&Skriv ut\tCtrl+P", CMD_PRINT + MENUITEM "Sideoppse&tt . . .", CMD_PAGE_SETUP + MENUITEM "Sk&riveroppsett . . .", CMD_PRINTER_SETUP + 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 + MENUITEM "Skr&ift . . .", CMD_FONT + } +POPUP "&Søk" { + MENUITEM "&Søk\tCtrl+F", CMD_SEARCH + MENUITEM "&Søk etter nest&e\tF3", CMD_SEARCH_NEXT + } +POPUP "&Hjelp" { + MENUITEM "&Innhold", CMD_HELP_CONTENTS + MENUITEM "&Søk . . .", CMD_HELP_SEARCH + MENUITEM "&Hjelp om hjelp", CMD_HELP_ON_HELP + MENUITEM SEPARATOR + POPUP "Inf&ormasjon . . ." { + MENUITEM "&Lisens", CMD_LICENSE + MENUITEM "I&NGEN GARANTI", CMD_NO_WARRANTY + MENUITEM "&Om Wine", CMD_ABOUT_WINE + } + } +} + +/* 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 +EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP +LTEXT "&Bunntekst:", 0x142, 10, 24, 40, 15 +EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP + +GROUPBOX "&Marg:", 0x144, 10, 43,160, 45 +LTEXT "&Venstre:", 0x145, 20, 55, 30, 10, WS_CHILD +EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP +LTEXT "&Topp:", 0x148, 20, 73, 30, 10, WS_CHILD +EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP +LTEXT "Høy&re:", 0x14B, 100, 55, 30, 10, WS_CHILD +EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP +LTEXT "&Bunn:", 0x14E,100, 73, 30, 10, WS_CHILD +EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP + +DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP +PUSHBUTTON "Avbryt", 0x152, 180, 21, 40, 15, WS_TABSTOP +PUSHBUTTON "&Hjelp", 0x153, 180, 39, 40, 15, WS_TABSTOP +} + +STRINGTABLE DISCARDABLE +{ +STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */ +STRING_PAGESETUP_FOOTERVALUE, "Side &s" /* FIXME */ +STRING_PAGESETUP_LEFTVALUE, "20mm" /* FIXME */ +STRING_PAGESETUP_RIGHTVALUE, "20mm" /* FIXME */ +STRING_PAGESETUP_TOPVALUE, "25mm" /* FIXME */ +STRING_PAGESETUP_BOTTOMVALUE, "25mm" /* FIXME */ + +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)" + +STRING_TOOLARGE, "Filen '%s' er for stor for Notisblokk.\n \ +Bruk en annen redigerer." +STRING_NOTEXT, "Du skrev ikke inn noe tekst. \ +\nSkriv noe og prøv igjen." +STRING_DOESNOTEXIST, "Filen '%s'finnes ikke.\n\n \ +Opprette en ny fil?" +STRING_NOTSAVED, "Filen '%s' er endret.\n\n \ +Lagre endringene?" +STRING_NOTFOUND, "'%s' ble ikke funnet." +STRING_OUT_OF_MEMORY, "Ikke nok minne for å fullføre \ +operasjonen. \nLukk et eller flere programmer for å frigjøre \nmer \ +minne." + +} diff --git a/programs/notepad/rsrc.rc b/programs/notepad/rsrc.rc index 5b46f26d3b2..1631defd87f 100644 --- a/programs/notepad/rsrc.rc +++ b/programs/notepad/rsrc.rc @@ -55,6 +55,7 @@ ID_ACCEL ACCELERATORS #include "It.rc" #include "Ja.rc" #include "Nl.rc" +#include "No.rc" #include "Pl.rc" #include "Pt.rc" #include "Ru.rc"