https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3b0417d48eee02bfb9a2c…
commit 3b0417d48eee02bfb9a2cf844306d7bedf2aa5b9
Author: Andrej Bartulin <andrej.bartulinvr(a)gmail.com>
AuthorDate: Mon Sep 5 14:58:00 2022 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Sep 5 14:58:00 2022 +0200
[TRANSLATION] Croatian translation of games (Solitare and Spider) (#4664)
---
base/applications/games/solitaire/lang/hr-HR.rc | 92 +++++++++++++++++++++++++
base/applications/games/solitaire/rsrc.rc | 3 +
base/applications/games/spider/lang/hr-HR.rc | 80 +++++++++++++++++++++
base/applications/games/spider/rsrc.rc | 3 +
4 files changed, 178 insertions(+)
diff --git a/base/applications/games/solitaire/lang/hr-HR.rc
b/base/applications/games/solitaire/lang/hr-HR.rc
new file mode 100644
index 00000000000..0f38cca40d2
--- /dev/null
+++ b/base/applications/games/solitaire/lang/hr-HR.rc
@@ -0,0 +1,92 @@
+/*
+ * PROJECT: ReactOS Solitaire
+ * LICENSE: Freeware, permission to use under Public Domain
+ * PURPOSE: Croatian resource file
+ * TRANSLATOR: Copyright 2022 Andrej Bartulin <andrej.bartulinvr(a)gmail.com>
+ */
+
+LANGUAGE LANG_CROATIAN, SUBLANG_CROATIAN_CROATIA
+
+/* Dialogs */
+
+IDD_OPTIONS DIALOGEX 0, 0, 186, 118
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
+CAPTION "Opcije"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Kartice", -1, 7, 7, 90, 40
+ AUTORADIOBUTTON "Nacrtaj &jednu", IDC_OPT_DRAWONE, 14, 19, 70, 10,
WS_GROUP | WS_TABSTOP
+ AUTORADIOBUTTON "Nacrtaj &tri", IDC_OPT_DRAWTHREE, 14, 32, 70, 10
+ GROUPBOX "Rezultat", -1, 100, 7, 75, 53
+ AUTORADIOBUTTON "&Standardno", IDC_OPT_STANDARD, 107, 19, 60, 10,
WS_GROUP | WS_TABSTOP
+ AUTORADIOBUTTON "&Vegas", IDC_OPT_VEGAS, 107, 32, 60, 10
+ AUTORADIOBUTTON "&Ništa", IDC_OPT_NOSCORE, 107, 45, 60, 10
+ AUTOCHECKBOX "&Pokaži vrijeme", IDC_OPT_SHOWTIME, 7 ,51 ,65 ,10,
WS_TABSTOP
+ AUTOCHECKBOX "Sta&tusna traka", IDC_OPT_STATUSBAR, 7, 66, 64, 10,
WS_TABSTOP
+ AUTOCHECKBOX "&Zadrži rezultat", IDC_OPT_KEEPSCORE, 100, 66, 65, 10,
WS_TABSTOP
+ DEFPUSHBUTTON "U redu", IDOK, 35, 97, 50, 14
+ PUSHBUTTON "Odustani", IDCANCEL, 101, 97, 50, 14
+END
+
+IDD_CARDBACK DIALOGEX 6, 6, 345, 185
+CAPTION "Odaberite stražnju stranu kartice"
+FONT 8, "MS Shell Dlg"
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
+BEGIN
+ CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 71
+ CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 61, 7, 50, 71
+ CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 118, 7, 50, 71
+ CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 175, 7, 50, 71
+ CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 232, 7, 50, 71
+ CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 289, 7, 50, 71
+ CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 89, 50, 71
+ CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 61, 89, 50, 71
+ CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 118, 89, 50, 71
+ CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 175, 89, 50, 71
+ CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 232, 89, 50, 71
+ CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 289, 89, 50, 71
+ DEFPUSHBUTTON "U redu", IDOK, 114, 165, 54, 14
+ PUSHBUTTON "Odustani", IDCANCEL, 176, 165, 54, 14
+END
+
+/* Strings */
+
+STRINGTABLE
+BEGIN
+ IDS_SOL_NAME "Solitaire"
+ IDS_SOL_ABOUT "Solitaire od J Brown\n\nCardLib verzija 1.0."
+ IDS_SOL_QUIT "Napusti trenutnu igru?"
+ IDS_SOL_WIN "Čestitke, pobijedili ste!"
+ IDS_SOL_DEAL "Ponovi?"
+ IDS_SOL_SCORE "Rezultat: %d"
+ IDS_SOL_TIME "Vrijeme: %d"
+END
+
+/* Menus */
+
+IDR_MENU1 MENU
+BEGIN
+ POPUP "&Igra"
+ BEGIN
+ MENUITEM "Po&kreni\tF2", IDM_GAME_NEW
+ MENUITEM SEPARATOR
+ MENUITEM "&Poništi", IDM_GAME_UNDO, GRAYED
+ MENUITEM "Špi&l...", IDM_GAME_DECK
+ MENUITEM "&Opcije...", IDM_GAME_OPTIONS
+ MENUITEM SEPARATOR
+ MENUITEM "&Izađi", IDM_GAME_EXIT
+ END
+ POPUP "&Pomoć"
+ BEGIN
+ MENUITEM "&Sadržaj\tF1", IDM_HELP_CONTENTS
+ MENUITEM "&O Solitaire", IDM_HELP_ABOUT
+ END
+END
+
+/* Accelerators */
+
+IDR_ACCELERATOR1 ACCELERATORS
+BEGIN
+ VK_F1, IDM_HELP_CONTENTS, VIRTKEY, NOINVERT
+ VK_F2, IDM_GAME_NEW, VIRTKEY, NOINVERT
+END
diff --git a/base/applications/games/solitaire/rsrc.rc
b/base/applications/games/solitaire/rsrc.rc
index 2cbb326ccd9..3e4c6af2684 100644
--- a/base/applications/games/solitaire/rsrc.rc
+++ b/base/applications/games/solitaire/rsrc.rc
@@ -42,6 +42,9 @@ IDI_SOLITAIRE ICON "solitaire.ico"
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
+#ifdef LANGUAGE_HR_HR
+ #include "lang/hr-HR.rc"
+#endif
#ifdef LANGUAGE_HU_HU
#include "lang/hu-HU.rc"
#endif
diff --git a/base/applications/games/spider/lang/hr-HR.rc
b/base/applications/games/spider/lang/hr-HR.rc
new file mode 100644
index 00000000000..1812d575de4
--- /dev/null
+++ b/base/applications/games/spider/lang/hr-HR.rc
@@ -0,0 +1,80 @@
+/*
+ * PROJECT: Spider Solitaire
+ * LICENSE: GPL-2.0-or-later (
https://spdx.org/licenses/GPL-2.0-or-later)
+ * PURPOSE: Croatian resource file
+ * TRANSLATOR: Copyright 2022 Andrej Bartulin <andrej.bartulinvr(a)gmail.com>
+ */
+
+LANGUAGE LANG_CROATIAN, SUBLANG_CROATIAN_CROATIA
+
+/* Dialogs */
+
+IDD_CARDBACK DIALOGEX 6, 6, 345, 185
+CAPTION "Odaberite zadnju stranu kartice"
+FONT 8, "MS Shell Dlg"
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
+BEGIN
+ CONTROL "", IDC_CARDBACK1, "Static", SS_NOTIFY, 4, 7, 50, 71
+ CONTROL "", IDC_CARDBACK2, "Static", SS_NOTIFY, 61, 7, 50, 71
+ CONTROL "", IDC_CARDBACK3, "Static", SS_NOTIFY, 118, 7, 50, 71
+ CONTROL "", IDC_CARDBACK4, "Static", SS_NOTIFY, 175, 7, 50, 71
+ CONTROL "", IDC_CARDBACK5, "Static", SS_NOTIFY, 232, 7, 50, 71
+ CONTROL "", IDC_CARDBACK6, "Static", SS_NOTIFY, 289, 7, 50, 71
+ CONTROL "", IDC_CARDBACK7, "Static", SS_NOTIFY, 4, 89, 50, 71
+ CONTROL "", IDC_CARDBACK8, "Static", SS_NOTIFY, 61, 89, 50, 71
+ CONTROL "", IDC_CARDBACK9, "Static", SS_NOTIFY, 118, 89, 50, 71
+ CONTROL "", IDC_CARDBACK10, "Static", SS_NOTIFY, 175, 89, 50, 71
+ CONTROL "", IDC_CARDBACK11, "Static", SS_NOTIFY, 232, 89, 50, 71
+ CONTROL "", IDC_CARDBACK12, "Static", SS_NOTIFY, 289, 89, 50, 71
+ DEFPUSHBUTTON "U redu", IDOK, 114, 165, 54, 14
+ PUSHBUTTON "Odustani", IDCANCEL, 176, 165, 54, 14
+END
+
+IDD_DIFFICULTY DIALOGEX 100, 100, 106, 80
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SHELLFONT
+CAPTION "Težina"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ AUTORADIOBUTTON "Lagano: &Jedna boja", IDC_DIF_ONECOLOR, 8, 10, 80, 10,
WS_GROUP | WS_TABSTOP
+ AUTORADIOBUTTON "Srednje: &Dvije boje", IDC_DIF_TWOCOLORS, 8, 23, 80,
10
+ AUTORADIOBUTTON "Teško: Č&etiri boje", IDC_DIF_FOURCOLORS, 8, 36, 80,
10
+ DEFPUSHBUTTON "U redu", IDOK, 8, 58, 40, 14
+ PUSHBUTTON "Odustani", IDCANCEL, 58, 58, 40, 14
+END
+
+/* Strings */
+
+STRINGTABLE
+BEGIN
+ IDS_SPI_NAME "Spider"
+ IDS_SPI_ABOUT "Spider Solitaire od Gregor Schneider\n\nCardLib verzija
1.0"
+ IDS_SPI_QUIT "Napusti trenutnu igru?"
+ IDS_SPI_WIN "Čestitke, pobijedili ste!"
+ IDS_SPI_DEAL "Ponovno?"
+END
+
+/* Menus */
+
+IDR_MENU1 MENU
+BEGIN
+ POPUP "&Igra"
+ BEGIN
+ MENUITEM "&Nova igra\tF2", IDM_GAME_NEW
+ MENUITEM SEPARATOR
+ MENUITEM "Š&pil...", IDM_GAME_DECK
+ MENUITEM SEPARATOR
+ MENUITEM "&Izađi", IDM_GAME_EXIT
+ END
+ POPUP "&Pomoć"
+ BEGIN
+ MENUITEM "&Sadržaj\tF1", IDM_HELP_CONTENTS
+ MENUITEM "&O Spider-u", IDM_HELP_ABOUT
+ END
+END
+
+/* Accelerator */
+IDR_ACCELERATOR1 ACCELERATORS
+BEGIN
+ VK_F1, IDM_HELP_CONTENTS, VIRTKEY, NOINVERT
+ VK_F2, IDM_GAME_NEW, VIRTKEY, NOINVERT
+END
diff --git a/base/applications/games/spider/rsrc.rc
b/base/applications/games/spider/rsrc.rc
index d268d89069e..40e5b53ae82 100644
--- a/base/applications/games/spider/rsrc.rc
+++ b/base/applications/games/spider/rsrc.rc
@@ -33,6 +33,9 @@ IDI_SPIDER ICON "spider.ico"
#ifdef LANGUAGE_HE_IL
#include "lang/he-IL.rc"
#endif
+#ifdef LANGUAGE_HR_HR
+ #include "lang/hr-HR.rc"
+#endif
#ifdef LANGUAGE_HU_HU
#include "lang/hu-HU.rc"
#endif