From 40dae543313294b55b1e68791ea1ae0fd2728754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20N=2E=20S=C3=B8rnes?= Date: Mon, 29 Aug 2005 10:48:15 +0000 Subject: [PATCH] Norwegian language support. --- programs/winemine/No.rc | 103 ++++++++++++++++++++++++++++++++++++++ programs/winemine/rsrc.rc | 1 + 2 files changed, 104 insertions(+) create mode 100644 programs/winemine/No.rc diff --git a/programs/winemine/No.rc b/programs/winemine/No.rc new file mode 100644 index 00000000000..3a3810a466d --- /dev/null +++ b/programs/winemine/No.rc @@ -0,0 +1,103 @@ +/* + * WineMine + * Norwegian Bokmål language support + * + * 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 + +STRINGTABLE { + IDS_APPNAME, "Minesveiper" + IDS_NOBODY, "Ingen" +} + +MENU_WINEMINE MENU DISCARDABLE +{ + POPUP "&Innstillinger" { + MENUITEM "&Ny\tF2", IDM_NEW + MENUITEM SEPARATOR + MENUITEM "&Merk spørsmål", IDM_MARKQ + MENUITEM SEPARATOR + MENUITEM "Ny&begynner", IDM_BEGINNER + MENUITEM "&Avansert", IDM_ADVANCED + MENUITEM "&Ekspert", IDM_EXPERT + MENUITEM "E&gendefinert", IDM_CUSTOM + MENUITEM SEPARATOR + MENUITEM "Avslut&t\tAlt+X", IDM_EXIT + } + POPUP "&Hjelp" { + MENUITEM "&Beste tider", IDM_TIMES + MENUITEM "&Om", IDM_ABOUT + } +} + +DLG_TIMES DIALOG DISCARDABLE 0, 0, 160, 80 +STYLE DS_MODALFRAME | DS_3DLOOK | + WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP +CAPTION "Beste tider" +{ + GROUPBOX "Beste tider", IDIGNORE, 10, 10, 140, 45 + LTEXT "Nybegynner", IDIGNORE, 20, 20, 40, 8 + LTEXT "Avansert", IDIGNORE, 20, 30, 40, 8 + LTEXT "Ekspert", IDIGNORE, 20, 40, 40, 8 + LTEXT "999", IDC_TIME1, 70, 20, 15, 8 + LTEXT "999", IDC_TIME2, 70, 30, 15, 8 + LTEXT "999", IDC_TIME3, 70, 40, 15, 8 + LTEXT "", IDC_NAME1, 90, 20, 55, 8 + LTEXT "", IDC_NAME2, 90, 30, 55, 8 + LTEXT "", IDC_NAME3, 90, 40, 55, 8 + DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15 +} + +DLG_CONGRATS DIALOG DISCARDABLE 0, 0, 160, 60 +STYLE DS_MODALFRAME | DS_3DLOOK | + WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP +CAPTION "Gratulerer!" +{ + LTEXT "Skriv inn navnet ditt", IDIGNORE, 10, 10, 150, 10 + EDITTEXT IDC_EDITNAME, 25, 20, 110, 12 + DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15 +} + +DLG_CUSTOM DIALOG DISCARDABLE 0, 0, 100, 100 +STYLE DS_MODALFRAME | DS_3DLOOK | + WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP +CAPTION "Egendefinert spill" +{ + LTEXT "Rader", IDIGNORE, 5, 5, 30, 10 + LTEXT "Kolonner", IDIGNORE, 5, 35, 30, 10 + LTEXT "Miner", IDIGNORE, 5, 65, 30, 10 + EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER + EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER + EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER + DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15 + PUSHBUTTON "Avbryt", IDCANCEL, 40, 50, 50, 15 +} + +DLG_ABOUT DIALOG DISCARDABLE 0, 0, 170, 80 +STYLE DS_MODALFRAME | DS_3DLOOK | + WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP +CAPTION "Om" +{ + LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10 + LTEXT "Kopirett 2000 tilhører Joshua Thielen", IDIGNORE, 35, 25, 140, 10 + LTEXT "Oversatt av Alexander N. Sørnes i 2005", IDIGNORE, 35, 35, 140, 10 + LTEXT "Lisensiert under LGPL", IDIGNORE, 35, 45, 115, 10 + ICON "MINESVEIPER", IDIGNORE, 10, 25, 20, 20 + DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15 +} diff --git a/programs/winemine/rsrc.rc b/programs/winemine/rsrc.rc index ad094b6fd03..7bd487cc183 100644 --- a/programs/winemine/rsrc.rc +++ b/programs/winemine/rsrc.rc @@ -29,6 +29,7 @@ #include "Fr.rc" #include "It.rc" #include "Nl.rc" +#include "No.rc" #include "Pl.rc" #include "Pt.rc" #include "Ru.rc"