aboutsummaryrefslogtreecommitdiff
path: root/mod/logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'mod/logrotate')
-rw-r--r--mod/logrotate/languages/en.php28
-rw-r--r--mod/logrotate/languages/es.php28
2 files changed, 56 insertions, 0 deletions
diff --git a/mod/logrotate/languages/en.php b/mod/logrotate/languages/en.php
new file mode 100644
index 000000000..c3cf2d8ad
--- /dev/null
+++ b/mod/logrotate/languages/en.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Elgg log rotator language pack.
+ *
+ * @package ElggLogRotate
+ */
+
+$english = array(
+ 'logrotate:period' => 'How often should the system log be archived?',
+
+ 'logrotate:weekly' => 'Once a week',
+ 'logrotate:monthly' => 'Once a month',
+ 'logrotate:yearly' => 'Once a year',
+
+ 'logrotate:logrotated' => "Log rotated\n",
+ 'logrotate:lognotrotated' => "Error rotating log\n",
+
+ 'logrotate:date' => 'Delete archived logs older than a',
+
+ 'logrotate:week' => 'week',
+ 'logrotate:month' => 'month',
+ 'logrotate:year' => 'year',
+
+ 'logrotate:logdeleted' => "Log deleted\n",
+ 'logrotate:lognotdeleted' => "Error deleting log\n",
+);
+
+add_translation("en", $english);
diff --git a/mod/logrotate/languages/es.php b/mod/logrotate/languages/es.php
new file mode 100644
index 000000000..ff8d65c54
--- /dev/null
+++ b/mod/logrotate/languages/es.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Elgg log rotator language pack.
+ *
+ * @package ElggLogRotate
+ */
+
+$spanish = array(
+ 'logrotate:period' => 'Con qu&eacute; frecuencia debe archivarse el log del sistema?',
+
+ 'logrotate:weekly' => 'Una vez a la semana',
+ 'logrotate:monthly' => 'Una vez al mes',
+ 'logrotate:yearly' => 'Una vez al a&ntilde;o',
+
+ 'logrotate:logrotated' => "Registro archivado\n",
+ 'logrotate:lognotrotated' => "Error al archivar el registro\n",
+
+ 'logrotate:date' => 'Eliminar registros archivados anteriores a:',
+
+ 'logrotate:week' => 'semana',
+ 'logrotate:month' => 'mes',
+ 'logrotate:year' => 'a&ntilde;o',
+
+ 'logrotate:logdeleted' => "Registro eliminado\n",
+ 'logrotate:lognotdeleted' => "Error al eliminar el registro\n",
+);
+
+add_translation("es", $spanish);