// changed English strings, especially focusing on colons harmonization
This commit is contained in:
@@ -39,8 +39,8 @@ class BlockStore extends Module
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('Stores block');
|
||||
$this->description = $this->l('Displays a block with a link to the store locator.');
|
||||
$this->displayName = $this->l('Store locator block');
|
||||
$this->description = $this->l('Displays a store locator link directly on your webiste.');
|
||||
}
|
||||
|
||||
public function install()
|
||||
@@ -89,18 +89,18 @@ class BlockStore extends Module
|
||||
if (isset($_FILES['store_img']) && isset($_FILES['store_img']['tmp_name']) && !empty($_FILES['store_img']['tmp_name']))
|
||||
{
|
||||
if ($error = ImageManager::validateUpload($_FILES['store_img'], 4000000))
|
||||
return $this->displayError($this->l('invalid image'));
|
||||
return $this->displayError($this->l('Invalid image'));
|
||||
else
|
||||
{
|
||||
if (!move_uploaded_file($_FILES['store_img']['tmp_name'], dirname(__FILE__).'/'.$_FILES['store_img']['name']))
|
||||
return $this->displayError($this->l('an error occurred on uploading file'));
|
||||
return $this->displayError($this->l('An error occurred while attempting to upload the file.'));
|
||||
else
|
||||
{
|
||||
if (Configuration::hasContext('BLOCKSTORE_IMG', null, Shop::getContext()) && Configuration::get('BLOCKSTORE_IMG') != $_FILES['store_img']['name'])
|
||||
@unlink(dirname(__FILE__).'/'.Configuration::get('BLOCKSTORE_IMG'));
|
||||
Configuration::updateValue('BLOCKSTORE_IMG', $_FILES['store_img']['name']);
|
||||
$this->_clearCache('blockstore.tpl');
|
||||
return $this->displayConfirmation($this->l('Settings are updated'));
|
||||
return $this->displayConfirmation($this->l('The settings have been updated.'));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -113,13 +113,13 @@ class BlockStore extends Module
|
||||
$output = $this->postProcess().'
|
||||
<form action="'.Tools::safeOutput($_SERVER['REQUEST_URI']).'" method="post" enctype="multipart/form-data">
|
||||
<fieldset>
|
||||
<legend>'.$this->l('Store block configuration').'</legend>';
|
||||
<legend>'.$this->l('Store locator block configuration').'</legend>';
|
||||
if (Configuration::get('BLOCKSTORE_IMG'))
|
||||
$output .= '<div class="margin-form"><img src="'.Tools::getProtocol().Tools::getMediaServer($this->name)._MODULE_DIR_.$this->name.'/'.Configuration::get('BLOCKSTORE_IMG').'" alt="'.$this->l('Store image').'" style="height:115px;margin-left: 100px;width:174px"/></div>';
|
||||
$output .= '
|
||||
<label for="store_img">'.$this->l('Change image').'</label>
|
||||
<div class="margin-form">
|
||||
<input id="store_img" type="file" name="store_img" /> ( '.$this->l('image will be displayed as 174x115').' )
|
||||
<input id="store_img" type="file" name="store_img" /> ( '.$this->l('The selected image will be displayed as 174x115').' )
|
||||
</div>
|
||||
|
||||
<p class="center">
|
||||
|
||||
@@ -25,11 +25,11 @@
|
||||
|
||||
<!-- Block stores module -->
|
||||
<div id="stores_block_left" class="block">
|
||||
<h4 class="title_block"><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockstore'}">{l s='Our stores' mod='blockstore'}</a></h4>
|
||||
<h4 class="title_block"><a href="{$link->getPageLink('stores')}" title="{l s='Our store(s)!' mod='blockstore'}">{l s='Our store(s)!' mod='blockstore'}</a></h4>
|
||||
<div class="block_content blockstore">
|
||||
<p class="store_image"><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockstore'}"><img src="{$module_dir}{$store_img}" alt="{l s='Our stores' mod='blockstore'}" width="174" height="115" /></a></p>
|
||||
<p class="store_image"><a href="{$link->getPageLink('stores')}" title="{l s='Our store(s)!' mod='blockstore'}"><img src="{$module_dir}{$store_img}" alt="{l s='Our store(s)!' mod='blockstore'}" width="174" height="115" /></a></p>
|
||||
<p>
|
||||
<a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockstore'}">» {l s='Discover our stores' mod='blockstore'}</a>
|
||||
<a href="{$link->getPageLink('stores')}" title="{l s='Our store(s)!' mod='blockstore'}">» {l s='Discover our store(s)d!' mod='blockstore'}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>blockstore</name>
|
||||
<displayName><![CDATA[Stores block]]></displayName>
|
||||
<displayName><![CDATA[Store locator block]]></displayName>
|
||||
<version><![CDATA[1]]></version>
|
||||
<description><![CDATA[Displays a block with a link to the store locator.]]></description>
|
||||
<description><![CDATA[Displays a store locator link directly on your webiste.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_50d335623ef166aeea8da2a3c2c63a3e'] = 'Shop-Block';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_7ccf58c950043c9fbfed668df13ce608'] = 'Die Einstellungen werden aktualisiert';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_dbd41b964013caae2d73220618b5ae90'] = 'Shop-Block-Konfiguration';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_f32a6c9e15dd20152ee8b14c7f94b040'] = 'Bild ungültig';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_68e9ecb0ab69b1121fe06177868b8ade'] = 'Shop-Block';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_efc226b17e0532afff43be870bff0de7'] = 'Die Einstellungen werden aktualisiert';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_151e79863510ec66281329505bf9fbde'] = 'Shop-Block-Konfiguration';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_126b21ce46c39d12c24058791a236777'] = 'Bild ungültig';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_8c38cf08a0d0a01bd44c682479432350'] = 'Bild ändern';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_7118171dfc2981fd3d7f3aab97fb572d'] = 'Zeigt ein Block mit einem Link zu der Händlersuche';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_2d7884c3777bd04028c4a55a820880a8'] = 'Zeigt ein Block mit einem Link zu der Händlersuche';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_10857d5f8e303905ada328b4a31d316b'] = 'Fehler beim Hochladen der Datei';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_df7859ac16e724c9b1fba0a364503d72'] = 'Fehler beim Hochladen der Datei';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_2dd1d28275cdb8b78ebd17f6e25aac0d'] = 'Shop-Bild';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_f6f1e75fd6d515138c3c802459aa384d'] = 'Bild wird als 174x115 angezeigt';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_34c869c542dee932ef8cd96d2f91cae6'] = 'Unsere Shops';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_61d5070a61ce6eb6ad2a212fdf967d92'] = 'Entdecken Sie unsere Shops';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_3eedfc0fbc9042acf0ecfe0f325428c4'] = 'Bild wird als 174x115 angezeigt';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_8c0caec5616160618b362bcd4427d97b'] = 'Unsere Shops';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_142fe29b7422147cdac10259a0333c11'] = 'Entdecken Sie unsere Shops';
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_50d335623ef166aeea8da2a3c2c63a3e'] = 'Bloque tiendas';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_7ccf58c950043c9fbfed668df13ce608'] = 'Parámetros actualizados';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_dbd41b964013caae2d73220618b5ae90'] = 'Configuració del bloque tiendas';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_f32a6c9e15dd20152ee8b14c7f94b040'] = 'imagen no válida';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_68e9ecb0ab69b1121fe06177868b8ade'] = 'Bloque tiendas';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_efc226b17e0532afff43be870bff0de7'] = 'Parámetros actualizados';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_151e79863510ec66281329505bf9fbde'] = 'Configuració del bloque tiendas';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_126b21ce46c39d12c24058791a236777'] = 'imagen no válida';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_8c38cf08a0d0a01bd44c682479432350'] = 'Cambiar de imagen:';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_7118171dfc2981fd3d7f3aab97fb572d'] = 'Mostrar un bloque con un link hacia la lista de tiendas';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_2d7884c3777bd04028c4a55a820880a8'] = 'Mostrar un bloque con un link hacia la lista de tiendas';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_c9cc8cce247e49bae79f15173ce97354'] = 'Guardar';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_10857d5f8e303905ada328b4a31d316b'] = 'se ha producido un error durante el envío';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_df7859ac16e724c9b1fba0a364503d72'] = 'se ha producido un error durante el envío';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_2dd1d28275cdb8b78ebd17f6e25aac0d'] = 'Imagen del bloque';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_f6f1e75fd6d515138c3c802459aa384d'] = 'la imagen se mostrará en formato 174x115';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_34c869c542dee932ef8cd96d2f91cae6'] = 'Nuestras tiendas';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_61d5070a61ce6eb6ad2a212fdf967d92'] = 'Descubra nuestras tiendas';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_3eedfc0fbc9042acf0ecfe0f325428c4'] = 'la imagen se mostrará en formato 174x115';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_8c0caec5616160618b362bcd4427d97b'] = 'Nuestras tiendas';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_142fe29b7422147cdac10259a0333c11'] = 'Descubra nuestras tiendas';
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_50d335623ef166aeea8da2a3c2c63a3e'] = 'Bloc magasins';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_7ccf58c950043c9fbfed668df13ce608'] = 'Paramètres mis à jour';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_dbd41b964013caae2d73220618b5ae90'] = 'Configuration du bloc magasins';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_f32a6c9e15dd20152ee8b14c7f94b040'] = 'image non valable';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_68e9ecb0ab69b1121fe06177868b8ade'] = 'Bloc magasins';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_efc226b17e0532afff43be870bff0de7'] = 'Paramètres mis à jour';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_151e79863510ec66281329505bf9fbde'] = 'Configuration du bloc magasins';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_126b21ce46c39d12c24058791a236777'] = 'image non valable';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_8c38cf08a0d0a01bd44c682479432350'] = 'Changer l\'image :';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_7118171dfc2981fd3d7f3aab97fb572d'] = 'Affiche un bloc avec un lien vers la liste des magasins';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_10857d5f8e303905ada328b4a31d316b'] = 'une erreur s\'est produite lors de l\'envoi';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_2d7884c3777bd04028c4a55a820880a8'] = 'Affiche un bloc avec un lien vers la liste des magasins';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_df7859ac16e724c9b1fba0a364503d72'] = 'une erreur s\'est produite lors de l\'envoi';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_2dd1d28275cdb8b78ebd17f6e25aac0d'] = 'Image du bloc';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_f6f1e75fd6d515138c3c802459aa384d'] = 'l\'image sera affichée au format 174x115';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_34c869c542dee932ef8cd96d2f91cae6'] = 'Nos magasins';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_61d5070a61ce6eb6ad2a212fdf967d92'] = 'Découvrez nos magasins';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_3eedfc0fbc9042acf0ecfe0f325428c4'] = 'l\'image sera affichée au format 174x115';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_8c0caec5616160618b362bcd4427d97b'] = 'Nos magasins';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_142fe29b7422147cdac10259a0333c11'] = 'Découvrez nos magasins';
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_50d335623ef166aeea8da2a3c2c63a3e'] = 'Blocco negozi';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_7ccf58c950043c9fbfed668df13ce608'] = 'Le impostazioni sono aggiornate';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_dbd41b964013caae2d73220618b5ae90'] = 'Configurazione blocco negozio';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_f32a6c9e15dd20152ee8b14c7f94b040'] = 'immagine non valida';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_68e9ecb0ab69b1121fe06177868b8ade'] = 'Blocco negozi';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_efc226b17e0532afff43be870bff0de7'] = 'Le impostazioni sono aggiornate';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_151e79863510ec66281329505bf9fbde'] = 'Configurazione blocco negozio';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_126b21ce46c39d12c24058791a236777'] = 'immagine non valida';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_8c38cf08a0d0a01bd44c682479432350'] = 'Cambia immagine';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_7118171dfc2981fd3d7f3aab97fb572d'] = 'Visualizza un blocco con un link per il localizzatore del negozio';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_2d7884c3777bd04028c4a55a820880a8'] = 'Visualizza un blocco con un link per il localizzatore del negozio';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_c9cc8cce247e49bae79f15173ce97354'] = 'Salva';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_10857d5f8e303905ada328b4a31d316b'] = 'un errore sul caricamento del file';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_f6f1e75fd6d515138c3c802459aa384d'] = 'immagine verrà visualizzata come 174x115';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_34c869c542dee932ef8cd96d2f91cae6'] = 'I nostri negozi';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_61d5070a61ce6eb6ad2a212fdf967d92'] = 'Scopri i nostri negozi';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_df7859ac16e724c9b1fba0a364503d72'] = 'un errore sul caricamento del file';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_3eedfc0fbc9042acf0ecfe0f325428c4'] = 'immagine verrà visualizzata come 174x115';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_8c0caec5616160618b362bcd4427d97b'] = 'I nostri negozi';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_142fe29b7422147cdac10259a0333c11'] = 'Scopri i nostri negozi';
|
||||
$_MODULE['<{blockstore}prestashop>blockstore_2dd1d28275cdb8b78ebd17f6e25aac0d'] = 'Immagine blocco';
|
||||
|
||||
Reference in New Issue
Block a user