Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Coppermine Photo Shop v1.4.0 in deutsch?  (Read 14796 times)

0 Members and 1 Guest are viewing this topic.

Amoura

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Coppermine Photo Shop v1.4.0 in deutsch?
« on: December 19, 2009, 01:03:50 am »

Hallöchen,

nun habe ich es doch tatsächlich geschafft und das Archiv eingerichtet bekommen - ohne Fehlermeldungen ;)
Nun habe ich das PlugIn Photo Shop v1.4.0 installiert und auch das läuft fehlerfrei. Aber es ist nur in englischer Sprache und ich hätte es gerne in Deutsch...

Hat jemand einen Rat?

LG Amoura
Logged

Amoura

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Coppermine Photo Shop v1.4.0 in deutsch?
« Reply #1 on: December 19, 2009, 01:06:20 am »

Hallöchen,

nun habe ich es doch tatsächlich geschafft und das Archiv eingerichtet bekommen - ohne Fehlermeldungen ;)
Nun habe ich das PlugIn Photo Shop v1.4.0 installiert und auch das läuft fehlerfrei. Aber es ist nur in englischer Sprache und ich hätte es gerne in Deutsch...

Hat jemand einen Rat?

LG Amoura

http://www.aus-der-mondburg.de/bildarchiv/index.php
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Coppermine Photo Shop v1.4.0 in deutsch?
« Reply #2 on: December 19, 2009, 10:24:39 am »

Übersetzen? Im photo_shop/lang Verzeichnis die Datei english.php kopieren und in german.php umbenennen. Dann die englischen in deutsche Ausdrücke übersetzen.
z.B.
Code: [Select]
  'total_checkout' => 'Price total',
wird dann folgendermaßen aussehen
Code: [Select]
  'total_checkout' => 'Gesamtpreis',

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Coppermine Photo Shop v1.4.0 in deutsch?
« Reply #3 on: December 19, 2009, 12:48:04 pm »

Wenn du damit fertig bist wäre es sehr freundlich, wenn du die deutsche Sprachdatei hier für andere zur Verfügung stellst. Danke.
Logged

Amoura

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Coppermine Photo Shop v1.4.0 in deutsch?
« Reply #4 on: December 19, 2009, 05:40:29 pm »

Hallöle,

danke für den Tipp!
Auch wenn ich nicht weiß, ob die Datei fehlerfrei ist, aber hier ist sie ...

LG Amoura

Code: [Select]
<?php
/**************************************************
  CPG Photo Shop Plugin for Coppermine Photo Gallery
  *************************************************
  Copyright (c) 2006 Thomas Lange <stramm@gmx.net>
  *************************************************
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  *************************************************
  Coppermine version: 1.4.19
  Photo Shop version: 1.4.0
  $Revision: 1.0 $
  $Author: stramm $
***************************************************/
if (!defined('IN_COPPERMINE'))
{
die('Not in Coppermine...');
}


if (
defined('PHOTOSHOP_ORDER_PHP'))
{
$lang_photoshop_email_order = <<<EOT
Hallo {USER_NAME},

vielen Dank f&uumlr Ihre Bestelllung beim {SITE_NAME} mit der Bestellnummer {ORDER_ID}.
Bitte nehmen Sie die Zahlung in Höhe von EUR {PRICE} vor.
<a href="{LINK}">{LINK}</a>

{ADMIN}
EOT;


$lang_photoshop_email_admin = <<<EOT
Hello {ADMIN},

{USER_NAME} hat mit folgender Email Adresse {USER_EMAIL}, wurde ein Bestellung auf folgender Website vorgenommen {SITE_NAME}. Ihre Bestellnummer lautet {ORDER_ID} und der Geamtpreis dieser Bestellung betr&auml;gt {PRICE}.
<a href="{LINK}index.php?file=photo_shop/photo_shop_admin">Click to go to the order manager</a>

Other placeholders you can use (blank if these user profile fiels haven't been filled in):
user_profile1: {USER_PROFILE1}
user_profile2: {USER_PROFILE2}
user_profile3: {USER_PROFILE3}
user_profile4: {USER_PROFILE4}
user_profile5: {USER_PROFILE5}
user_profile6: {USER_PROFILE6}

Best regards,
{ADMIN}
EOT;

$lang_photoshop_email_attach_header = <<<EOT


Here we can have the invoice header like address etc

...


EOT;
}

$lang_photoshop_register = array(
  
'already_member' => 'Bereits registriert',
);



$lang_photoshop_config = array(
  
'save_cfg' => 'Sichere neue Einstelllung',
  
'new_item' => 'F&uuml;ge neuen Posten hinzu',
  
'title' => 'Shop configuration',
  
'type' => 'Typ',
  
'price' => 'Preis',
  
'name' => 'Beschreibung',
  
'max_items' => 'Maximale Menge je CD',
  
'priority' => 'Priorit&auml;t',
  
//new 1.3
  
'update_alb' => 'Aktualisiere Album',
  
'reset_alb' => 'L&ouml;sche Album',
  
'select_alb' => '&nbsp;&nbsp; ** W&aum;lhle Album ** ',
  
//new 1.3.5
  
'ship_item' => 'Versand',
  
'order' => 'Bestellung',
  
//new 1.3.6
  
'shop_enabled' => 'Shop aktiviert für dieses Album',
  
'all_albs' => 'Legen Sie die Preise für alle Alben in der (Unter-)Kategorie für dieses Album fest',
  
'per_alb_settings' => 'Einstellungen je Album',
  
//1.3.6 mod ipn download size
  
'size_item' => '(max)w/h',

);

$lang_photoshop = array(
  
'type_chckout' => 'Type',
  
'item_id_checkout' => 'Item ID',
  
'amount_checkout' => 'Betrag',
  
'total_checkout' => 'Gesamtpreis',
  
'admin_title' => 'Shop'// admin menu button title
  
'uninstall' => 'Entfernen Sie die Tabelle, die verwendet wurde, um Shop-Daten zu speichern ?',
  
'buy' => 'In den Warenkorb:',
  
'send' => 'Sende',
  
'CD' => 'Sende zu CD',
  
'CD_price' => 'Kontrolliere Warenkorb',
  
'added' => 'Foto hinzugef&uuml;gt',
  
'cart' =>'Warenkorb',
  
'boxcd' =>'Artikel auf CD',
  
'boxphoto' =>'Artikel zum download',
  
'go' =>'Weiter',
  
'save_amounts' => 'Summe sichern',
  
'empty_basket' => 'Leere Warenkorb',
  
'each' => 'Löschen',
  
'title' => 'Titel:',
  
'filename' => 'Dateiname:',
  
'size' => 'Gr&ouml;sse:',
  
'amount' => 'Betrag:',
  
'total' => 'Total',
  
'pics' => 'Fotos',
  
'pricelist' => 'Preisliste',
  
'photos' => 'Fotos',
  
'cds' => 'CDs',
  
'to_many_pics' => 'Es sind zuviele Fotos auf der CD, bitte ändern Sie diese Menge!',
  
'on_cd' => 'Auf CD',
  
'for_print' => 'Zum Download',
  
'send_order' => 'Best&auml;tigen Sie bitte diese Bestellung ',
  
'goto_cart_cd' => '<a href="index.php?file=photo_shop/photo_shop_cart&box=cd">Zeige Warenkorb</a>',
  
'email_subject_order' => 'Vielen Dank für Ihre Bestellung',
  
'email_subject_order_admin' => 'Bestellung Tierbildarchiv Sch&uuml;rmans',
  
'email_sent' => 'Vielen Dank für Ihre Bestellung.<br> Sie haben eine Best&auml;tigungsmail erhalten! <br>Ihre Bestellung wird nach Zahungseingang versandt! <br>',
  
'cart_empty' => 'Ihr Warenkorb ist leer.<br> Bitte f&uuml;gen Sie ein Foto hinzu.',
  
'in_cart' => 'Fotos im Warenkorb',
  
'checkout' => 'Kasse',
  
'to_go' => 'Sie k&ouml;nnen noch weitere Bilder hinzuf&uuml;gen, bis zum n&auml;chsten Preiskategorie.',
  
'to_go_full' => 'Die CD ist in dieser Preiskategorie bef&uuml;llt',
  
'to_go_remove' => 'Sie haben zu viele Bilder auf der CD, bitte entfernen SIe %s Foto/s!',
  
'shipping' => 'Versandt',
  
// gateway integration

  
'account' => 'Kontonummer:',
  
'routing' => 'ABA routing:',
  
'swift' => 'Swift code:',
  
'bank' => 'Bank:',
  
'wire' => 'Pay by wire transfer:',

  
'paypal' => 'Zahlung mit Paypal:',
  
'google' => 'Zahlen mit Google Checkout:',
  
'order_id' => 'Bestellnr. ID:',

  
// discount, invoice
  
'discount' => 'Discount',
  
'myorders' => 'My Orders',

  
//continue button
  
'continue' => 'Weiter einkaufen',

  
'free' => 'frei',
  
'total_incl' => 'Preis inkl. %s%% MwSt.',
  );

if (
defined('PHOTOSHOP_ADMIN_PHP'))
{
$lang_photoshop_admin_data = array(
  
'Shopping Cart General',
  array(
'Enable shopping cart''photo_shop_enabled'1),
  array(
'Currency to use within the shop (eg. USD, EUR, GBP, CAD, JPY)''photo_shop_currency'0),
  array(
'VAT to use within the shop''photo_shop_vat'0),
  array(
'Enable photo downloads after purchease''photo_shop_download_enable'1),
  array(
'If downloads are enabled send a copy of the password to the admin''photo_shop_download_passwd_mail'1),
  array(
'If downloads are enabled offer zip downloads, too.''photo_shop_download_zip'1),
  array(
'Hours after the download folder should be auto deleted (blank to disable)''photo_shop_del_download_dir'0),
  array(
'Enable -My Orders- button''photo_shop_show_myorders'1),
  
'Paypal Support',
  array(
'Enable PayPal support''photo_shop_paypal_enable'1),
  array(
'Your PayPal merchant email address''photo_shop_paypal_email'0),
  array(
'The currency PayPal should use (USD, EUR, GBP, CAD, JPY)''photo_shop_paypal_currency'0),
  array(
'The -Pay with PayPal- image URL, for Germany it\'s eg. http://www.paypal.com/de_DE/i/btn/x-click-but01.gif , US: http://www.paypal.com/en_US/i/btn/x-click-but01.gif''photo_shop_paypal_image'0),
  array(
'The PayPal form URL (Sandbox: https://www.sandbox.paypal.com/cgi-bin/webscr , US: https://www.paypal.com/cgi-bin/webscr , DE: https://www.paypal.com/de/cgi-bin/webscr)''photo_shop_paypal_form_url'0),
  array(
'Enable PayPal IPN (Instant Payment Notification)''photo_shop_paypal_use_ipn'1),
  
//array('The PayPal PostBack URL', 'paypal_url', 0),
  
array('SSL URL to coppermine base dir, leave blank to not use SSL (it\'s mandatory to use SSL for security reasons even if the shop works without, don\'t forget the trailing slash at the end)''photo_shop_paypal_ssl_adress'0),
  array(
'Enable additional txt file log (MySQL log is always enabled)''photo_shop_paypal_ipn_log'1),
  array(
'Path to additional txt file log (usually no need to change this)''photo_shop_paypal_ipn_logfile'0),
  array(
'PayPal notify_url - enter the URL at which you would like to receive IPN posts (usually no need to change this)''photo_shop_paypal_ipn_notify_url'0),
  array(
'PayPal return URL, leave empty if you do not want to make use of the return URL (usually no need to change this)''photo_shop_paypal_return_url'0),
  array(
'PayPal cancel return URL, leave empty if you do not want to make use of the cancel return URL (usually no need to change this)''photo_shop_paypal_cancel_return_url'0),
  
'Wire information',
  array(
'Enable displaying wire information''photo_shop_wire_enable'1),
  array(
'Routing number''photo_shop_wire_routing'0),
  array(
'Account number''photo_shop_wire_account'0),
  array(
'Bank name''photo_shop_wire_bank'0),
  array(
'Bank address''photo_shop_wire_bank_address'0),
  array(
'Swift''photo_shop_wire_swift'0),
  
'Google Checkout (basic support)',
  array(
'Enable Google Checkout''photo_shop_google_enable'1),
  array(
'The currency Google Checkout should use''photo_shop_google_currency'0),
  array(
'Google Checkout button width''photo_shop_google_button_width'0),
  array(
'Google Checkout button height''photo_shop_google_button_height'0),
  array(
'Google Checkout button style''photo_shop_google_button_style'0),
  array(
'Google Checkout localisation''photo_shop_google_button_loc'0),
  array(
'Enter your google id here''photo_shop_google_id'0),
  
'Credit Card (not supported yet)',
  array(
'Enable CC''photo_shop_cc_enable'1),
);

$lang_photoshop_admin = array(
  
'u_orders_on_p_pages' => '%d orders on %d page(s)',
  
'otime_a' => 'Date ascending',
  
'otime_d' => 'Date decending',
  
'uid_a' => 'User ID ascending',
  
'uid_d' => 'User ID decending',
  
'oid_a' => 'Order ID ascending',
  
'oid_d' => 'Order ID decending',
  
'o_board_title' => 'Shop admin',
  
'Active' => 'Active',
  
'Archive' => 'Archive',
  
'OrdersIn'=>  'Orders in',
  
'managefolder' => 'Manage folder',
  
'orders' => 'orders',
  
'switch' => 'Switch to',
  
'go' => 'Go',
  
'Orders' => 'Orders',
  
'mark_all' => 'Mark / unmark all orders',
  
'NoOrders' => 'No orders',
  
'SelectedOrders' => 'Selected orders',
  
'markarchive' => 'Move to Archive',
  
'markactive' => 'Move to Active',
  
'delete' => 'Delete',
  
'new' => 'New order',
  
'viewed' => 'Viewed order',
  
'processed' => 'Processed order',
  
'order_id' => 'Order ID',
  
'items' => 'Items',
  
'usd_total' => 'total',
  
'item_price' => 'Price total',
  
'size' => 'Size',
  
'config' => 'Config',
  
'mark_unviewed' => 'Set unviewed',
  
'mark_viewed' => 'Set viewed',
  
'mark_payed' => 'Set paid',
  
'mark_unpayed' => 'Set unpaid',
  
'mark_sent' => 'Set sent',
  
'mark_unsent' => 'Set unsent',
  
'pos' => 'Paid/ sent',
  
'neg' => 'Unpaid/ unsent',
  
//new stuff 1.1
  
'contains' => 'contains',
  
'order_s' => 'order(s)',
  
'in_total' => 'In total there are',
  
'orders_stored' => 'orders stored',
  
'stored_orders' => 'Stored orders in this folder',
  
'total_orders' => 'Total orders',
  
'noitems' => 'No. items',
  
'volume' => 'Order volume',
  
'user_id' => 'User ID',
  
'sort_by' => 'Sort by',
  
'amount' => 'Amount',
  
'pid' => 'PID',
  
'price_pi' => 'price per item',
  
'incl_ship' => 'incl. shipping %discount',
  
//1.3
  
'filename' => 'Filename',
  
//1.4
  
'download_zip' => 'Download zip',
  );
}

if (
defined('PHOTOSHOP_IPN_PHP'))
{
$lang_photoshop_ipn = array(
  
'success' => 'Success',
  
'thank_you' => 'Thank you for your order.<br><br>An email with details how to download your purcheased images will be sent to you shortly. ',
  
'cancel_tit' => 'Canceled',
  
'cancel' => 'The order was canceled.',
  
'ipn_download_err_mkdir' => 'Failed to create download directory! \n\n',
  
'ipn_download_ok' => 'A download dir, password file and index has been created for the user!',
  
'ipn_download_err_noindex' => 'Failed to create an index in the users download directory! \n\n',
  
'ipn_download_err_safemode' => 'Safe mode restrictions. Turn off safe mode!! Creating directories isn\'t possible this way! \n\n ',
  
'ipn_email_admin_subject' => 'Password for order id:',
  
'ipn_email_user_subject' => 'Your password',
  
'ipn_email_admin_ipn_success' => 'PayPal IPN success -> please check shop admin and send the items',
  
'ipn_email_admin_ipn_download_success' => 'PayPal IPN success',
  
'ipn_email_admin_ipn_download_problem' => 'PayPal IPN success -> download problem',
  
'ipn_email_admin_ipn_failed' => 'PayPal IPN failed',
  
'ipn_email_manipulated' => 'Someone attempted a sale using a manipulated URL\n\n',
  
'ipn_email_pending' => 'Transaction is pending. Paypal will contact this script again when it\'s ready\n\n',
  
'ipn_email_failed' => 'Transaction failed\n\n',
  
'ipn_email_denied' => 'Transaction denied payment by merchant\n\n',
  
'ipn_email_refunded' => 'Payment refunded by merchant\n\n',
  
'ipn_email_canc-rev' => 'Payment cancelled reversal\n\n',
  
'ipn_email_unknown' => 'Unknown Payment Status: ',
  
'ipn_email_invalid' => 'Bad order (PayPal says it\'s invalid): ',
  
'ipn_no_order_match' => 'No matching order found!',
  
'ipn_no_folder' => 'does not exist or has been deleted! Create it first [D]!',
  
'ipn_no_folder_user' => 'Folder does not exist or has been deleted! Create it first [D]!',
  
'ipn_continue' => 'Continue',
  
'ipn_file' => 'File',
  
'ipn_status' => 'Status',
  
'ipn_result' => 'Result',
  
'ipn_prep_down' => 'Preparing downloads',
  
'ipn_download_file' => 'Download file',
  
'ipn_creating_image' => 'Creating image...',
  
'ipn_not_paid' => 'Item not paid yet!',
  
'ipn_for_print' => 'This item is for print!',
  
'ipn_download_zip' => 'Download zip file',
  
'ipn_image_create_finished' => 'When all pics have been created click:',
  
'ipn_deleted_folder' => 'Deleted download folder for oid:',
  
'ipn_deleted_folder_error' => 'Folder does not exist! Can not delete it! Order id: ',
  
'ipn_created_folder' => 'Created download dir and sent password to user for oid:',
  
'ipn_created_folder_error' => 'Directory already exists.... delete first! Order id: ',
  
'ipn_no_download_items' => 'There are no items for download in your order! Order id: ',
  
'ipn_log' => 'PayPal IPN Log',
  
'ipn_log_close_window' => 'Close Window',
  
'ipn_button_show_log' => 'Show PayPal IPN log',
  
'ipn_button_create_dir' => 'Create download dir and email the password',
  
'ipn_button_copy_files' => 'Copy files into download dir and download them... dir must exist',
  
'ipn_button_delete_dir' => 'Delete download dir',
  
'ipn_error_contact_admin' => 'Error! Please contact the site admin!',
  );

$lang_photoshop_ipn_admin_mail_body  = <<<EOT

The following data was received from PayPal:
from {PAYER_EMAIL} on {DATE}
Details:

EOT;


$lang_photoshop_htaccess = <<<EOT
AuthName        "Download Area"
AuthType        Basic
AuthUserFile    {HTPASSWD_PATH}

<Limit GET POST>
require valid-user
</Limit>
EOT;

$lang_photoshop_ipn_email_user = <<<EOT
Hello {USER_NAME},

your order has been processed and we have created a download directory for you.

Please click the following link and your ordered items will be copied into your download directory. You can access this directory using:
Username: {USER_NAME}
Password: {PASSWORD}

<a href="{LINK}">Download your items</a>

Best regards,
{ADMIN}
EOT;


}
?>
« Last Edit: December 20, 2009, 08:34:03 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine Photo Shop v1.4.0 in deutsch?
« Reply #5 on: December 20, 2009, 09:01:53 pm »

Die von Dir erzeugte Datei ist nicht ungedingt das, was ich als eine saubere Sprachdatei ansehen würde. Habe etliche Fehler ausgebügelt und die fehlenden Passagen ersetzt. Auf Deiner Seite läuft's noch nicht so rund, vgl. Bildschirm-Hartkopie, was daran liegt, dass der von Dir benutzte Editor offensichtlich nicht mit utf-8 codierten Dateien umgehen kann. Benutze statt Deiner Sprachdatei meine (herunterladen und von german.php.txt in german.php umbenennen.
Und schalte mal bitte einen Gang runter mit der Anzahl Deiner Postings...
Logged

Amoura

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Coppermine Photo Shop v1.4.0 in deutsch?
« Reply #6 on: December 20, 2009, 09:16:00 pm »

Entschuldige wegen der vielen Fragen, aber ich habe halt kaum Ahnung, schlage mir die Nächte um die Ohren und es funzt halt nicht so recht...
Danke für Deine Überarbeitung.
Nun erscheinen jedoch alle ä,ö,ü als Symbole ;(


LG Amoura
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine Photo Shop v1.4.0 in deutsch?
« Reply #7 on: December 20, 2009, 09:19:38 pm »

Das war vorher schon der Fall, vgl. die Hartkopie, die ich in meinem vorherogen Posting beigelegt habe.
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.