Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 434f956
Author: huggy <i@huggy.moe>
Date:   Sat Sep 28 02:40:44 2024 +0900

    bump test

commit eb97d68
Author: huggy <i@huggy.moe>
Date:   Sat Sep 28 02:28:50 2024 +0900

    test

commit bda8f17
Author: huggy <i@huggy.moe>
Date:   Sat Sep 28 02:10:16 2024 +0900

    test

commit 8ac2fef
Author: huggy <i@huggy.moe>
Date:   Sat Sep 28 01:52:37 2024 +0900

    add svg banner

commit 0403dda
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:46:27 2024 +0900

    22.03.2

commit 123bf84
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:45:08 2024 +0900

    test

commit 176fd95
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:44:22 2024 +0900

    test

commit d085ce9
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:42:54 2024 +0900

    test

commit 3ea52a4
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:41:49 2024 +0900

    test

commit 19bcd46
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:36:14 2024 +0900

    use official gh-action

commit 63994ef
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:12:58 2024 +0900

    needs: prepare

commit 5cda59f
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:10:46 2024 +0900

    debian-12 to ubuntu-24.04

commit 734ec88
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:07:17 2024 +0900

    packages -> package

commit 574ede2
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 19:00:21 2024 +0900

    test3

commit d4613c3
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 18:58:12 2024 +0900

    test2

commit 381f95b
Author: huggy <i@huggy.moe>
Date:   Fri Sep 27 18:56:35 2024 +0900

    test ci
  • Loading branch information
makeding committed Sep 27, 2024
1 parent e60ec08 commit ca57fda
Show file tree
Hide file tree
Showing 9 changed files with 179 additions and 28 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
name: Build package for luci-app-fleth

on:
push:
tags:
- '*'
branches:
- master
- test-ci
jobs:
build:
name: Generic build
runs-on: ubuntu-24.04
steps:
- name: Fetch luci-app-fleth code
uses: actions/checkout@v4
with:
path: 'huggy/luci-app-fleth'
- name: Fetch po2lmo code
uses: actions/checkout@v4
with:
repository: 'openwrt-dev/po2lmo'
ref: 'db656750ab032f3056d329c5e727a10af9ba15dd'
path: 'huggy/luci-app-fleth/po2lmo'
- name: 'Make po2lmo binary'
run: 'cd $GITHUB_WORKSPACE/huggy/luci-app-fleth/po2lmo && make'
- name: 'Manual convert i18n(lmo) file'
run: |
mkdir -p $GITHUB_WORKSPACE/huggy/luci-app-fleth/root/usr/lib/lua/luci/i18n
$GITHUB_WORKSPACE/huggy/luci-app-fleth/po2lmo/src/po2lmo $GITHUB_WORKSPACE/huggy/luci-app-fleth/po/ja/fleth.po $GITHUB_WORKSPACE/huggy/luci-app-fleth/root/usr/lib/lua/luci/i18n/fleth.ja.lmo
$GITHUB_WORKSPACE/huggy/luci-app-fleth/po2lmo/src/po2lmo $GITHUB_WORKSPACE/huggy/luci-app-fleth/po/zh_Hans/fleth.po $GITHUB_WORKSPACE/huggy/luci-app-fleth/root/usr/lib/lua/luci/i18n/fleth.zh_Hans.lmo
$GITHUB_WORKSPACE/huggy/luci-app-fleth/po2lmo/src/po2lmo $GITHUB_WORKSPACE/huggy/luci-app-fleth/po/zh_Hant/fleth.po $GITHUB_WORKSPACE/huggy/luci-app-fleth/root/usr/lib/lua/luci/i18n/fleth.zh_Hant.lmo
- name: Build
uses: openwrt/gh-action-sdk@main
env:
# We only use lua and shellscript, so it will worked on arm / mips router
ARCH: x86_64-22.03.2
PACKAGES: luci-app-fleth
FEEDNAME: huggy
NO_REFRESH_CHECK: true
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: bin/packages/x86_64/huggy/
- name: 'Remove i18n ipk'
run: rm -fr $GITHUB_WORKSPACE/bin/packages/x86_64/huggy/luci-app-fleth*git*.ipk
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: bin/packages/x86_64/huggy/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-fleth
LUCI_TITLE:=LuCI Support for Flet'h
LUCI_DESCRIPTION:=luci-app-fleth is a helper that can configure IPv4 over IPv6 tunnel automatically in Japan.
PKG_VERSION:=0.6
PKG_VERSION:=0.7
PKG_RELEASE:=1

LUCI_PKGARCH:=all
Expand Down
15 changes: 15 additions & 0 deletions logo/fleth-banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion po/ja/fleth.po
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ msgid "Available ports"
msgstr "利用可能なポート"

msgid "Auto Configure tunnel Interface"
msgstr "トンネルインターフェースをの自動的に設定"
msgstr "トンネル インターフェースをの自動的に設定"

msgid "Auto Add IPv6 PD in IPv6 Interface"
msgstr "IPv6 インターフェースに IPv6 PD を自動的に追加"
Expand Down
52 changes: 26 additions & 26 deletions po/en/fleth.po → po/zh_Hans/fleth.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,79 +2,79 @@ msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"

msgid "Flet'h Configuration"
msgstr "Flet'h Configuration"
msgstr "Flet'h 配置"

msgid "Flet'h is a helper that can configure your IPv4 over IPv6 tunnel automatically."
msgstr "Flet'h is a helper that can configure your IPv4 over IPv6 tunnel automatically."
msgstr "Flet'h 是一个可以自动配置您的 IPv4 over IPv6 隧道的助手。"

msgid "Area"
msgstr "Area"
msgstr "区域"

msgid "EAST"
msgstr "EAST"
msgstr "东日本"

msgid "WEST"
msgstr "WEST"
msgstr "西日本"

msgid "DS-Lite Provider"
msgstr "DS-Lite Provider"
msgstr "DS-Lite 提供商"

msgid "UNKNOWN"
msgid "UNKNOWN"
msgstr "未知"

msgid "MAP-E Provider"
msgstr "MAP-E Provider"
msgstr "MAP-E 提供商"

msgid "IP Address"
msgstr "IP Address"
msgstr "IP 地址"

msgid "Peer Address"
msgstr "Peer Address"
msgstr "对端地址"

msgid "IPv4 prefix"
msgstr "IPv4 prefix"
msgstr "IPv4 前缀"

msgid "IPv4 Prefix Length"
msgstr "IPv4 Prefix Length"
msgstr "IPv4 前缀长度"

msgid "IPv6 Prefix"
msgstr "IPv6 Prefix"
msgstr "IPv6 前缀"

msgid "IPv6 Prefix Length"
msgstr "IPv6 Prefix Length"
msgstr "IPv6 前缀长度"

msgid "EA Length"
msgstr "EA Length"
msgstr "EA 长度"

msgid "PSID Length"
msgstr "PSID Length"
msgstr "PSID 长度"

msgid "Offset"
msgstr "Offset"
msgstr "偏移量"

msgid "Available ports"
msgstr "Available ports"
msgstr "可用端口"

msgid "Auto Configure tunnel Interface"
msgstr "Auto Configure tunnel Interface"
msgstr "自动配置隧道接口"

msgid "Auto Add IPv6 PD in IPv6 Interface"
msgstr "Auto Add IPv6 PD in IPv6 Interface"
msgstr "IPv6 接口中自动添加 IPv6 PD"

msgid "We recommend enabling it in MAP-E and when not using Hikari Denwa."
msgstr "We recommend enabling it in MAP-E and when not using Hikari Denwa."
msgstr "我们建议您在 MAP-E 并且在不使用光电话时中启用此选项。"

msgid "IPv6 Interface"
msgstr "IPv6 Interface"
msgstr "IPv6 接口"

msgid "Uplink interface"
msgstr "Uplink interface"
msgstr "上行接口"

msgid "Tunnel Interface"
msgstr "Tunnel Interface"
msgstr "隧道接口"

msgid "Tunnel Interface MTU"
msgstr "Tunnel Interface MTU"
msgstr "隧道接口 MTU"

msgid "We recommend setting MTU to 1460 in MAP-E and DS-Lite."
msgstr "We recommend setting MTU to 1460 in MAP-E and DS-Lite."
msgstr "我们建议在 MAP-E DS-Lite 中将 MTU 设置为 1460。"
80 changes: 80 additions & 0 deletions po/zh_Hant/fleth.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"

msgid "Flet'h Configuration"
msgstr "Flet'h 設定"

msgid "Flet'h is a helper that can configure your IPv4 over IPv6 tunnel automatically."
msgstr "Flet'h 是一個可以自動配置您的 IPv4 over IPv6 隧道的助手。"

msgid "Area"
msgstr "區域"

msgid "EAST"
msgstr "東日本"

msgid "WEST"
msgstr "西日本"

msgid "DS-Lite Provider"
msgstr "DS-Lite 提供商"

msgid "UNKNOWN"
msgstr "未知"

msgid "MAP-E Provider"
msgstr "MAP-E 提供商"

msgid "IP Address"
msgstr "IP 地址"

msgid "Peer Address"
msgstr "對端地址"

msgid "IPv4 prefix"
msgstr "IPv4 前綴"

msgid "IPv4 Prefix Length"
msgstr "IPv4 前綴長度"

msgid "IPv6 Prefix"
msgstr "IPv6 前綴"

msgid "IPv6 Prefix Length"
msgstr "IPv6 前綴長度"

msgid "EA Length"
msgstr "EA 長度"

msgid "PSID Length"
msgstr "PSID 長度"

msgid "Offset"
msgstr "偏移量"

msgid "Available ports"
msgstr "可用端口"

msgid "Auto Configure tunnel Interface"
msgstr "自動配置隧道介面"

msgid "Auto Add IPv6 PD in IPv6 Interface"
msgstr "在 IPv6 介面中自動添加 IPv6 PD"

msgid "We recommend enabling it in MAP-E and when not using Hikari Denwa."
msgstr "我們建議在 MAP-E 中啟用此選項,並且在不使用光電話時使用。"

msgid "IPv6 Interface"
msgstr "IPv6 介面"

msgid "Uplink interface"
msgstr "上行介面"

msgid "Tunnel Interface"
msgstr "隧道介面"

msgid "Tunnel Interface MTU"
msgstr "隧道介面 MTU"

msgid "We recommend setting MTU to 1460 in MAP-E and DS-Lite."
msgstr "我們建議在 MAP-E 和 DS-Lite 中將 MTU 設置為 1460。"
1 change: 1 addition & 0 deletions readme-en.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![banner](./logo/fleth-banner.svg)
# luci-app-fleth
luci-app-fleth is a helper that can configure your IPv4 over IPv6 tunnel automatically.
> Japan use only
Expand Down
1 change: 1 addition & 0 deletions readme-zhs.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![banner](./logo/fleth-banner.svg)
# luci-app-fleth
luci-app-fleth 是一个助手,可以帮您自动配置 IPv4 over IPv6 隧道。

Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![banner](./logo/fleth-banner.svg)
# luci-app-fleth
[English](./readme-en.md) || [Chinese Simplified](./readme-zhs.md)

Expand Down

0 comments on commit ca57fda

Please sign in to comment.