X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/6e4c911e9bfed3ecd83427f5329ed024be9c62c6..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/forum_modules/exporter/templates/running.html?ds=sidebyside diff --git a/forum_modules/exporter/templates/running.html b/forum_modules/exporter/templates/running.html index 718db90..9053fcf 100644 --- a/forum_modules/exporter/templates/running.html +++ b/forum_modules/exporter/templates/running.html @@ -6,7 +6,7 @@ {% ifequal mode "exporter" %}{% trans "XML data exporter" %}{% else %}{% trans "XML data importer" %}{% endifequal %} {% endblock %} {% block description %} - {% ifequal mode "exporter" %}{% trans "Export database to XML format" %}{% else %}{% trans "Restore data from a previouus export" %}{% endifequal %} + {% ifequal mode "exporter" %}{% trans "Export database to XML format" %}{% else %}{% trans "Restore data from a previous export" %}{% endifequal %} {% endblock %} {% block adminjs %} @@ -57,7 +57,7 @@ var $bar = $('#state_' + name); if (data[name] === undefined) { - $bar.find('.state_label').html('{% trans "Skiped" %}') + $bar.find('.state_label').html('{% trans "Skipped" %}') } else if (state == null || data[name] != state[name]) { var width = $bar.width(); @@ -94,7 +94,7 @@ if (data.errors == false) { if (exporting) { $('#wait_message').html('{% trans "Your backup is ready to be downloaded."%}'); - $('#download_link_a').attr('href', '{% url exporter_download %}?file=' + data.state.overall.fname) + $('#download_link_a').attr('href', '{% url "exporter_download" %}?file=' + data.state.overall.fname) $('#download_link').slideDown(); } else { $('#wait_message').html('{% trans "All data sucessfully imported."%}') @@ -102,9 +102,9 @@ } else { var msg; if (exporting) { - msg = '{% trans "An error has occurred during de export proccess"%}'; + msg = '{% trans "An error has occurred during the export proccess"%}'; } else { - msg = '{% trans "An error has occurred during de import proccess"%}'; + msg = '{% trans "An error has occurred during the import proccess"%}'; } $('#wait_message').html(msg + ': ' + data.errors + '
' + '{% trans "Please check the log file for a full stack trace." %}') @@ -121,7 +121,7 @@ } }, 1000); - $.getJSON('{% url exporter_state %}', callback); + $.getJSON('{% url "exporter_state" %}', callback); } check_state();