From e7d2e228f445994416c9d0cc961a44ded60c960d Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Thu, 5 Mar 2020 00:51:50 +0100 Subject: [PATCH] change release to version this makes the code more consistent --- README.md | 2 +- i18n.js | 6 +++--- index.html | 6 +++--- index.js | 31 ++++++++++++++++--------------- misc/collect.py | 23 +++++++++++------------ names-18.06.7.json | 4 ++-- names-19.07.1.json | 4 ++-- names-SNAPSHOT.json | 2 +- 8 files changed, 39 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 699e1ce..1959f1f 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ image`. A [Python script](misc/collect.py) is included to create those json files: `./collect.py bin/ --url -'https://downloads.openwrt.org/releases/{release}/targets/{target}' > +'https://downloads.openwrt.org/releases/{version}/targets/{target}' > names-test.json`. For the OpenWrt 18.06 and 19.07 releases, you need to patch OpenWrt to output JSON files for collect.py (commit [openwrt/openwrt@881ed09](https://github.com/openwrt/openwrt/commit/881ed09ee6e23f6c224184bb7493253c4624fb9f)). diff --git a/i18n.js b/i18n.js index 07a700e..c977c14 100644 --- a/i18n.js +++ b/i18n.js @@ -4,7 +4,7 @@ var translations = { 'tr-load': 'Lade die OpenWrt Firmware für dein Gerät!', 'tr-title': 'OpenWrt Firmware Selector', 'tr-message': 'Bitte benutze die Eingabe um die passende Firmware zu finden!', - 'tr-release-build': 'Release Build', + 'tr-version-build': 'Release Build', 'tr-custom-build': 'Custom Build', 'tr-customize': 'Customize', 'tr-request-build': 'Request Build', @@ -24,14 +24,14 @@ var translations = { 'tr-load': 'Download OpenWrt firmware for your device!', 'tr-title': 'OpenWrt Firmware Selector', 'tr-message': 'Please use the input below to download firmware for your device!', - 'tr-release-build': 'Build', + 'tr-version-build': 'Build', 'tr-custom-build': 'Custom Build', 'tr-customize': 'Customize', 'tr-request-build': 'Request Build', 'tr-model': 'Modell:', 'tr-target': 'Platform:', 'tr-version': 'Version:', - 'tr-release-downloads': 'Downloads', + 'tr-version-downloads': 'Downloads', 'tr-custom-downloads': 'Custom Downloads', 'tr-factory-help': 'Factory images are for flashing routers with OpenWrt for the first time. Usually via the web interface of the original firmware.', 'tr-sysupgrade-help': 'Sysupgrade images are for flashing routers that already run OpenWrt. The image can be applied using the web interface or the terminal.', diff --git a/index.html b/index.html index 6c43ea2..a32c932 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@

Please use the input below to download firmware for your device!


- +
@@ -48,10 +48,10 @@
-

Release Build

+

Release Build

Model:
Target:
-
Version: ()
+
Version: ()