luci-app-cloudflared: i18n string context
authorDavid Han <redacted>
Sun, 7 Jun 2026 21:14:23 +0000 (06:14 +0900)
committerFlorian Eckert <redacted>
Fri, 12 Jun 2026 06:24:01 +0000 (08:24 +0200)
Add "Log direction" context to "Up" and "Down" strings to improve clarity.

Signed-off-by: David Han <redacted>
applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/log.js

index bc2c9e96fc8551715b8f8f3505a3dfb9538d7127..cec38f2603a323b09acd032e9f801e4fc45c2dd2 100644 (file)
@@ -93,8 +93,8 @@ return view.extend({
                                ]),
                                E('label', { 'for': 'log-direction', 'style': 'margin-right: 8px;' }, _('Log Direction:')),
                                E('select', { 'id': 'log-direction', 'style': 'margin-right: 8px;' }, [
-                                       E('option', { 'value': 'down', 'selected': 'selected' }, _('Down')),
-                                       E('option', { 'value': 'up' }, _('Up')),
+                                       E('option', { 'value': 'down', 'selected': 'selected' }, _('Down', 'Log direction')),
+                                       E('option', { 'value': 'up' }, _('Up', 'Log direction')),
                                ]),
                                E('button', {
                                        'id': 'download-log',
git clone https://git.99rst.org/PROJECT