Initial commit - Typo3 11.5.41

This commit is contained in:
Matteo Gallo
2026-07-03 17:53:31 +02:00
commit 5ca4743197
6811 changed files with 568848 additions and 0 deletions

View File

@@ -0,0 +1 @@
deny from all

View File

@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2013-03-05T21:51:01Z" product-name="static_info_tables">
<header/>
<body>
<trans-unit id="title" xml:space="preserve">
<source>Static Info Tables Manager</source>
</trans-unit>
<trans-unit id="information" xml:space="preserve">
<source>Information</source>
</trans-unit>
<trans-unit id="actionList" xml:space="preserve">
<source></source>
</trans-unit>
<trans-unit id="newLanguagePack" xml:space="preserve">
<source>Create/update a language pack extension</source>
</trans-unit>
<trans-unit id="createLanguagePackTitle" xml:space="preserve">
<source>Create or update a language pack extension for the Static Info Tables</source>
</trans-unit>
<trans-unit id="createLanguagePackDescription" xml:space="preserve">
<source>This action creates a language pack for a given language.
If the language pack is new, it is immediately installed, and fields are added to the tables to allow translation of labels into the language of the language pack.
The backend forms may then be used to translate the labels in the language-specific fields of the Static Info Tables.
When updating the localized labels is complete, this same action may be used to update the language pack with the localized data.
</source>
</trans-unit>
<trans-unit id="createLanguagePackSubmit" xml:space="preserve">
<source>Create or update the language pack</source>
</trans-unit>
<trans-unit id="language" xml:space="preserve">
<source>Language of the language pack</source>
</trans-unit>
<trans-unit id="version" xml:space="preserve">
<source>Version of the language pack</source>
</trans-unit>
<trans-unit id="author" xml:space="preserve">
<source>Name of extension author</source>
</trans-unit>
<trans-unit id="authorCompany" xml:space="preserve">
<source>Name of company of extension author</source>
</trans-unit>
<trans-unit id="vendorName" xml:space="preserve">
<source>Vendor name of composer package</source>
</trans-unit>
<trans-unit id="authorEmail" xml:space="preserve">
<source>Email of extension author</source>
</trans-unit>
<trans-unit id="couldNotWriteFile" xml:space="preserve">
<source>The following file could not be written:</source>
</trans-unit>
<trans-unit id="languagePackCreated" xml:space="preserve">
<source>A language pack was created for</source>
</trans-unit>
<trans-unit id="languagePackUpdated" xml:space="preserve">
<source>was updated.</source>
</trans-unit>
<trans-unit id="languagePack" xml:space="preserve">
<source>Language pack</source>
</trans-unit>
<trans-unit id="wasInstalled" xml:space="preserve">
<source>was installed.</source>
</trans-unit>
<trans-unit id="testForm" xml:space="preserve">
<source>Display the test form</source>
</trans-unit>
<trans-unit id="testFormTitle" xml:space="preserve">
<source>Use the test form to check the installation of Static Info Tables.</source>
</trans-unit>
<trans-unit id="testFormDescription" xml:space="preserve">
<source>This action allows to test the installation of the Static Info Tables and its language packs.
It will display a form containing some selector boxes.
If an appropriate language pack is installed, all data should be localized in the current language of the backend.
</source>
</trans-unit>
<trans-unit id="testFormSubmit" xml:space="preserve">
<source>Submit the test form</source>
</trans-unit>
<trans-unit id="testFormResultTitle" xml:space="preserve">
<source>Results of the test form of Static Info Tables.</source>
</trans-unit>
<trans-unit id="sqlDumpNonLocalizedData" xml:space="preserve">
<source>SQL dump of non-localized data</source>
</trans-unit>
<trans-unit id="sqlDumpNonLocalizedDataTitle" xml:space="preserve">
<source>Create a SQL dump of the non-localized data of the Static Info Tables</source>
</trans-unit>
<trans-unit id="sqlDumpNonLocalizedDataDescription" xml:space="preserve">
<source>This action creates a SQL dump of all non-localized data. The SQL dump may then be used to create a new version of the main extension Static Info Tables (static_info_tables).</source>
</trans-unit>
<trans-unit id="sqlDumpCreated" xml:space="preserve">
<source>SQL dump of non-localized data was created in</source>
</trans-unit>
<trans-unit id="1238108067" xml:space="preserve">
<source>Please enter a string of length 1 to 255 characters.</source>
</trans-unit>
<trans-unit id="1221560718" xml:space="preserve">
<source>Please enter a string of length 1 to 255 characters.</source>
</trans-unit>
<trans-unit id="1221559976" xml:space="preserve">
<source>Please enter a valid email address.</source>
</trans-unit>
<trans-unit id="updateLanguageLabels" xml:space="preserve">
<source>The Static Info Tables were updated with language labels from language pack %s.</source>
</trans-unit>
<trans-unit id="updateTables" xml:space="preserve">
<source>The Static Info Tables were re-created.</source>
</trans-unit>
<trans-unit id="nothingToDo" xml:space="preserve">
<source>No additional update was necessary as no language pack is installed.</source>
</trans-unit>
<trans-unit id="noVersionChangeSinceLastUpdate" xml:space="preserve">
<source>No update is required because the versions of the base extension and of the installed language packs did not change since the last update.</source>
</trans-unit>
<trans-unit id="forceUpdate" xml:space="preserve">
<source>Force update</source>
</trans-unit>
<trans-unit id="enableStaticInfoTablesManager" xml:space="preserve">
<source>Enable the Static Info Tables Manager: Enable the Static Info Tables Manager module in the backend.</source>
</trans-unit>
<trans-unit id="afterInstall" xml:space="preserve">
<source>ATTENTION!: After installing or upgrading this extension, you should execute the update script. The update script will re-create the tables and re-apply any installed language pack.</source>
</trans-unit>
<trans-unit id="update.oldLanguagePacks" xml:space="preserve">
<source>If language packs with versions lower than 6.0 are installed, they could not be detected and they need to be re-created. Please read the manual.</source>
</trans-unit>
<trans-unit id="selectCountry" xml:space="preserve">
<source>Select a country</source>
</trans-unit>
<trans-unit id="selectCountryZone" xml:space="preserve">
<source>Select a country subdivision</source>
</trans-unit>
<trans-unit id="selectLanguage" xml:space="preserve">
<source>Select a language</source>
</trans-unit>
<trans-unit id="countryLocalizedName" xml:space="preserve">
<source>Country localized name</source>
</trans-unit>
<trans-unit id="countryZoneLocalizedName" xml:space="preserve">
<source>Country subdivision localized name</source>
</trans-unit>
<trans-unit id="currencyLocalizedName" xml:space="preserve">
<source>Currency localized name</source>
</trans-unit>
<trans-unit id="languageLocalizedName" xml:space="preserve">
<source>Language localized name</source>
</trans-unit>
<trans-unit id="territoryLocalizedName" xml:space="preserve">
<source>Territory localized name</source>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,194 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2013-02-21T01:35:44Z" product-name="static_info_tables">
<header/>
<body>
<trans-unit id="static_territories.title" xml:space="preserve">
<source>Territories</source>
</trans-unit>
<trans-unit id="static_territories_item.tr_iso_nr" xml:space="preserve">
<source>ISO nr territory code:</source>
</trans-unit>
<trans-unit id="static_territories_item.tr_parent_territory_uid" xml:space="preserve">
<source>Territory in which this one is contained:</source>
</trans-unit>
<trans-unit id="static_territories_item.tr_parent_iso_nr" xml:space="preserve">
<source>ISO numeric code of territory in which this one is contained:</source>
</trans-unit>
<trans-unit id="static_territories_item.tr_name_en" xml:space="preserve">
<source>Name (EN):</source>
</trans-unit>
<trans-unit id="static_countries.title" xml:space="preserve">
<source>Countries</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_iso_2" xml:space="preserve">
<source>ISO 3166-1 A2 Country code:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_iso_3" xml:space="preserve">
<source>ISO 3166-1 A3 Country code:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_iso_nr" xml:space="preserve">
<source>ISO 3166-1 Nr Country code:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_official_name_local" xml:space="preserve">
<source>Official name (local):</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_official_name_en" xml:space="preserve">
<source>Official name (EN):</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_parent_territory_uid" xml:space="preserve">
<source>Territory in which this country is located:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_parent_tr_iso_nr" xml:space="preserve">
<source>ISO numeric code of territory in which this country is located:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_capital" xml:space="preserve">
<source>Capital:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_tldomain" xml:space="preserve">
<source>Top level domain:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_currency_uid" xml:space="preserve">
<source>Currency:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_currency_iso_nr" xml:space="preserve">
<source>ISO 4217 Nr Currency code:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_currency_iso_3" xml:space="preserve">
<source>ISO 4217 A3 Currency code:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_phone" xml:space="preserve">
<source>Int. phone prefix:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_uno_member" xml:space="preserve">
<source>UN member:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_eu_member" xml:space="preserve">
<source>EU member:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format" xml:space="preserve">
<source>Address format:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format_1" xml:space="preserve">
<source>zip city</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format_2" xml:space="preserve">
<source>city zip</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format_3" xml:space="preserve">
<source>city region-code zip</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format_4" xml:space="preserve">
<source>city (region-name) zip</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format_5" xml:space="preserve">
<source>city/zip</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format_6" xml:space="preserve">
<source>zip city, region-code</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format_7" xml:space="preserve">
<source>zip city region-code</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format_8" xml:space="preserve">
<source>zip city (region-name)</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_address_format_9" xml:space="preserve">
<source>city - region-code/zip</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_zone_flag" xml:space="preserve">
<source>Zone flag:</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_short_local" xml:space="preserve">
<source>Short name (local):</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_short_en" xml:space="preserve">
<source>Short name (EN):</source>
</trans-unit>
<trans-unit id="static_countries_item.cn_country_zones" xml:space="preserve">
<source>Country subdivisions:</source>
</trans-unit>
<trans-unit id="static_country_zones.title" xml:space="preserve">
<source>Country subdivisions</source>
</trans-unit>
<trans-unit id="static_country_zones_item.zn_country_iso_nr" xml:space="preserve">
<source>ISO 3166-1 Nr Country code:</source>
</trans-unit>
<trans-unit id="static_country_zones_item.zn_country_iso_2" xml:space="preserve">
<source>ISO 3166-1 A2 Country code:</source>
</trans-unit>
<trans-unit id="static_country_zones_item.zn_country_iso_3" xml:space="preserve">
<source>ISO 3166-1 A3 Country code:</source>
</trans-unit>
<trans-unit id="static_country_zones_item.zn_code" xml:space="preserve">
<source>ISO 3166-2 Country Zone code:</source>
</trans-unit>
<trans-unit id="static_country_zones_item.zn_name_en" xml:space="preserve">
<source>Name (EN):</source>
</trans-unit>
<trans-unit id="static_languages.title" xml:space="preserve">
<source>Languages</source>
</trans-unit>
<trans-unit id="static_languages_item.lg_iso_2" xml:space="preserve">
<source>ISO 639-1 A2 Language code:</source>
</trans-unit>
<trans-unit id="static_languages_item.lg_collate_locale" xml:space="preserve">
<source>Collating locale:</source>
</trans-unit>
<trans-unit id="static_languages_item.lg_name_en" xml:space="preserve">
<source>Name (EN):</source>
</trans-unit>
<trans-unit id="static_languages_item.lg_typo3" xml:space="preserve">
<source>Typo3 language code:</source>
</trans-unit>
<trans-unit id="static_languages_item.lg_sacred" xml:space="preserve">
<source>Sacred language:</source>
</trans-unit>
<trans-unit id="static_languages_item.lg_constructed" xml:space="preserve">
<source>Constructed language:</source>
</trans-unit>
<trans-unit id="static_currencies.title" xml:space="preserve">
<source>Currencies</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_iso_3" xml:space="preserve">
<source>ISO 4217 A3 Currency code:</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_iso_nr" xml:space="preserve">
<source>ISO 4217 Nr Currency code:</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_name_en" xml:space="preserve">
<source>Name (EN):</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_sub_name_en" xml:space="preserve">
<source>Sub name (EN):</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_symbol_left" xml:space="preserve">
<source>Symbol left:</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_symbol_right" xml:space="preserve">
<source>Symbol right:</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_thousands_point" xml:space="preserve">
<source>Thousands point:</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_decimal_point" xml:space="preserve">
<source>Decimal point:</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_decimal_digits" xml:space="preserve">
<source>Decimal digits:</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_sub_divisor" xml:space="preserve">
<source>Divisor:</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_sub_symbol_left" xml:space="preserve">
<source>Sub symbol left:</source>
</trans-unit>
<trans-unit id="static_currencies_item.cu_sub_symbol_right" xml:space="preserve">
<source>Sub symbol right:</source>
</trans-unit>
<trans-unit id="deleted" xml:space="preserve">
<source>Deleted</source>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2013-03-05T21:51:13Z" product-name="static_info_tables">
<header/>
<body>
<trans-unit id="mlang_tabs_tab" xml:space="preserve">
<source>Static Info</source>
</trans-unit>
<trans-unit id="mlang_labels_tablabel" xml:space="preserve">
<source>Static Info Tables Manager</source>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr" xml:space="preserve">
<source>Provides tools to manage static info tables and create language packs.</source>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,60 @@
<?php
namespace SJBR\StaticInfoTables###LANG_ISO_CAMEL###\Domain\Model;
/***************************************************************
* Copyright notice
*
* (c) 2011-2012 Armin Rüdiger Vieweg <info@professorweb.de>
* (c) 2013-2018 Stanislas Rolland <typo3(arobas)sjbr.ca>
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use SJBR\StaticInfoTables\Domain\Model\AbstractEntity;
/**
* The Country model
*/
class Country extends AbstractEntity {
/**
* The ###LANG_NAME### short name
* @var string
*/
protected $shortName###LANG_ISO_CAMEL### = '';
/**
* Sets the ###LANG_NAME### short name.
*
* @param string $shortName###LANG_ISO_CAMEL###
*
* @return void
*/
public function setShortName###LANG_ISO_CAMEL###($shortName###LANG_ISO_CAMEL###) {
$this->shortName###LANG_ISO_CAMEL### = $shortName###LANG_ISO_CAMEL###;
}
/**
* Gets the ###LANG_NAME### short name.
*
* @return string
*/
public function getShortName###LANG_ISO_CAMEL###() {
return $this->shortName###LANG_ISO_CAMEL###;
}
}

View File

@@ -0,0 +1,63 @@
<?php
namespace SJBR\StaticInfoTables###LANG_ISO_CAMEL###\Domain\Model;
/***************************************************************
* Copyright notice
*
* (c) 2011-2012 Armin Rüdiger Vieweg <info@professorweb.de>
* (c) 2013-2018 Stanislas Rolland <typo3(arobas)sjbr.ca>
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use SJBR\StaticInfoTables\Domain\Model\AbstractEntity;
/**
* The Country Zone model
*/
class CountryZone extends AbstractEntity {
/**
* ###LANG_NAME### name of the country zone
* @var string
*/
protected $name###LANG_ISO_CAMEL### = '';
/**
* Sets the ###LANG_NAME### name.
*
* @param string $name###LANG_ISO_CAMEL###
*
* @return void
*/
public function setName###LANG_ISO_CAMEL###($name###LANG_ISO_CAMEL###) {
$this->name###LANG_ISO_CAMEL### = $name###LANG_ISO_CAMEL###;
}
/**
* Returns ###LANG_NAME### name. If empty returns the localName.
*
* @return string
*/
public function getName###LANG_ISO_CAMEL###() {
if ($this->name###LANG_ISO_CAMEL### === '') {
return $this->getLocalName();
}
return $this->name###LANG_ISO_CAMEL###;
}
}

View File

@@ -0,0 +1,86 @@
<?php
namespace SJBR\StaticInfoTables###LANG_ISO_CAMEL###\Domain\Model;
/***************************************************************
* Copyright notice
*
* (c) 2011-2012 Armin Rüdiger Vieweg <info@professorweb.de>
* (c) 2013-2018 Stanislas Rolland <typo3(arobas)sjbr.ca>
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use SJBR\StaticInfoTables\Domain\Model\AbstractEntity;
/**
* The Currency model
*/
class Currency extends AbstractEntity {
/**
* ###LANG_NAME### name of the currency
* @var string
*/
protected $name###LANG_ISO_CAMEL### = '';
/**
* ###LANG_NAME### name of the currency subdivision unit
* @var string
*/
protected $subdivisionName###LANG_ISO_CAMEL### = '';
/**
* Sets the ###LANG_NAME### name of the currency
*
* @param string $name###LANG_ISO_CAMEL###
*
* @return void
*/
public function setName###LANG_ISO_CAMEL###($name###LANG_ISO_CAMEL###) {
$this->name###LANG_ISO_CAMEL### = $name###LANG_ISO_CAMEL###;
}
/**
* Gets the ###LANG_NAME### name of the currency
*
* @return string
*/
public function getName###LANG_ISO_CAMEL###() {
return $this->name###LANG_ISO_CAMEL###;
}
/**
* Sets the ###LANG_NAME### name of the currency subdivision
*
* @param string $subdivisionName###LANG_ISO_CAMEL###
*
* @return void
*/
public function setSubdivisionName###LANG_ISO_CAMEL###($subdivisionName###LANG_ISO_CAMEL###) {
$this->subdivisionName###LANG_ISO_CAMEL### = $subdivisionName###LANG_ISO_CAMEL###;
}
/**
* Gets the ###LANG_NAME### name of the currency subdivision
*
* @return string
*/
public function getSubdivisionName###LANG_ISO_CAMEL###() {
return $this->subdivisionName###LANG_ISO_CAMEL###;
}
}

View File

@@ -0,0 +1,60 @@
<?php
namespace SJBR\StaticInfoTables###LANG_ISO_CAMEL###\Domain\Model;
/***************************************************************
* Copyright notice
*
* (c) 2011-2012 Armin Rüdiger Vieweg <info@professorweb.de>
* (c) 2013-2018 Stanislas Rolland <typo3(arobas)sjbr.ca>
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use SJBR\StaticInfoTables\Domain\Model\AbstractEntity;
/**
* The Language model
*/
class Language extends AbstractEntity {
/**
* ###LANG_NAME### name of the language
* @var string
*/
protected $name###LANG_ISO_CAMEL### = '';
/**
* Sets the ###LANG_NAME### name of the language
*
* @param string $name###LANG_NAME###
*
* @return void
*/
public function setName###LANG_ISO_CAMEL###($name###LANG_ISO_CAMEL###) {
$this->name###LANG_ISO_CAMEL### = $name###LANG_ISO_CAMEL###;
}
/**
* Gets the ###LANG_NAME### name of the language
*
* @return string
*/
public function getName###LANG_ISO_CAMEL###() {
return $this->name###LANG_ISO_CAMEL###;
}
}

View File

@@ -0,0 +1,60 @@
<?php
namespace SJBR\StaticInfoTables###LANG_ISO_CAMEL###\Domain\Model;
/***************************************************************
* Copyright notice
*
* (c) 2011-2012 Armin Rüdiger Vieweg <info@professorweb.de>
* (c) 2013-2018 Stanislas Rolland <typo3(arobas)sjbr.ca>
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use SJBR\StaticInfoTables\Domain\Model\AbstractEntity;
/**
* The Territory model
*/
class Territory extends AbstractEntity {
/**
* ###LANG_NAME### name of the territory
* @var string
*/
protected $name###LANG_ISO_CAMEL### = '';
/**
* Sets the ###LANG_NAME### name of the territory
*
* @param string $name###LANG_ISO_CAMEL###
*
* @return void
*/
public function setName###LANG_ISO_CAMEL###($name###LANG_ISO_CAMEL###) {
$this->name###LANG_ISO_CAMEL### = $name###LANG_ISO_CAMEL###;
}
/**
* Returns the ###LANG_NAME### name of the territory
*
* @return string
*/
public function getName###LANG_ISO_CAMEL###() {
return $this->name###LANG_ISO_CAMEL###;
}
}

View File

@@ -0,0 +1,5 @@
Domain/Model/Country
Domain/Model/CountryZone
Domain/Model/Currency
Domain/Model/Language
Domain/Model/Territory

View File

@@ -0,0 +1,48 @@
<?php
declare(strict_types = 1);
return [
\SJBR\StaticInfoTables\Domain\Model\Country::class => [
'tableName' => 'static_countries',
'properties' => [
'shortName###LANG_ISO_CAMEL###' => [
'fieldName' => 'cn_short_###LANG_ISO_LOWER###'
]
]
],
\SJBR\StaticInfoTables\Domain\Model\CountryZone::class => [
'tableName' => 'static_country_zones',
'properties' => [
'name###LANG_ISO_CAMEL###' => [
'fieldName' => 'zn_name_###LANG_ISO_LOWER###'
]
]
],
\SJBR\StaticInfoTables\Domain\Model\Currency::class => [
'tableName' => 'static_currencies',
'properties' => [
'name###LANG_ISO_CAMEL###' => [
'fieldName' => 'cu_name_###LANG_ISO_LOWER###'
],
'subdivisionName###LANG_ISO_CAMEL###' => [
'fieldName' => 'cu_sub_name_###LANG_ISO_LOWER###'
]
]
],
\SJBR\StaticInfoTables\Domain\Model\Language::class => [
'tableName' => 'static_languages',
'properties' => [
'name###LANG_ISO_CAMEL###' => [
'fieldName' => 'lg_name_###LANG_ISO_LOWER###'
]
]
],
\SJBR\StaticInfoTables\Domain\Model\Territory::class => [
'tableName' => 'static_territories',
'properties' => [
'name###LANG_ISO_CAMEL###' => [
'fieldName' => 'tr_name_###LANG_ISO_LOWER###'
]
]
]
];

View File

@@ -0,0 +1,9 @@
# ***************************************************************************************
# Translate currency labels in suggestions
# ***************************************************************************************
[siteLanguage("twoLetterIsoCode") == "###LANG_ISO_LOWER###"]
TCEFORM.sys_language.static_lang_isocode.suggest.default.additionalSearchFields = lg_name_###LANG_ISO_LOWER###
TCEFORM.sys_language.static_lang_isocode.suggest.default.orderBy = lg_name_###LANG_ISO_LOWER###
TCEFORM.static_countries.cn_currency_uid.suggest.default.additionalSearchFields = cu_name_###LANG_ISO_LOWER###
TCEFORM.static_countries.cn_currency_uid.suggest.default.orderBy = cu_name_###LANG_ISO_LOWER###
[global]

View File

@@ -0,0 +1,10 @@
<?php
defined('TYPO3') or die();
\SJBR\StaticInfoTables\Configuration\Tca\Provider::addTcaColumnConfiguration(
'static_info_tables_' . '###LANG_ISO_LOWER###',
'static_countries',
[
'cn_short_en' => 'cn_short_' . '###LANG_ISO_LOWER###'
]
);

View File

@@ -0,0 +1,10 @@
<?php
defined('TYPO3') or die();
\SJBR\StaticInfoTables\Configuration\Tca\Provider::addTcaColumnConfiguration(
'static_info_tables_' . '###LANG_ISO_LOWER###',
'static_country_zones',
[
'zn_name_en' => 'zn_name_' . '###LANG_ISO_LOWER###'
]
);

View File

@@ -0,0 +1,11 @@
<?php
defined('TYPO3') or die();
\SJBR\StaticInfoTables\Configuration\Tca\Provider::addTcaColumnConfiguration(
'static_info_tables_' . '###LANG_ISO_LOWER###',
'static_currencies',
[
'cu_name_en' => 'cu_name_' . '###LANG_ISO_LOWER###',
'cu_sub_name_en' => 'cu_sub_name_' . '###LANG_ISO_LOWER###'
]
);

View File

@@ -0,0 +1,10 @@
<?php
defined('TYPO3') or die();
\SJBR\StaticInfoTables\Configuration\Tca\Provider::addTcaColumnConfiguration(
'static_info_tables_' . '###LANG_ISO_LOWER###',
'static_languages',
[
'lg_name_en' => 'lg_name_' . '###LANG_ISO_LOWER###'
]
);

View File

@@ -0,0 +1,10 @@
<?php
defined('TYPO3') or die();
\SJBR\StaticInfoTables\Configuration\Tca\Provider::addTcaColumnConfiguration(
'static_info_tables_' . '###LANG_ISO_LOWER###',
'static_territories',
[
'tr_name_en' => 'tr_name_' . '###LANG_ISO_LOWER###'
]
);

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2013-02-21T01:35:44Z" product-name="static_info_tables_###LANG_ISO_LOWER###">
<header/>
<body>
###LANG_TCA_LABELS###
</body>
</file>
</xliff>

View File

@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 50 50"
height="50px"
id="Layer_1"
version="1.1"
viewBox="0 0 50 50"
width="50px"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="Extension.svg"><metadata
id="metadata21"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs19" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="715"
id="namedview17"
showgrid="false"
inkscape:zoom="4.72"
inkscape:cx="-49.682203"
inkscape:cy="25"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><rect
height="50.642853"
width="51.0592"
id="rect3"
style="fill:#00d2e7;fill-opacity:1"
x="0.21187516"
y="0.20799911" /><ellipse
cx="25.953344"
cy="24.682013"
stroke-miterlimit="10"
id="circle5"
style="fill:#00d2e7;stroke:#ffffff;stroke-width:1.812;stroke-linecap:round;stroke-miterlimit:10;stroke-opacity:1;fill-opacity:0;stroke-dasharray:none"
rx="14.542303"
ry="14.545803" /><ellipse
cx="25.953344"
cy="24.682013"
rx="7.2711515"
ry="14.545803"
stroke-miterlimit="10"
id="ellipse7"
style="fill:#00d2e7;stroke:#ffffff;stroke-width:1.812;stroke-linecap:round;stroke-miterlimit:10;stroke-opacity:1;fill-opacity:0;stroke-dasharray:none" /><path
d="m 14.661845,34.038604 c 2.666694,-1.641858 6.734298,-2.689763 11.291492,-2.689763 4.494784,0 8.512699,1.019416 11.180001,2.621274"
stroke-miterlimit="10"
id="path9"
style="fill:#00d2e7;fill-opacity:0;stroke:#ffffff;stroke-width:1.812;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
inkscape:connector-curvature="0" /><path
d="m 37.24483,15.326029 c -2.666697,1.641253 -6.734298,2.689156 -11.291493,2.689156 -4.494177,0 -8.512701,-1.019418 -11.180001,-2.621275"
stroke-miterlimit="10"
id="path11"
style="fill:#00d2e7;fill-opacity:0;stroke:#ffffff;stroke-width:1.812;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
inkscape:connector-curvature="0" /><line
stroke-miterlimit="10"
x1="11.411036"
x2="40.49564"
y1="24.682013"
y2="24.682013"
id="line13"
style="fill:#00d2e7;stroke:#ffffff;stroke-width:1.812;stroke-miterlimit:10;stroke-opacity:1;fill-opacity:0;stroke-dasharray:none" /><line
stroke-miterlimit="10"
x1="25.953344"
x2="25.953344"
y1="10.136208"
y2="39.227814"
id="line15"
style="fill:#00d2e7;stroke:#ffffff;stroke-width:1.812;stroke-miterlimit:10;stroke-opacity:1;fill-opacity:0;stroke-dasharray:none" /></svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -0,0 +1,29 @@
{
"name": "###VENDOR_NAME###/static-info-tables-###LANG_ISO_LOWER###",
"description": "###LANG_NAME### (###LANG_ISO_LOWER###) language pack for the Static Info Tables providing localized names for countries, currencies and so on.",
"type": "typo3-cms-extension",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "###AUTHOR###",
"role": "Developer"
}
],
"keywords": [
"TYPO3",
"Static Info Tables"
],
"replace": {
"###VENDOR_NAME###/static-info-tables-###LANG_ISO_LOWER###": "self.version",
"typo3-ter/static-info-tables-###LANG_ISO_LOWER###": "self.version"
},
"require": {
"typo3/cms-core": ">=###TYPO3_VERSION_MIN###,<###TYPO3_VERSION_MAX###",
"sjbr/static-info-tables": "^###VERSION_BASE###"
},
"extra": {
"typo3/cms": {
"extension-key": "static_info_tables_###LANG_ISO_LOWER###"
}
}
}

View File

@@ -0,0 +1,22 @@
<?php
/**
* Extension Manager configuration file for ext "static_info_tables_###LANG_ISO_LOWER###"
*/
$EM_CONF[$_EXTKEY] = [
'title' => 'Static Info Tables (###LANG_ISO_LOWER###)',
'description' => '###LANG_NAME### (###LANG_ISO_LOWER###) language pack for the Static Info Tables providing localized names for countries, currencies and so on.',
'category' => 'misc',
'version' => '###VERSION###',
'state' => 'stable',
'author' => '###AUTHOR###',
'author_email' => '###AUTHOR_EMAIL###',
'author_company' => '###AUTHOR_COMPANY###',
'constraints' => [
'depends' => [
'typo3' => '###TYPO3_VERSION_RANGE###',
'static_info_tables' => '###VERSION_BASE###-',
],
'conflicts' => [],
'suggests' => [],
]
];

View File

@@ -0,0 +1,12 @@
<?php
defined('TYPO3') or die();
call_user_func(
function ($extKey) {
// Configure translation of suggestions labels
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $extKey . '/Configuration/PageTSconfig/Suggest.tsconfig">'
);
},
'static_info_tables_###LANG_ISO_LOWER###'
);

View File

@@ -0,0 +1,22 @@
CREATE TABLE static_countries (
cn_short_###LANG_ISO_LOWER### varchar(50) DEFAULT '' NOT NULL
);
CREATE TABLE static_currencies (
cu_name_###LANG_ISO_LOWER### varchar(50) DEFAULT '' NOT NULL,
cu_sub_name_###LANG_ISO_LOWER### varchar(20) DEFAULT '' NOT NULL
);
CREATE TABLE static_languages (
lg_name_###LANG_ISO_LOWER### varchar(50) DEFAULT '' NOT NULL
);
CREATE TABLE static_territories (
tr_name_###LANG_ISO_LOWER### varchar(50) DEFAULT '' NOT NULL
);
CREATE TABLE static_country_zones (
zn_name_###LANG_ISO_LOWER### varchar(50) DEFAULT '' NOT NULL
);

View File

@@ -0,0 +1,33 @@
<f:be.container includeCssFiles="{0:'{f:uri.resource(path:\'StyleSheets/manager.css\')}'}">
<div class="typo3-fullDoc">
<div id="typo3-docheader">
<div class="typo3-docheader-functions">
<div class="left">
<f:be.buttons.csh />
<f:be.menus.actionMenu>
<f:be.menus.actionMenuItem label="{f:translate(key: 'information')}" controller="Manager" action="information" />
<f:be.menus.actionMenuItem label="{f:translate(key: 'newLanguagePack')}" controller="Manager" action="newLanguagePack" />
<f:be.menus.actionMenuItem label="{f:translate(key: 'testForm')}" controller="Manager" action="testForm" />
<f:be.menus.actionMenuItem label="{f:translate(key: 'sqlDumpNonLocalizedData')}" controller="Manager" action="sqlDumpNonLocalizedData" />
</f:be.menus.actionMenu>
</div>
<div class="right">
</div>
</div>
<div class="typo3-docheader-buttons">
<div class="left">
</div>
<div class="right">
<f:be.buttons.shortcut />
</div>
</div>
</div>
<div id="typo3-docbody">
<div id="typo3-inner-docbody">
<h2><f:translate key="title">Static Info Tables Manager</f:translate></h2>
<f:flashMessages />
<f:render section="Content" />
</div>
</div>
</div>
</f:be.container>

View File

@@ -0,0 +1,10 @@
<f:form.validationResults for="{for}">
<f:if condition="{validationResults.flattenedErrors}">
<ul class="errors">
<f:for each="{validationResults.errors}" as="error">
<!--<li>{error.code}: {error}</li>-->
<li><f:translate key="{error.code}">{error.code}</f:translate></li>
</f:for>
</ul>
</f:if>
</f:form.validationResults>

View File

@@ -0,0 +1,18 @@
<f:layout name="Default" />
<f:section name="iconButtons">
</f:section>
<f:section name="Content">
<h3>{f:translate(key: 'actionList')}</h3>
<dl class="t3-overview-list">
<f:for each="{actions}" as="action" key="key">
<dt>
<f:link.action action="{action.code}">
<f:translate key="{action.title}" />
</f:link.action>
</dt>
<dd><f:translate key="{action.description}" /></dd>
</f:for>
</dl>
</f:section>

View File

@@ -0,0 +1,57 @@
<f:layout name="Default" />
<f:section name="Content">
<h3>{f:translate(key: 'createLanguagePackTitle')}</h3>
<f:form method="post" controller="Manager" action="createLanguagePack" name="languagePack" object="{languagePack}" class="sjbr-static-info-tables-manager">
<fieldset>
<dl>
<dt>
<label for="sjbr-static-info-tables-manager-locale">{f:translate(key: 'language')}:</label>
</dt>
<dd>
<f:form.select id="sjbr-static-info-tables-manager-locale" property="locale" options="{locales}" optionValueField="collatingLocale" optionLabelField="nameEn" />
</dd>
<dt>
<label for="sjbr-static-info-tables-manager-version">{f:translate(key: 'version')}:</label>
</dt>
<dd>
<f:form.textfield id="sjbr-static-info-tables-manager-version" property="version" size="50" />
<f:render partial="FormErrors" arguments="{for: 'languagePack.version'}" />
</dd>
<dt>
<label for="sjbr-static-info-tables-manager-vendorName">{f:translate(key: 'vendorName')}:</label>
</dt>
<dd>
<f:form.textfield id="sjbr-static-info-tables-manager-vendorName" property="vendorName" size="50" />
<f:render partial="FormErrors" arguments="{for: 'languagePack.vendorName'}" />
</dd>
<dt>
<label for="sjbr-static-info-tables-manager-author">{f:translate(key: 'author')}:</label>
</dt>
<dd>
<f:form.textfield id="sjbr-static-info-tables-manager-author" property="author" size="50" />
<f:render partial="FormErrors" arguments="{for: 'languagePack.author'}" />
</dd>
<dt>
<label for="sjbr-static-info-tables-manager-authorCompany">{f:translate(key: 'authorCompany')}:</label>
</dt>
<dd>
<f:form.textfield id="sjbr-static-info-tables-manager-authorCompany" property="authorCompany" size="50" />
<f:render partial="FormErrors" arguments="{for: 'languagePack.authorCompany'}" />
</dd>
<dt>
<label for="sjbr-static-info-tables-manager-authorEmail">{f:translate(key: 'authorEmail')}:</label>
</dt>
<dd>
<f:form.textfield id="sjbr-static-info-tables-manager-authorEmail" property="authorEmail" size="50" />
<f:render partial="FormErrors" arguments="{for: 'languagePack.authorEmail'}" />
</dd>
<dt>
</dt>
<dd>
<f:form.submit class="submit" value="{f:translate(key: 'createLanguagePackSubmit')}" />
</dd>
</dl>
</fieldset>
</f:form>
</f:section>

View File

@@ -0,0 +1,39 @@
{namespace static=SJBR\StaticInfoTables\ViewHelpers}
<f:layout name="Default" />
<f:section name="Content">
<h3>{f:translate(key: 'testFormTitle')}</h3>
<f:form method="post" controller="Manager" action="testForm" name="testForm" class="sjbr-static-info-tables-manager">
<fieldset>
<dl>
<dt>
<label for="sjbr-static-info-tables-manager-country">{f:translate(key: 'selectCountry')}:</label>
</dt>
<dd>
<static:form.select id="sjbr-static-info-tables-manager-country" name="country" staticInfoTable="country" options="{}" value="{selectedCountry}" additionalAttributes="{onchange:'javascript:this.form.submit();'}"/>
</dd>
<f:if condition="{selectedCountry}">
<f:if condition="{selectedCountry.countryZones}">
<dt>
<label for="sjbr-static-info-tables-manager-country-zone">{f:translate(key: 'selectCountryZone')}:</label>
</dt>
<dd>
<static:form.select id="sjbr-static-info-tables-manager-country-zone" name="countryZone" staticInfoTable="countryZone" staticInfoTableSubselect="{country: '{selectedCountry.uid}'}" options="{}" value="{selectedCountryZone}" />
</dd>
</f:if>
</f:if>
<dt>
<label for="sjbr-static-info-tables-manager-language">{f:translate(key: 'selectLanguage')}:</label>
</dt>
<dd>
<static:form.select id="sjbr-static-info-tables-manager-language" name="language" staticInfoTable="language" options="{}" value="{selectedLanguage}" />
</dd>
<dt>
</dt>
<dd>
<f:form.submit class="submit" value="{f:translate(key: 'testFormSubmit')}" />
</dd>
</dl>
</fieldset>
</f:form>
</f:section>

View File

@@ -0,0 +1,44 @@
<f:layout name="Default" />
<f:section name="Content">
<h3>{f:translate(key: 'testFormResultTitle')}</h3>
<dl class="sjbr-static-info-tables-manager">
<dt>
<label for="sjbr-static-info-tables-manager-country">{f:translate(key: 'countryLocalizedName')}:</label>
</dt>
<dd>
<strong>{country.nameLocalized}</strong>
<br /><strong>{country.isoCodeA3}</strong>
</dd>
<f:if condition="{countryZone}">
<dt>
<label for="sjbr-static-info-tables-manager-country-zone">{f:translate(key: 'countryZoneLocalizedName')}:</label>
</dt>
<dd>
<strong>{countryZone.nameLocalized}</strong>
<br /><strong>{countryZone.isoCode}</strong>
</dd>
</f:if>
<dt>
<label for="sjbr-static-info-tables-manager-currency">{f:translate(key: 'currencyLocalizedName')}:</label>
</dt>
<dd>
<strong>{currency.nameLocalized}</strong>
<br /><strong>{currency.isoCodeA3}</strong>
</dd>
<dt>
<label for="sjbr-static-info-tables-manager-language">{f:translate(key: 'languageLocalizedName')}:</label>
</dt>
<dd>
<strong>{language.nameLocalized}</strong>
<br /><strong>{language.isoCodeA2}<f:if condition="{language.countryIsoCodeA2}">_{language.countryIsoCodeA2}</f:if></strong>
</dd>
<dt>
<label for="sjbr-static-info-tables-manager-territory">{f:translate(key: 'territoryLocalizedName')}:</label>
</dt>
<dd>
<strong>{territory.nameLocalized}</strong>
<br /><strong>{territory.unCodeNumber}</strong>
</dd>
</dl>
</f:section>