[Mapbender-commits] r9770 - in trunk/mapbender: http/javascripts resources/locale/de_DE/LC_MESSAGES
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Aug 23 08:11:33 PDT 2017
Author: armin11
Date: 2017-08-23 08:11:33 -0700 (Wed, 23 Aug 2017)
New Revision: 9770
Modified:
trunk/mapbender/http/javascripts/mod_syncCkan_client.php
trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po
Log:
German translations for ckan sync tool
Modified: trunk/mapbender/http/javascripts/mod_syncCkan_client.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_syncCkan_client.php 2017-08-22 09:49:06 UTC (rev 9769)
+++ trunk/mapbender/http/javascripts/mod_syncCkan_client.php 2017-08-23 15:11:33 UTC (rev 9770)
@@ -190,10 +190,10 @@
//add button for start syncing if something may be done ;-)
if ((p_delete+p_update+p_create) > 0) {
//$form .= "<button class=\"btn btn-primary\" type=\"button\" id=\"maintenance_button\" onclick=\"callServer('".$resourceType."','".$maintenanceFunction."',$('#resource_id_list').val(),"."1".");\">";
- $('#r_id_'+orga.id+' td:last').after('<td id=\'button_column_'+orga.id+'\'><button class=\"btn btn-primary\" type=\"button\" id=\"sync_button_'+orga.id+'\" onclick=\"callServer('+compareTimestamps+','+orga.id+');\">Start sync</button></td>');
+ $('#r_id_'+orga.id+' td:last').after('<td id=\'button_column_'+orga.id+'\'><button class=\"btn btn-primary\" type=\"button\" id=\"sync_button_'+orga.id+'\" onclick=\"callServer('+compareTimestamps+','+orga.id+');\"><?php echo _mb('Start sync'); ?></button></td>');
} else {
//deactivated button
- $('#r_id_'+orga.id+' td:last').after('<td id=\'button_column_'+orga.id+'\'><button class=\"btn btn-primary\" type=\"button\" id=\"sync_button_'+orga.id+'\" disabled>Nothing to do</button></td>');
+ $('#r_id_'+orga.id+' td:last').after('<td id=\'button_column_'+orga.id+'\'><button class=\"btn btn-primary\" type=\"button\" id=\"sync_button_'+orga.id+'\" disabled><?php echo _mb('Nothing to do'); ?></button></td>');
}
if (orga.csw_catalogues !== null) {
//csw_cataloguesObject = Object.assign({}, orga.csw_catalogues);
@@ -202,7 +202,7 @@
for (csw of orga.csw_catalogues) {
csw_cataloguesObject[i] = csw;
}*/
- $('#r_id_'+orga.id+' td:last').after('<td id=\'external_button_column_'+orga.id+'\'><button class=\"btn btn-primary\" type=\"button\" id=\"external_sync_button_'+orga.id+'\" onclick=\"showCatalogues('+compareTimestamps+','+orga.id+',\'listCatalogues\','+orga.id+');\">Show catalogue status</button></td><td></td>');
+ $('#r_id_'+orga.id+' td:last').after('<td id=\'external_button_column_'+orga.id+'\'><button class=\"btn btn-primary\" type=\"button\" id=\"external_sync_button_'+orga.id+'\" onclick=\"showCatalogues('+compareTimestamps+','+orga.id+',\'listCatalogues\','+orga.id+');\"><?php echo _mb('Show catalogue status'); ?></button></td><td></td>');
/*console.log(typeof(orga.csw_catalogues[0].organisation_filter));
console.log(orga.csw_catalogues[0].organisation_filter);
for (csw of orga.csw_catalogues) {
@@ -262,9 +262,9 @@
<tr id="csw_sync_status_table_row_header">
<th><?php echo _mb('Ckan instance'); ?></th>
<th><?php echo _mb('External CSW'); ?></th>
- <th><?php echo _mb('# delete'); ?></th>
- <th><?php echo _mb('# update'); ?></th>
- <th><?php echo _mb('# create'); ?></th>
+ <th><?php echo "# "._mb('delete'); ?></th>
+ <th><?php echo "# "._mb('update'); ?></th>
+ <th><?php echo "# "._mb('create'); ?></th>
<th><?php echo _mb('Action'); ?></th>
</tr>
</table>
@@ -278,9 +278,9 @@
<tr id="sync_status_table_row_header">
<th><?php echo _mb('Mapbender group'); ?></th>
<th><?php echo _mb('Ckan organization'); ?></th>
- <th><?php echo _mb('# delete'); ?></th>
- <th><?php echo _mb('# update'); ?></th>
- <th><?php echo _mb('# create'); ?></th>
+ <th><?php echo "# "._mb('delete'); ?></th>
+ <th><?php echo "# "._mb('update'); ?></th>
+ <th><?php echo "# "._mb('create'); ?></th>
<th><?php echo _mb('Action'); ?></th>
<th><?php echo _mb('External catalogues'); ?></th>
</tr>
Modified: trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po
===================================================================
--- trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po 2017-08-22 09:49:06 UTC (rev 9769)
+++ trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po 2017-08-23 15:11:33 UTC (rev 9770)
@@ -4242,3 +4242,45 @@
msgid "Origin"
msgstr "Herkunft"
+msgid "Ckan instance"
+msgstr "Ckan Instanz"
+
+msgid "External CSW"
+msgstr "Externer CSW"
+
+msgid "Syncing metadata via CSW ..."
+msgstr "Metadatensynchronisierung über CSW ..."
+
+msgid "Action"
+msgstr "Aktion"
+
+msgid "Syncing metadata ..."
+msgstr "Metadatensynchronisierung ..."
+
+msgid "Getting organization info ..."
+msgstr "Lese Organisations Informationen ..."
+
+msgid "Loading catalogue statistics ..."
+msgstr "Lade Katalog Statistiken ..."
+
+msgid "Syncing catalogue metadata ..."
+msgstr "Synchronisiere Metadaten aus Katalog ..."
+
+msgid "Mapbender group"
+msgstr "Mapbender Gruppe"
+
+msgid "Ckan organization"
+msgstr "Ckan Organisation"
+
+msgid "External catalogues"
+msgstr "Externe Kataloge"
+
+msgid "update"
+msgstr "aktualisieren"
+
+msgid "create"
+msgstr "erstellen"
+
+msgid "Ckan sync module"
+msgstr "Ckan Synchronisierungsmodul"
+
More information about the Mapbender_commits
mailing list