From 2131b23dda5e6fe0bae3da570d8ca5d86eb8134c Mon Sep 17 00:00:00 2001 From: Nikolay Pultsin Date: Sat, 12 Jan 2008 20:07:07 +0000 Subject: [PATCH] code is changed according the C++ code changes (actionId type is changed from int to String) Swedish resource files have been added git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@472 6a642e6f-84f6-412e-ac94-c4a38d5a04b0 --- data/resources/application/en.xml | 70 ++-- data/resources/application/fi.xml | 84 ++--- data/resources/application/fr.xml | 70 ++-- data/resources/application/it.xml | 70 ++-- data/resources/application/ru.xml | 72 ++-- data/resources/application/sv.xml | 337 ++++++++++++++++++ data/resources/application/uk.xml | 78 ++-- data/resources/zlibrary/sv.xml | 60 ++++ icons/toolbar/{addbook.png => addBook.png} | Bin icons/toolbar/{bookinfo.png => bookInfo.png} | Bin icons/toolbar/{findprev.png => findNext.png} | Bin .../{findnext.png => findPrevious.png} | Bin icons/toolbar/{home.png => gotoHome.png} | Bin .../toolbar/{settings.png => preferences.png} | Bin icons/toolbar/{rightarrow.png => redo.png} | Bin .../toolbar/{rotatescreen.png => rotate.png} | Bin icons/toolbar/{find.png => search.png} | Bin icons/toolbar/{help.png => showHelp.png} | Bin icons/toolbar/{books.png => showLibrary.png} | Bin icons/toolbar/{history.png => showRecent.png} | Bin icons/toolbar/{contents.png => toc.png} | Bin icons/toolbar/{leftarrow.png => undo.png} | Bin platform/android/data/default/keymap.xml | 50 +-- platform/android/data/default/menubar.xml | 60 ++-- platform/swing/data/default/keymap.xml | 58 +-- platform/swing/data/default/toolbar.xml | 28 +- src/org/fbreader/fbreader/ActionCode.java | 77 ++-- .../core/application/ZLApplication.java | 74 ++-- .../core/application/ZLApplicationWindow.java | 6 +- .../core/application/ZLKeyBindings.java | 19 +- .../core/application/ZLKeyBindingsReader.java | 10 +- .../ZLAndroidApplicationWindow.java | 2 +- 32 files changed, 798 insertions(+), 427 deletions(-) create mode 100644 data/resources/application/sv.xml create mode 100644 data/resources/zlibrary/sv.xml rename icons/toolbar/{addbook.png => addBook.png} (100%) rename icons/toolbar/{bookinfo.png => bookInfo.png} (100%) rename icons/toolbar/{findprev.png => findNext.png} (100%) rename icons/toolbar/{findnext.png => findPrevious.png} (100%) rename icons/toolbar/{home.png => gotoHome.png} (100%) rename icons/toolbar/{settings.png => preferences.png} (100%) rename icons/toolbar/{rightarrow.png => redo.png} (100%) rename icons/toolbar/{rotatescreen.png => rotate.png} (100%) rename icons/toolbar/{find.png => search.png} (100%) rename icons/toolbar/{help.png => showHelp.png} (100%) rename icons/toolbar/{books.png => showLibrary.png} (100%) rename icons/toolbar/{history.png => showRecent.png} (100%) rename icons/toolbar/{contents.png => toc.png} (100%) rename icons/toolbar/{leftarrow.png => undo.png} (100%) diff --git a/data/resources/application/en.xml b/data/resources/application/en.xml index 86418dc35..16113ef78 100644 --- a/data/resources/application/en.xml +++ b/data/resources/application/en.xml @@ -4,54 +4,54 @@ - - - + + + - + - - - - - - - + + + + + + + - - - + + + - - - + + + - + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -221,7 +221,7 @@ - + diff --git a/data/resources/application/fi.xml b/data/resources/application/fi.xml index 8244270e8..ade02d21a 100644 --- a/data/resources/application/fi.xml +++ b/data/resources/application/fi.xml @@ -4,54 +4,54 @@ - - - + + + - + - - - - - - - + + + + + + + - - - + + + - - - + + + - + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -61,7 +61,7 @@ - + @@ -71,7 +71,7 @@ - + @@ -104,7 +104,7 @@ - + @@ -221,9 +221,9 @@ - - - + + + @@ -292,8 +292,8 @@ - - + + diff --git a/data/resources/application/fr.xml b/data/resources/application/fr.xml index fae78eec6..7f8bd8ceb 100644 --- a/data/resources/application/fr.xml +++ b/data/resources/application/fr.xml @@ -5,54 +5,54 @@ - - - + + + - + - - - - - - - + + + + + + + - - - + + + - - - + + + - + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -222,7 +222,7 @@ - + diff --git a/data/resources/application/it.xml b/data/resources/application/it.xml index 53eb7adce..de91c2681 100644 --- a/data/resources/application/it.xml +++ b/data/resources/application/it.xml @@ -4,54 +4,54 @@ - - - + + + - + - - - - - - - + + + + + + + - - - + + + - - - + + + - + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -221,7 +221,7 @@ - + diff --git a/data/resources/application/ru.xml b/data/resources/application/ru.xml index bfcd629fd..61f959ec3 100644 --- a/data/resources/application/ru.xml +++ b/data/resources/application/ru.xml @@ -4,54 +4,54 @@ - - - + + + - + - - - - - - - + + + + + + + - - - + + + - - - + + + - + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -71,7 +71,7 @@ - + @@ -221,7 +221,7 @@ - + diff --git a/data/resources/application/sv.xml b/data/resources/application/sv.xml new file mode 100644 index 000000000..92e7ca4f8 --- /dev/null +++ b/data/resources/application/sv.xml @@ -0,0 +1,337 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/resources/application/uk.xml b/data/resources/application/uk.xml index bb38857ca..56dc8554d 100644 --- a/data/resources/application/uk.xml +++ b/data/resources/application/uk.xml @@ -4,54 +4,54 @@ - - - + + + - + - - - - - - - + + + + + + + - - - + + + - - - + + + - + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -71,7 +71,7 @@ - + @@ -104,7 +104,7 @@ - + @@ -221,9 +221,9 @@ - - - + + + diff --git a/data/resources/zlibrary/sv.xml b/data/resources/zlibrary/sv.xml new file mode 100644 index 000000000..1d4d1a55e --- /dev/null +++ b/data/resources/zlibrary/sv.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icons/toolbar/addbook.png b/icons/toolbar/addBook.png similarity index 100% rename from icons/toolbar/addbook.png rename to icons/toolbar/addBook.png diff --git a/icons/toolbar/bookinfo.png b/icons/toolbar/bookInfo.png similarity index 100% rename from icons/toolbar/bookinfo.png rename to icons/toolbar/bookInfo.png diff --git a/icons/toolbar/findprev.png b/icons/toolbar/findNext.png similarity index 100% rename from icons/toolbar/findprev.png rename to icons/toolbar/findNext.png diff --git a/icons/toolbar/findnext.png b/icons/toolbar/findPrevious.png similarity index 100% rename from icons/toolbar/findnext.png rename to icons/toolbar/findPrevious.png diff --git a/icons/toolbar/home.png b/icons/toolbar/gotoHome.png similarity index 100% rename from icons/toolbar/home.png rename to icons/toolbar/gotoHome.png diff --git a/icons/toolbar/settings.png b/icons/toolbar/preferences.png similarity index 100% rename from icons/toolbar/settings.png rename to icons/toolbar/preferences.png diff --git a/icons/toolbar/rightarrow.png b/icons/toolbar/redo.png similarity index 100% rename from icons/toolbar/rightarrow.png rename to icons/toolbar/redo.png diff --git a/icons/toolbar/rotatescreen.png b/icons/toolbar/rotate.png similarity index 100% rename from icons/toolbar/rotatescreen.png rename to icons/toolbar/rotate.png diff --git a/icons/toolbar/find.png b/icons/toolbar/search.png similarity index 100% rename from icons/toolbar/find.png rename to icons/toolbar/search.png diff --git a/icons/toolbar/help.png b/icons/toolbar/showHelp.png similarity index 100% rename from icons/toolbar/help.png rename to icons/toolbar/showHelp.png diff --git a/icons/toolbar/books.png b/icons/toolbar/showLibrary.png similarity index 100% rename from icons/toolbar/books.png rename to icons/toolbar/showLibrary.png diff --git a/icons/toolbar/history.png b/icons/toolbar/showRecent.png similarity index 100% rename from icons/toolbar/history.png rename to icons/toolbar/showRecent.png diff --git a/icons/toolbar/contents.png b/icons/toolbar/toc.png similarity index 100% rename from icons/toolbar/contents.png rename to icons/toolbar/toc.png diff --git a/icons/toolbar/leftarrow.png b/icons/toolbar/undo.png similarity index 100% rename from icons/toolbar/leftarrow.png rename to icons/toolbar/undo.png diff --git a/platform/android/data/default/keymap.xml b/platform/android/data/default/keymap.xml index 5363e6467..34c9c9f80 100644 --- a/platform/android/data/default/keymap.xml +++ b/platform/android/data/default/keymap.xml @@ -1,28 +1,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/platform/android/data/default/menubar.xml b/platform/android/data/default/menubar.xml index 9a7f3de76..09fdb2f0a 100644 --- a/platform/android/data/default/menubar.xml +++ b/platform/android/data/default/menubar.xml @@ -1,38 +1,38 @@ - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - + + diff --git a/platform/swing/data/default/keymap.xml b/platform/swing/data/default/keymap.xml index aa5a5bf12..365e2b57e 100644 --- a/platform/swing/data/default/keymap.xml +++ b/platform/swing/data/default/keymap.xml @@ -1,32 +1,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/platform/swing/data/default/toolbar.xml b/platform/swing/data/default/toolbar.xml index 9a23af2e3..b586b89f9 100644 --- a/platform/swing/data/default/toolbar.xml +++ b/platform/swing/data/default/toolbar.xml @@ -1,23 +1,23 @@ -