From 4548aa17de63bce6edca374c98d440b715e0b288 Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Sun, 16 Feb 2025 18:40:42 +0300 Subject: [PATCH] Set version to 1.8.2 --- src/includes/lang/_percent.php | 5 ++++- src/includes/lang/en.json | 7 ++++--- src/includes/lang/ru.json | 9 +++++---- src/includes/version.php | 2 +- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/includes/lang/_percent.php b/src/includes/lang/_percent.php index 316dfd9..3e221e5 100755 --- a/src/includes/lang/_percent.php +++ b/src/includes/lang/_percent.php @@ -62,7 +62,7 @@ foreach ($rows as $i => $row) { print("| ". str_pad($row[0], $width[0], " ", STR_PAD_BOTH). " | ". str_pad($row[1], $width[1], " ", STR_PAD_BOTH). " | ". str_pad($row[2], $width[2], " ", STR_PAD_BOTH). " |\n"); - print("|:". str_repeat("-", $width[0]+1). "|". str_repeat("-", $width[1]+1). ":|". str_repeat("-", $width[2]+1). ":|\n"); + print("|:". str_repeat("-", $width[0]). "-|-". str_repeat("-", $width[1]). ":|-". str_repeat("-", $width[2]). ":|\n"); } else { print("| ". str_pad($row[0], $width[0], " ", STR_PAD_RIGHT). " | ". @@ -98,6 +98,9 @@ function checkArray(string $file, array $src, ?array $a) : int ++$translated; $translated += checkArray($file, $v, $a[$k]); } + else if (defined('P_VERBOSE')) { + fwrite(STDERR, "$file: key `$k` is not array\n"); + } } return $translated; } diff --git a/src/includes/lang/en.json b/src/includes/lang/en.json index f5f58ba..9f84948 100644 --- a/src/includes/lang/en.json +++ b/src/includes/lang/en.json @@ -1,11 +1,12 @@ { "_header": { - "ver": "v1.8.1", + "ver": "v1.8.2", "date": "2025-02-15", "language": "English", "original_name": "English", - "author": "Max Pozdeev", - "author_url": "https://www.mytinytodo.net" + "authors": [ + "Max Pozdeev (https://www.mytinytodo.net)" + ] }, "My Tiny Todolist": "My Tiny Todolist", "powered_by": "Powered by", diff --git a/src/includes/lang/ru.json b/src/includes/lang/ru.json index aeb9a44..11bd3cd 100644 --- a/src/includes/lang/ru.json +++ b/src/includes/lang/ru.json @@ -1,11 +1,12 @@ { "_header": { - "ver": "v1.8.1", - "date": "2024-01-23", + "ver": "v1.8.2", + "date": "2025-02-15", "language": "Russian", "original_name": "Русский", - "author": "Max Pozdeev", - "author_url": "https://www.mytinytodo.net" + "authors": [ + "Max Pozdeev (https://www.mytinytodo.net)" + ] }, "My Tiny Todolist": "My Tiny Todolist", "powered_by": "Работает на", diff --git a/src/includes/version.php b/src/includes/version.php index 3d03a41..38a1d31 100644 --- a/src/includes/version.php +++ b/src/includes/version.php @@ -4,6 +4,6 @@ namespace mytinytodo; class Version { - const VERSION = '1.8.1'; + const VERSION = '1.8.2'; const DB_VERSION = '1.8'; }