Plugin "bookstore" translation to German

Find and share translations of CMSimple(_XH) core and plugins here

Moderator: Tata

Post Reply
mhz
Posts: 676
Joined: Tue Jun 25, 2013 8:46 pm
Location: Heusenstamm, Hessen
Contact:

Plugin "bookstore" translation to German

Post by mhz » Sat Jul 27, 2013 7:05 pm

Hello,
in the stylesheet of the plugin "bookstore" I found these words, which I cannot read.
/* Image Enlarger
Код увеличителя начинается здесь.
Если ваше изображение не связано ссылкой с другой страницей,
оставьте ссылку в виде <a href="#nogo">
Иначе увеличитель не будет работать в IE6
*/
.ienlarger {
float: left;
clear: none; /* Можно установить left или right по необходимости */
padding-bottom: 5px; /* Расстояние между миниатюрами. Лучше не трогать данное поле */
padding-right: 5px; /* Расстояние между миниатюрами и окружающим текстом */
}
.ienlarger a {
cursor:default;
display:block;
text-decoration: none;
/* Если добавить правило cursor:default;, то отключится курсор в виде руки */
}
.ienlarger a:hover{ /* Не надо изменять тип позиционирования */
position:relative;
}
.ienlarger span img {
border: 1px solid #FFFFFF; /* Добавляем рамку вокруг изображения */
margin-bottom: 6px; /* /Сдвигаем текст вниз от изображения */
}
.ienlarger a span { /* Для большого изображения и названия */
position: absolute;
display:none;
color: #FFCC00; /* Текст названия */
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px; /* Размер шрифта названия */
background-color: #000000;
font-weight: bold;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 13px;
padding-left: 10px;
}
.ienlarger img { /* Для IE, чтобы не было рамки вокруг ссылки */
border-width: 0;
}
.ienlarger a:hover span {
display:block;
top: -349px; /* Большое изображение выскакивает вверх на 50px от миниатюры */
left: 50px; /* Большое изображение выскакивает влево на 50px от миниатюры */
z-index: 100;
/* Если добавить правило cursor:default;, то отключится курсор в виде руки на большом изображении */
}
.resize_thumb {
width: 50px; /* Вводим нужный размер миниатюры здесь */
height : auto;
}
/* end - Image Enlarger - Код увеличителя закончен */
Please, can somebody translate them?

Greetings
Michael
Michael Zajusch (mhz)-- Mein Tutorial für CMSimple_XH. Früher

Maxim
Posts: 121
Joined: Thu Jun 13, 2013 6:52 am
Location: Запорожье
Contact:

Это русский язык / It is the Russian language

Post by Maxim » Tue Jul 30, 2013 5:08 am

[ external image ] Здравствуйте.
Попробуйте так:

[ external image ] Guten Tag.
Versuchen Sie es so:
http://translate.yandex.net/tr-url/ru-d ... =39&t=6387

[ external image ] Hello.
Try this:
http://translate.yandex.net/tr-url/ru-e ... =39&t=6387
Last edited by Maxim on Tue Feb 04, 2014 6:28 am, edited 1 time in total.
Simple Hosting
Бедная, бросаемая бурею, безутешная!

mhz
Posts: 676
Joined: Tue Jun 25, 2013 8:46 pm
Location: Heusenstamm, Hessen
Contact:

Re: Plugin "bookstore" translation to German

Post by mhz » Tue Jul 30, 2013 8:53 am

Hallo Maxim,

herzlichen Dank für die Deutsche Übersetzung. Leider funktioniert der Link für die englische Übersetzung nicht.
Thank you very much for the German translation. But the link for the English one is broken.

A lot of greetings
Michael
Michael Zajusch (mhz)-- Mein Tutorial für CMSimple_XH. Früher

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Plugin "bookstore" translation to German

Post by cmb » Tue Jul 30, 2013 12:17 pm

mhz wrote:But the link for the English one is broken.
Works for me. :?
Christoph M. Becker – Plugins for CMSimple_XH

mhz
Posts: 676
Joined: Tue Jun 25, 2013 8:46 pm
Location: Heusenstamm, Hessen
Contact:

Re: Plugin "bookstore" translation to German

Post by mhz » Tue Jul 30, 2013 12:39 pm

Auf meiner Tutorial-Seite steht ein Paket mit der geänderten deutschen Stylesheet.css zum Download bereit. Leider gibt es immer noch russische Worte ...
Hier ein Screeshot: [ external image ]
Wo wird denn dieses ersetzt? Ich dachte, es wäre auch in der Stylesheet.css gewesen.

mhz
Michael Zajusch (mhz)-- Mein Tutorial für CMSimple_XH. Früher

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Plugin "bookstore" translation to German

Post by cmb » Tue Jul 30, 2013 10:31 pm

mhz wrote:Wo wird denn dieses ersetzt? Ich dachte, es wäre auch in der Stylesheet.css gewesen.
Grundsätzlich wäre es keine gute Idee zu internationalisierende Texte in stylesheet.css anzugeben; dann wäre ein Plugin nur schwerlich für mehrsprachige Websites zu gebrauchen. Idealerweise sollten solche Texte in der Sprachkonfiguration untergebracht sein.

Bei Bookstore_XH 1.2 ist das leider für das Grid im Backend noch nicht erfolgt. In plugins/bookstore/index.php in Zeile 70f steht folgendes:

Code: Select all

  include_jQueryPlugin('tablePagination',
      $pth['folder']['plugins'] . 'bookstore/js/jtp/jquery.tablePagination.0.5.ru.js') . "\n";
Schaut man in dem entsprechenden Verzeichnis (plugins/bookstore/js/jtp/) nach, findet man dort bereits eine deutsche (.de. und englische .en.) Version. Dann kann man das wie folgt anpassen:

Code: Select all

  include_jQueryPlugin('tablePagination',
      $pth['folder']['plugins'] . 'bookstore/js/jtp/jquery.tablePagination.0.5.de.js') . "\n";
Für eine mehrsprachige Website könnte man folgendes machen:

Code: Select all

  include_jQueryPlugin('tablePagination',
      $pth['folder']['plugins'] . 'bookstore/js/jtp/jquery.tablePagination.0.5.' . $sl . '.js') . "\n";
(das funktioniert aber nur, wenn auch die benötigten Lokalisierungen als Datei vorhanden sind, und nicht für CMSimple_XH 1.5 Subsites)

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply