2006-02-24 18:53:33 +01:00
|
|
|
/*
|
2009-07-03 02:15:16 +02:00
|
|
|
* Copyright 2006-2009 by Alexander N. Sørnes <alex@thehandofagony.com>
|
2006-02-24 18:53:33 +01:00
|
|
|
*
|
|
|
|
* 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
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2006-02-24 18:53:33 +01:00
|
|
|
*/
|
|
|
|
|
2009-07-02 00:31:53 +02:00
|
|
|
#include "wordpad.h"
|
|
|
|
|
2009-07-03 02:15:16 +02:00
|
|
|
#pragma code_page(65001)
|
|
|
|
|
2006-02-24 18:53:33 +01:00
|
|
|
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
|
|
|
|
|
2007-11-04 12:34:03 +01:00
|
|
|
IDM_MAINMENU MENU DISCARDABLE
|
2006-02-24 18:53:33 +01:00
|
|
|
BEGIN
|
|
|
|
POPUP "&Fil"
|
|
|
|
BEGIN
|
2008-02-13 14:30:21 +01:00
|
|
|
MENUITEM "&Ny...\tCtrl+N", ID_FILE_NEW
|
2009-07-03 02:15:16 +02:00
|
|
|
MENUITEM "&Åpne...\tCtrl+O", ID_FILE_OPEN
|
2007-06-05 11:11:56 +02:00
|
|
|
MENUITEM "&Lagre\tCtrl+S", ID_FILE_SAVE
|
2008-06-05 14:48:16 +02:00
|
|
|
MENUITEM "Lagre &som...", ID_FILE_SAVEAS
|
2006-02-24 18:53:33 +01:00
|
|
|
MENUITEM SEPARATOR
|
2008-06-05 14:48:16 +02:00
|
|
|
MENUITEM "&Skriv ut...\tCtrl+P", ID_PRINT
|
2009-07-03 02:15:16 +02:00
|
|
|
MENUITEM "&Forhåndsvisning...", ID_PREVIEW
|
2008-06-05 14:48:16 +02:00
|
|
|
MENUITEM "&Utskriftformat...", ID_PRINTSETUP
|
2007-08-23 01:36:29 +02:00
|
|
|
MENUITEM SEPARATOR
|
2007-06-05 11:11:56 +02:00
|
|
|
MENUITEM "&Avslutt", ID_FILE_EXIT
|
2006-02-24 18:53:33 +01:00
|
|
|
END
|
|
|
|
POPUP "R&ediger"
|
|
|
|
BEGIN
|
2007-02-25 14:39:58 +01:00
|
|
|
MENUITEM "&Angre\tCtrl+Z", ID_EDIT_UNDO
|
|
|
|
MENUITEM "&Gjenta\tCtrl+Y", ID_EDIT_REDO
|
2006-02-24 18:53:33 +01:00
|
|
|
MENUITEM SEPARATOR
|
2007-02-25 14:39:58 +01:00
|
|
|
MENUITEM "Klipp u&t\tCtrl+X", ID_EDIT_CUT
|
|
|
|
MENUITEM "&Kopier\tCtrl+C", ID_EDIT_COPY
|
|
|
|
MENUITEM "&Lim inn\tCtrl+V", ID_EDIT_PASTE
|
|
|
|
MENUITEM "&Fjern\tDEL", ID_EDIT_CLEAR
|
|
|
|
MENUITEM "&Merk alt\tCtrl+A", ID_EDIT_SELECTALL
|
2006-02-24 18:53:33 +01:00
|
|
|
MENUITEM SEPARATOR
|
2009-07-03 02:15:16 +02:00
|
|
|
MENUITEM "&Søk etter...\tCrtl+F", ID_FIND
|
|
|
|
MENUITEM "Søk etter &neste\tF3", ID_FIND_NEXT
|
2008-06-05 14:48:16 +02:00
|
|
|
MENUITEM "E&rstatt...\tCtrl+H", ID_REPLACE
|
2007-07-18 15:41:33 +02:00
|
|
|
MENUITEM SEPARATOR
|
2007-08-26 15:01:44 +02:00
|
|
|
MENUITEM "S&krivebeskyttet", ID_EDIT_READONLY
|
2006-02-24 18:53:33 +01:00
|
|
|
MENUITEM "E&ndret", ID_EDIT_MODIFIED
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
POPUP "&Ekstra"
|
|
|
|
BEGIN
|
2009-07-03 02:15:16 +02:00
|
|
|
MENUITEM "&Info om merket område", ID_EDIT_SELECTIONINFO
|
2006-02-24 18:53:33 +01:00
|
|
|
MENUITEM "Tegn&format", ID_EDIT_CHARFORMAT
|
|
|
|
MENUITEM "Stan&dard tegnformat", ID_EDIT_DEFCHARFORMAT
|
|
|
|
MENUITEM "&Avsnittformat", ID_EDIT_PARAFORMAT
|
|
|
|
MENUITEM "&Hent tekst", ID_EDIT_GETTEXT
|
|
|
|
END
|
|
|
|
END
|
2007-06-06 11:10:47 +02:00
|
|
|
POPUP "&Vis"
|
|
|
|
BEGIN
|
2009-07-03 02:15:16 +02:00
|
|
|
MENUITEM "Verk&tøylinje", ID_TOGGLE_TOOLBAR
|
2007-06-06 13:28:26 +02:00
|
|
|
MENUITEM "&Formatlinje", ID_TOGGLE_FORMATBAR
|
2008-01-14 00:36:23 +01:00
|
|
|
MENUITEM "&Linjal", ID_TOGGLE_RULER
|
2007-06-06 11:21:08 +02:00
|
|
|
MENUITEM "&Statuslinje", ID_TOGGLE_STATUSBAR
|
2007-08-23 15:08:41 +02:00
|
|
|
MENUITEM SEPARATOR
|
2008-06-05 14:48:16 +02:00
|
|
|
MENUITEM "&Alternativer...", ID_VIEWPROPERTIES
|
2007-06-06 11:10:47 +02:00
|
|
|
END
|
2007-07-18 15:50:21 +02:00
|
|
|
POPUP "Sett &inn"
|
|
|
|
BEGIN
|
2008-06-05 14:48:16 +02:00
|
|
|
MENUITEM "&Dato og klokkeslett...", ID_DATETIME
|
2007-07-18 15:50:21 +02:00
|
|
|
END
|
2006-02-24 18:53:33 +01:00
|
|
|
POPUP "F&ormat"
|
|
|
|
BEGIN
|
2008-06-05 14:48:16 +02:00
|
|
|
MENUITEM "&Skrift...", ID_FONTSETTINGS
|
2007-07-20 18:38:08 +02:00
|
|
|
MENUITEM "&Punktmerking" ID_BULLET
|
2008-06-05 14:48:16 +02:00
|
|
|
MENUITEM "&Avsnitt..." ID_PARAFORMAT
|
|
|
|
MENUITEM "&Tabulatorer..." ID_TABSTOPS
|
2006-02-24 18:53:33 +01:00
|
|
|
POPUP "&Bakgrunn"
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "&System\tCtrl+1", ID_BACK_1
|
|
|
|
MENUITEM "Merkela&pp-gult\tCtrl+2", ID_BACK_2
|
|
|
|
END
|
|
|
|
END
|
2007-08-23 15:05:40 +02:00
|
|
|
POPUP "&Hjelp"
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "&Om Wine Wordpad" ID_ABOUT
|
|
|
|
END
|
2006-02-24 18:53:33 +01:00
|
|
|
END
|
2007-02-25 14:40:27 +01:00
|
|
|
|
2007-08-23 15:05:23 +02:00
|
|
|
IDM_POPUP MENU DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
POPUP ""
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "Klipp u&t" ID_EDIT_CUT
|
|
|
|
MENUITEM "&Kopier" ID_EDIT_COPY
|
|
|
|
MENUITEM "&Lim inn" ID_EDIT_PASTE
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "&Punktmerking" ID_BULLET
|
2008-06-05 14:48:16 +02:00
|
|
|
MENUITEM "&Avsnitt..." ID_PARAFORMAT
|
2007-08-23 15:05:23 +02:00
|
|
|
END
|
|
|
|
END
|
|
|
|
|
2007-07-18 15:50:21 +02:00
|
|
|
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
|
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "Dato og klokkeslett"
|
|
|
|
FONT 10, "MS Sans Serif"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
LTEXT "Tilgjengelige formater",-1,3,2,100,15
|
2008-11-15 01:10:57 +01:00
|
|
|
LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
|
2007-07-18 15:50:21 +02:00
|
|
|
PUSHBUTTON "&OK",IDOK,87,12,40,12
|
|
|
|
PUSHBUTTON "&Avbryt",IDCANCEL,87,26,40,12
|
|
|
|
END
|
|
|
|
|
2007-07-18 22:27:15 +02:00
|
|
|
IDD_NEWFILE DIALOG DISCARDABLE 30, 20, 140, 80
|
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "Ny"
|
|
|
|
FONT 10, "MS Sans Serif"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
LTEXT "Ny dokumenttype",-1,3,2,100,15
|
2007-07-18 22:27:15 +02:00
|
|
|
LISTBOX IDC_NEWFILE,3,12,90,65,LBS_NOINTEGRALHEIGHT
|
|
|
|
PUSHBUTTON "&OK",IDOK,97,12,40,12
|
|
|
|
PUSHBUTTON "&Avbryt",IDCANCEL,97,26,40,12
|
|
|
|
END
|
|
|
|
|
2007-08-23 01:15:17 +02:00
|
|
|
IDD_PARAFORMAT DIALOG DISCARDABLE 30, 20, 200, 110
|
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
Caption "Formater avsnitt"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
GROUPBOX "Innrykk", -1, 10, 10, 120, 68
|
|
|
|
LTEXT "Venstre", -1, 15, 22, 40, 13
|
2007-08-23 01:15:17 +02:00
|
|
|
EDITTEXT IDC_PARA_LEFT, 55, 20, 60, 13
|
2009-07-03 02:15:16 +02:00
|
|
|
LTEXT "Høyre", -1, 15, 40, 40, 13
|
2007-08-23 01:15:17 +02:00
|
|
|
EDITTEXT IDC_PARA_RIGHT, 55, 38, 60, 13
|
2009-07-03 02:15:16 +02:00
|
|
|
LTEXT "Første linje", -1, 15, 58, 40, 13
|
2007-08-23 01:15:17 +02:00
|
|
|
EDITTEXT IDC_PARA_FIRST, 55, 56, 60, 13
|
2009-01-14 11:31:00 +01:00
|
|
|
LTEXT "Justering", -1, 15, 87, 40, 13
|
2008-06-18 03:20:14 +02:00
|
|
|
COMBOBOX IDC_PARA_ALIGN, 55, 85, 60, 60, CBS_DROPDOWNLIST
|
2007-08-23 01:15:17 +02:00
|
|
|
PUSHBUTTON "&OK", IDOK, 137, 15, 50, 15
|
|
|
|
PUSHBUTTON "&Avbryt", IDCANCEL, 137, 33, 50, 15
|
|
|
|
END
|
|
|
|
|
2007-08-23 01:27:50 +02:00
|
|
|
IDD_TABSTOPS DIALOG DISCARDABLE 30, 20, 200, 110
|
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
Caption "Tabulatorer"
|
|
|
|
FONT 8, "MS SHell DLg"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
GROUPBOX "Tabulatorstopp", -1, 10, 10, 120, 90
|
2009-02-25 21:15:25 +01:00
|
|
|
COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE
|
2007-08-23 01:27:50 +02:00
|
|
|
DEFPUSHBUTTON "&Legg til", ID_TAB_ADD, 20, 80, 45, 15
|
|
|
|
PUSHBUTTON "&Fjern", ID_TAB_DEL, 72, 80, 45, 15
|
|
|
|
PUSHBUTTON "&OK", IDOK, 137, 15, 50, 15
|
|
|
|
PUSHBUTTON "&Avbryt", IDCANCEL, 137, 33, 50, 15
|
|
|
|
PUSHBUTTON "Fjern all&e", ID_TAB_EMPTY, 137, 51, 50, 15
|
|
|
|
END
|
|
|
|
|
2007-08-23 15:08:41 +02:00
|
|
|
IDD_FORMATOPTS DIALOG DISCARDABLE 0, 0, 280, 110
|
|
|
|
STYLE DS_SYSMODAL
|
|
|
|
Caption ""
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
GROUPBOX "Linjebryting", -1, 10, 10, 130, 85
|
2008-10-14 00:48:41 +02:00
|
|
|
RADIOBUTTON "No line wrapping", IDC_PAGEFMT_WN, 18, 25, 117, 15
|
|
|
|
RADIOBUTTON "Bryt tekst etter v&indusbredden", IDC_PAGEFMT_WW, 18, 45, 117, 15
|
|
|
|
RADIOBUTTON "Bryt tekst etter &margen", IDC_PAGEFMT_WM, 18, 65, 117, 15
|
2009-07-03 02:15:16 +02:00
|
|
|
GROUPBOX "Verktøylinjer", -1, 150, 10, 120, 85
|
|
|
|
CHECKBOX "&Verktøylinje", IDC_PAGEFMT_TB, 160, 20, 80, 15
|
2007-08-23 15:08:41 +02:00
|
|
|
CHECKBOX "&Formatlinje", IDC_PAGEFMT_FB, 160, 38, 80, 15
|
2008-01-14 00:36:23 +01:00
|
|
|
CHECKBOX "&Linjal", IDC_PAGEFMT_RU, 160, 56, 80, 15
|
|
|
|
CHECKBOX "&Statuslinje", IDC_PAGEFMT_SB, 160, 74, 80, 15
|
2007-08-23 15:08:41 +02:00
|
|
|
LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
|
|
|
|
END
|
|
|
|
|
2007-02-25 14:40:27 +01:00
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
2007-07-18 21:59:24 +02:00
|
|
|
STRING_RICHTEXT_FILES_RTF, "Rikt tekstformat (*.rtf)"
|
|
|
|
STRING_TEXT_FILES_TXT, "Tekstdokument (*.txt)"
|
|
|
|
STRING_TEXT_FILES_UNICODE_TXT, "Unicode-tekstdokument (*.txt)"
|
|
|
|
STRING_ALL_FILES, "Alle filer (*.*)"
|
2007-02-25 14:40:27 +01:00
|
|
|
END
|
2007-07-08 13:51:19 +02:00
|
|
|
|
2007-07-18 22:27:15 +02:00
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
STRING_NEWFILE_RICHTEXT, "Rikt tekstdokument"
|
|
|
|
STRING_NEWFILE_TXT, "Tekstdokument"
|
|
|
|
STRING_NEWFILE_TXT_UNICODE, "Tekstdokument (Unicode)"
|
|
|
|
END
|
|
|
|
|
2007-08-23 01:15:17 +02:00
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
STRING_ALIGN_LEFT, "Venstrestilt"
|
2009-07-03 02:15:16 +02:00
|
|
|
STRING_ALIGN_RIGHT, "Høyrestilt"
|
2007-08-23 01:15:17 +02:00
|
|
|
STRING_ALIGN_CENTER, "Midtstilt"
|
|
|
|
END
|
|
|
|
|
2007-08-23 01:36:29 +02:00
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
STRING_PRINTER_FILES_PRN, "Skriverfiler (*.PRN)"
|
|
|
|
END
|
|
|
|
|
2007-08-23 15:08:41 +02:00
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
STRING_VIEWPROPS_TITLE, "Alternativer"
|
|
|
|
STRING_VIEWPROPS_TEXT, "Tekst"
|
|
|
|
STRING_VIEWPROPS_RICHTEXT, "Rik tekst"
|
|
|
|
END
|
|
|
|
|
2007-08-23 15:09:49 +02:00
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
STRING_PREVIEW_PRINT, "Skriv ut"
|
|
|
|
STRING_PREVIEW_NEXTPAGE, "Neste side"
|
|
|
|
STRING_PREVIEW_PREVPAGE, "Forrige side"
|
2008-03-27 01:39:05 +01:00
|
|
|
STRING_PREVIEW_TWOPAGES, "To sider"
|
2009-07-03 02:15:16 +02:00
|
|
|
STRING_PREVIEW_ONEPAGE, "Én side"
|
2007-08-23 15:09:49 +02:00
|
|
|
STRING_PREVIEW_CLOSE, "Lukk"
|
|
|
|
END
|
|
|
|
|
2007-08-23 01:15:17 +02:00
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
STRING_UNITS_CM, "cm"
|
|
|
|
END
|
|
|
|
|
2007-07-08 13:51:19 +02:00
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
STRING_DEFAULT_FILENAME, "Dokument"
|
2009-07-03 02:15:16 +02:00
|
|
|
STRING_PROMPT_SAVE_CHANGES, "Lagre endringer i «%s»?"
|
|
|
|
STRING_SEARCH_FINISHED, "Ferdig med å søke i dokumentet."
|
2007-07-18 15:44:24 +02:00
|
|
|
STRING_LOAD_RICHED_FAILED, "Klarte ikke laste RichEdit-biblioteket."
|
2009-07-03 02:15:16 +02:00
|
|
|
STRING_SAVE_LOSEFORMATTING, "Du har valgt å lagre i rent tekstformat, noe som " \
|
|
|
|
"vil føre til at all formatering går tapt. Er du " \
|
|
|
|
"sikker på at du vil fortsette?"
|
2007-08-23 01:15:17 +02:00
|
|
|
STRING_INVALID_NUMBER, "Ugyldig tallformat"
|
2007-10-16 15:07:31 +02:00
|
|
|
STRING_OLE_STORAGE_NOT_SUPPORTED, "OLE storage documents are not supported"
|
2008-07-11 20:38:50 +02:00
|
|
|
STRING_WRITE_FAILED, "Klarte ikke lagre filen."
|
2009-07-03 02:15:16 +02:00
|
|
|
STRING_WRITE_ACCESS_DENIED, "Du har ikke tilgang til å lagre filen."
|
|
|
|
STRING_OPEN_FAILED, "Klarte ikke åpne filen."
|
|
|
|
STRING_OPEN_ACCESS_DENIED, "Du har ikke tilgang til å åpne filen."
|
|
|
|
STRING_PRINTING_NOT_IMPLEMENTED, "Utskriftfunksjonen er ikke laget ennå."
|
|
|
|
STRING_MAX_TAB_STOPS, "Kan ikke legge til mer enn 32 tabulatorstopp."
|
2007-07-08 13:51:19 +02:00
|
|
|
END
|