GRASS use tmp-location, translation fix

pull/1093/head
Piero Toffanin 2021-11-10 15:39:28 -05:00
rodzic 89522451fc
commit e995876401
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -100,9 +100,9 @@ class GrassContext:
env["PYTHONPATH"] = "%s%s%s" % (self.python_path, sep, env.get("PYTHONPATH", ""))
# Execute it
logger.info("Executing grass script from {}: {} -c {} location --exec python3 {} {}".format(self.get_cwd(), self.grass_binary, self.location, script, " ".join(params)))
logger.info("Executing grass script from {}: {} --tmp-location {} --exec python3 {} {}".format(self.get_cwd(), self.grass_binary, self.location, script, " ".join(params)))
command = [self.grass_binary, '-c', self.location, 'location', '--exec', 'python3', script] + params
command = [self.grass_binary, '--tmp-location', self.location, '--exec', 'python3', script] + params
if platform.system() == "Windows":
# communicate() hangs on Windows so we use check_output instead
try:

Wyświetl plik

@ -225,7 +225,7 @@
</div>
{% else %}
<h3>{% trans 'Welcome!' %} ☺</h3>
<div style="margin-bottom: 28px;">Before we get started, we need to create an administrator account for you:</div>
<div style="margin-bottom: 28px;">{% trans "Before we get started, we need to create an administrator account for you:" %}</div>
{% endif %}
<form action="" method="post" class="form-horizontal" role="form">{% csrf_token %}