Dawnline 0.20.0
Build packages / CI (push) Blocked by required conditions
Build packages / Version (push) Waiting to run
CI / Web (format, types, tests, bundles) (push) Blocked by required conditions
CI / ShellCheck (push) Blocked by required conditions
CI / Backend (Go: vet, tests, a real ubusd and uhttpd) (push) Blocked by required conditions
CI / Package files (push) Blocked by required conditions
Build packages / CI (push) Blocked by required conditions
Build packages / Version (push) Waiting to run
CI / Web (format, types, tests, bundles) (push) Blocked by required conditions
CI / ShellCheck (push) Blocked by required conditions
CI / Backend (Go: vet, tests, a real ubusd and uhttpd) (push) Blocked by required conditions
CI / Package files (push) Blocked by required conditions
- **Backend rewritten in Go.** One daemon, `dawnlined`, replaces the whole ucode backend: the rpcd plugin, the agent, the CLI and the updater. The package no longer depends on ucode. - **Per-architecture builds.** The release carries the backend for arm64, ARMv7, mips, mipsle and amd64; the router fetches its own after the package is installed and checks its sha256. Dawnline does not run on other architectures (older ARM, 32-bit x86, RISC-V). - **Faster on the router.** A firewall sync takes 0.06 s instead of 0.9 s; a full apply takes about 300 ms. The portal is served by the daemon itself, without a CGI process per request. - **Live pages.** The admin and the portal follow a live stream from the router instead of re-fetching the whole state every 30 seconds. - **Admin redesigned in the portal's style.** Three sections (Overview · Log · Settings); a server is a page of its own with People, Places and Settings; a device opens as a dialog over its person. - **Changes wait for «Apply».** Every setting, and a person's access, is staged in one dock before it reaches the router. - **Configuration rollout.** After a change that makes devices fetch their configuration again, the admin shows how many have fetched it and who has not. Every setting shows beforehand (⟳N) how many devices it will touch. - **Waiting for a decision.** Overview and People put first the people who need one (access ended, limit reached, a device that does not connect), each with its one action a tap away. - **Bulk actions on people.** «Select» (or a long press on a card) picks several people to extend by a month, pause or resume at once. - **Undo.** An action done from a card or a request is undone from its toast. - **Update dialogs redesigned.** An update is one view from its question to its result; Dawnline's own update runs in it like every other, and the page reloads itself once the new version answers. Other versions are a list, each with its notes and Install on a page of its own. - **Site to site: networks behind a router.** A router connected as a device can have networks behind it (up to eight, /16 to /30): the server routes them and applies the router's access to them. A network that shares addresses with a tunnel, the router's own networks or another site is refused by name. - **Routers from the portal.** People can add a router and name its networks on their own page; the admin accepts or declines with a reason, or lets them through without asking. - **Check access and Health know the networks behind routers.** - **Usage limits reworked.** A monthly limit no longer follows the calendar. A person's month starts with their first traffic and ends a month later; the next one starts only when they connect again, so time away uses up none of it. Before, everyone's limit reset on the 1st. - Extra data lasts until that person's month ends; «Reset usage» starts the month anew. - A limit is for a month or for the whole term; the admin and the portal show when it resets. - Charts that said «this month» show the last 30 days. - After the update nobody loses what was counted: the month that was running becomes the person's first and ends on the 1st. - **Access by time of day removed.** The Hours limit is gone from the admin, the portal and the backend; saved hours are dropped. - **Expiry simplified.** An end date always stops access, with a heads-up three days before; the per-person choice is gone. - **No false disconnects from sleeping phones.** A phone or a tablet stays online through ten minutes of silence. - **Mobile Safari fixes.** Pressing a control no longer sends the page to its top; tab tracks that do not fit scroll; switches animate after a press.
This commit is contained in:
1 parent
f8130e39a8
commit
ac90575b0b
788 files changed
+139244
-41720
No files matched your search
@@ -0,0 +1,317 @@
|
||||
// Package i18n puts the backend's messages into the admin's language, as dawnline.i18n does through LuCI's
|
||||
// catalog reader: text is English in the code and looked up in the luci-i18n-dawnline-<lang> catalog
|
||||
// (/usr/lib/lua/luci/i18n/dawnline.<lang>.lmo), placeholders filled after the lookup.
|
||||
//
|
||||
// A catalog: the translations, then an index entry per string sorted by key (key hash, number of forms,
|
||||
// offset, length: big-endian uint32s), then the index's offset. A key is the msgid, "ctx\x01" before it and
|
||||
// "\x02<n>" after it for plural form n; its hash is Paul Hsieh's SuperFastHash seeded with the length. The
|
||||
// Plural-Forms formula sits under key 0. Held to LuCI's own reader on testdata (scripts/ucode-golden.sh).
|
||||
package i18n
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"os"
|
||||
"regexp"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// Dir is where LuCI keeps its catalogs.
|
||||
const Dir = "/usr/lib/lua/luci/i18n"
|
||||
|
||||
// A Catalog is one language's translations. A nil one speaks English.
|
||||
type Catalog struct {
|
||||
data []byte
|
||||
index []byte
|
||||
// plural is the Plural-Forms expression ("" when the catalog has none)
|
||||
plural string
|
||||
}
|
||||
|
||||
var tag = regexp.MustCompile(`^[a-z][a-z][a-z]?([_-][A-Za-z][A-Za-z][A-Za-z]?[A-Za-z]?)?$`)
|
||||
|
||||
// Use is the catalog for a language as a page names it ("ru", "pt_BR"), or nil for English, a language
|
||||
// with no Dawnline catalog, or anything that is no language.
|
||||
func Use(dir, lang string) *Catalog {
|
||||
if lang == "en" || !tag.MatchString(lang) {
|
||||
return nil
|
||||
}
|
||||
c, _ := Load(dir + "/dawnline." + strings.ToLower(strings.ReplaceAll(lang, "_", "-")) + ".lmo")
|
||||
return c
|
||||
}
|
||||
|
||||
// Load reads a catalog file.
|
||||
func Load(path string) (*Catalog, error) {
|
||||
raw, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if len(raw) < 4 {
|
||||
return nil, os.ErrInvalid
|
||||
}
|
||||
at := int(binary.BigEndian.Uint32(raw[len(raw)-4:]))
|
||||
if at > len(raw)-4 || (len(raw)-4-at)%16 != 0 {
|
||||
return nil, os.ErrInvalid
|
||||
}
|
||||
c := &Catalog{data: raw[:at], index: raw[at : len(raw)-4]}
|
||||
if formula, ok := c.find(0); ok {
|
||||
if i := strings.Index(formula, "plural="); i >= 0 {
|
||||
c.plural = strings.TrimSpace(strings.SplitN(formula[i+len("plural="):], ";", 2)[0])
|
||||
}
|
||||
}
|
||||
return c, nil
|
||||
}
|
||||
|
||||
func (c *Catalog) find(key uint32) (string, bool) {
|
||||
n := len(c.index) / 16
|
||||
i := sort.Search(n, func(i int) bool { return binary.BigEndian.Uint32(c.index[i*16:]) >= key })
|
||||
if i == n || binary.BigEndian.Uint32(c.index[i*16:]) != key {
|
||||
return "", false
|
||||
}
|
||||
off, size := int(binary.BigEndian.Uint32(c.index[i*16+8:])), int(binary.BigEndian.Uint32(c.index[i*16+12:]))
|
||||
if off+size > len(c.data) {
|
||||
return "", false
|
||||
}
|
||||
return string(c.data[off : off+size]), true
|
||||
}
|
||||
|
||||
// canon is a key as the reader looks it up: runs of white space are one space, none at either end.
|
||||
func canon(s string) string {
|
||||
return strings.Join(strings.FieldsFunc(s, func(r rune) bool {
|
||||
return r == ' ' || r == '\t' || r == '\n' || r == '\v' || r == '\f' || r == '\r'
|
||||
}), " ")
|
||||
}
|
||||
|
||||
// T is msg in the catalog's language: the English when it has no translation.
|
||||
func (c *Catalog) T(msg string) string {
|
||||
if c != nil {
|
||||
if k := canon(msg); k != "" {
|
||||
if s, ok := c.find(hash([]byte(k))); ok {
|
||||
return s
|
||||
}
|
||||
}
|
||||
}
|
||||
return msg
|
||||
}
|
||||
|
||||
// N is one or many for n, by the language's plural rules (Russian has three forms).
|
||||
func (c *Catalog) N(n int64, one, many string) string {
|
||||
if c != nil && c.plural != "" {
|
||||
if form, ok := eval(c.plural, n); ok {
|
||||
if s, found := c.find(hash([]byte(canon(one) + "\x02" + strconv.FormatInt(form, 10)))); found {
|
||||
return s
|
||||
}
|
||||
}
|
||||
}
|
||||
if n == 1 {
|
||||
return one
|
||||
}
|
||||
return many
|
||||
}
|
||||
|
||||
// hash is SuperFastHash of the bytes, seeded with their length (lmo.c sfh_hash).
|
||||
func hash(data []byte) uint32 {
|
||||
if len(data) == 0 {
|
||||
return 0
|
||||
}
|
||||
get16 := func(i int) uint32 { return uint32(data[i]) | uint32(data[i+1])<<8 }
|
||||
s8 := func(i int) uint32 { return uint32(int32(int8(data[i]))) }
|
||||
h := uint32(len(data))
|
||||
i := 0
|
||||
for n := len(data) >> 2; n > 0; n, i = n-1, i+4 {
|
||||
h += get16(i)
|
||||
tmp := get16(i+2)<<11 ^ h
|
||||
h = h<<16 ^ tmp
|
||||
h += h >> 11
|
||||
}
|
||||
switch len(data) & 3 {
|
||||
case 3:
|
||||
h += get16(i)
|
||||
h ^= h << 16
|
||||
h ^= s8(i+2) << 18
|
||||
h += h >> 11
|
||||
case 2:
|
||||
h += get16(i)
|
||||
h ^= h << 11
|
||||
h += h >> 17
|
||||
case 1:
|
||||
h += s8(i)
|
||||
h ^= h << 10
|
||||
h += h >> 1
|
||||
}
|
||||
h ^= h << 3
|
||||
h += h >> 5
|
||||
h ^= h << 4
|
||||
h += h >> 17
|
||||
h ^= h << 25
|
||||
h += h >> 6
|
||||
return h
|
||||
}
|
||||
|
||||
// eval works a Plural-Forms expression out for n: C's operators on whole numbers.
|
||||
func eval(expr string, n int64) (v int64, ok bool) {
|
||||
p := &parser{s: expr, n: n}
|
||||
defer func() {
|
||||
if recover() != nil {
|
||||
v, ok = 0, false
|
||||
}
|
||||
}()
|
||||
v = p.ternary()
|
||||
p.space()
|
||||
return v, p.i == len(p.s)
|
||||
}
|
||||
|
||||
type parser struct {
|
||||
s string
|
||||
i int
|
||||
n int64
|
||||
}
|
||||
|
||||
func (p *parser) space() {
|
||||
for p.i < len(p.s) && (p.s[p.i] == ' ' || p.s[p.i] == '\t') {
|
||||
p.i++
|
||||
}
|
||||
}
|
||||
|
||||
// take eats op when it is next (and not the start of a longer operator).
|
||||
func (p *parser) take(op string) bool {
|
||||
p.space()
|
||||
if !strings.HasPrefix(p.s[p.i:], op) {
|
||||
return false
|
||||
}
|
||||
if rest := p.s[p.i+len(op):]; len(op) == 1 && rest != "" && strings.ContainsRune("<>!=", rune(op[0])) && rest[0] == '=' {
|
||||
return false
|
||||
}
|
||||
p.i += len(op)
|
||||
return true
|
||||
}
|
||||
|
||||
func truth(b bool) int64 {
|
||||
if b {
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (p *parser) ternary() int64 {
|
||||
c := p.or()
|
||||
if !p.take("?") {
|
||||
return c
|
||||
}
|
||||
a := p.ternary()
|
||||
if !p.take(":") {
|
||||
panic("no :")
|
||||
}
|
||||
b := p.ternary()
|
||||
if c != 0 {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
func (p *parser) or() int64 {
|
||||
v := p.and()
|
||||
for p.take("||") {
|
||||
r := p.and()
|
||||
v = truth(v != 0 || r != 0)
|
||||
}
|
||||
return v
|
||||
}
|
||||
|
||||
func (p *parser) and() int64 {
|
||||
v := p.equal()
|
||||
for p.take("&&") {
|
||||
r := p.equal()
|
||||
v = truth(v != 0 && r != 0)
|
||||
}
|
||||
return v
|
||||
}
|
||||
|
||||
func (p *parser) equal() int64 {
|
||||
v := p.compare()
|
||||
for {
|
||||
switch {
|
||||
case p.take("=="):
|
||||
v = truth(v == p.compare())
|
||||
case p.take("!="):
|
||||
v = truth(v != p.compare())
|
||||
default:
|
||||
return v
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (p *parser) compare() int64 {
|
||||
v := p.sum()
|
||||
for {
|
||||
switch {
|
||||
case p.take("<="):
|
||||
v = truth(v <= p.sum())
|
||||
case p.take(">="):
|
||||
v = truth(v >= p.sum())
|
||||
case p.take("<"):
|
||||
v = truth(v < p.sum())
|
||||
case p.take(">"):
|
||||
v = truth(v > p.sum())
|
||||
default:
|
||||
return v
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (p *parser) sum() int64 {
|
||||
v := p.product()
|
||||
for {
|
||||
switch {
|
||||
case p.take("+"):
|
||||
v += p.product()
|
||||
case p.take("-"):
|
||||
v -= p.product()
|
||||
default:
|
||||
return v
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (p *parser) product() int64 {
|
||||
v := p.unary()
|
||||
for {
|
||||
switch {
|
||||
case p.take("*"):
|
||||
v *= p.unary()
|
||||
case p.take("/"):
|
||||
v /= p.unary()
|
||||
case p.take("%"):
|
||||
v %= p.unary()
|
||||
default:
|
||||
return v
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (p *parser) unary() int64 {
|
||||
if p.take("!") {
|
||||
return truth(p.unary() == 0)
|
||||
}
|
||||
if p.take("(") {
|
||||
v := p.ternary()
|
||||
if !p.take(")") {
|
||||
panic("no )")
|
||||
}
|
||||
return v
|
||||
}
|
||||
if p.take("n") {
|
||||
return p.n
|
||||
}
|
||||
p.space()
|
||||
j := p.i
|
||||
for j < len(p.s) && p.s[j] >= '0' && p.s[j] <= '9' {
|
||||
j++
|
||||
}
|
||||
v, err := strconv.ParseInt(p.s[p.i:j], 10, 64)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
p.i = j
|
||||
return v
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
package i18n
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"os"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// The catalogs of testdata answer as LuCI's own reader answers from them (testdata/trace.uc).
|
||||
func TestAsLuCI(t *testing.T) {
|
||||
raw, err := os.ReadFile("testdata/trace.json")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
var trace map[string]struct {
|
||||
T map[string]*string `json:"t"`
|
||||
N [][]any `json:"n"`
|
||||
}
|
||||
if err := json.Unmarshal(raw, &trace); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if len(trace) != 2 {
|
||||
t.Fatalf("%d languages", len(trace))
|
||||
}
|
||||
for lang, want := range trace {
|
||||
c, err := Load("testdata/" + lang + ".lmo")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
found := 0
|
||||
for id, s := range want.T {
|
||||
// the reader says nothing where Dawnline then keeps the English
|
||||
w := id
|
||||
if s != nil {
|
||||
w = *s
|
||||
found++
|
||||
}
|
||||
if got := c.T(id); got != w {
|
||||
t.Errorf("%s: T(%q) = %q, LuCI %q", lang, id, got, w)
|
||||
}
|
||||
}
|
||||
if found < 2 || len(want.N) < 100 {
|
||||
t.Fatalf("%s: the trace exercises too little", lang)
|
||||
}
|
||||
for _, r := range want.N {
|
||||
n, one, many := int64(r[0].(float64)), r[1].(string), r[2].(string)
|
||||
if got := c.N(n, one, many); got != r[3] {
|
||||
t.Errorf("%s: N(%v, %q) = %q, LuCI %q", lang, r[0], one, got, r[3])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestUse(t *testing.T) {
|
||||
dir := t.TempDir()
|
||||
raw, _ := os.ReadFile("testdata/ru.lmo")
|
||||
os.WriteFile(dir+"/dawnline.ru.lmo", raw, 0o644)
|
||||
os.WriteFile(dir+"/dawnline.pt-br.lmo", raw, 0o644)
|
||||
os.WriteFile(dir+"/dawnline.xx.lmo", []byte("no"), 0o644)
|
||||
for lang, speaks := range map[string]bool{"ru": true, "pt_BR": true, "pt-br": true, "en": false, "": false, "de": false, "../ru": false, "xx": false, "RU": false} {
|
||||
if c := Use(dir, lang); (c != nil) != speaks {
|
||||
t.Errorf("%q: %v", lang, c != nil)
|
||||
}
|
||||
}
|
||||
var none *Catalog
|
||||
if none.T("Save") != "Save" || none.N(1, "%s device", "%s devices") != "%s device" || none.N(4, "%s device", "%s devices") != "%s devices" {
|
||||
t.Fatal("no catalog does not speak English")
|
||||
}
|
||||
}
|
||||
|
||||
func TestPluralRules(t *testing.T) {
|
||||
for expr, want := range map[string][]int64{
|
||||
"(n != 1)": {1, 0, 1, 1},
|
||||
"n>1": {0, 0, 1, 1},
|
||||
"0": {0, 0, 0, 0},
|
||||
"n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : 4": {0, 1, 2, 3},
|
||||
"!(n-1) + 2*3/2": {3, 4, 3, 3},
|
||||
} {
|
||||
for n, w := range want {
|
||||
if got, ok := eval(expr, int64(n)); !ok || got != w {
|
||||
t.Errorf("%s for %d: %d %v, want %d", expr, n, got, ok, w)
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, bad := range []string{"", "n ?", "(n", "n n", "n % 0", "x"} {
|
||||
if _, ok := eval(bad, 3); ok {
|
||||
t.Errorf("%q was taken", bad)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,668 @@
|
||||
// The backend's messages, for the translations' extractor (web/i18n/extract.ts reads this file as it read
|
||||
// the ucode sources): what the Go backend says to people. _() a sentence in the reader's language, N_() one
|
||||
// with a plural, L_() a line of the service log (written in English, translated where it is shown).
|
||||
//
|
||||
// The Go code asks the catalog by these very words (i18n.Catalog.T, N). A sentence the backend says that is
|
||||
// not listed here has no translation: when you add or change one in backend/, add or change it here, then
|
||||
// run "npm run i18n" in web/ and translate it (rules/i18n.md). Nothing runs this file.
|
||||
function messages() {
|
||||
L_("%d system package");
|
||||
L_("%d system packages");
|
||||
L_("%s (after %d repair)");
|
||||
L_("%s (after %d repairs)");
|
||||
L_("%s - %d repairs didn't help");
|
||||
L_("%s - %s");
|
||||
L_("%s - not repaired again (%d repairs didn't help)");
|
||||
L_("%s has no IPv4 address.");
|
||||
L_("%s is not a bridge, so Dawnline cannot join the LAN as a device.");
|
||||
L_("%s needs a manual switch in Components");
|
||||
L_("%s still give devices the old address: set the public address in the server settings (a DDNS name keeps working), then devices need new configurations.");
|
||||
L_("%s still gives devices the old address: set the public address in the server settings (a DDNS name keeps working), then devices need new configurations.");
|
||||
L_("%s · restored");
|
||||
L_("Access rules");
|
||||
L_("Activity");
|
||||
L_("AmneziaWG is missing from the router");
|
||||
L_("AmneziaWG is running again · accepting connections on port %d");
|
||||
L_("AmneziaWG is running again");
|
||||
L_("AmneziaWG isn't accepting connections on port %d");
|
||||
L_("AmneziaWG isn't running");
|
||||
L_("Backup");
|
||||
L_("Browsers will refuse the portal after that. Renew it with ACME, or choose another certificate in Settings.");
|
||||
L_("Changed: %s.");
|
||||
L_("Choose a disguise in Settings → Disguise: it replaces the values set by hand.");
|
||||
L_("Choose another interface name in the server settings.");
|
||||
L_("Components");
|
||||
L_("Connections");
|
||||
L_("DNS for Home-only devices");
|
||||
L_("Dawnline didn't stop it: the router's network restarted, someone stopped it by hand, or it failed.");
|
||||
L_("Firewall");
|
||||
L_("Install it in Dawnline → Components.");
|
||||
L_("Install that AmneziaWG build in Settings → Updates, or switch the disguise in Settings → Disguise.");
|
||||
L_("Internet like a home device");
|
||||
L_("MTU is now automatic");
|
||||
L_("Missing: %s.");
|
||||
L_("No LAN detected.");
|
||||
L_("No free address on %s.");
|
||||
L_("No free link-local range for the internal link.");
|
||||
L_("No free routing table.");
|
||||
L_("People");
|
||||
L_("Personal links");
|
||||
L_("Personal portal");
|
||||
L_("Router");
|
||||
L_("Servers");
|
||||
L_("Speed");
|
||||
L_("System packages");
|
||||
L_("The new version did not answer in LuCI or its agent did not start. Try again from Components, or install it with install.sh to see why.");
|
||||
L_("Traffic");
|
||||
L_("Watchdog");
|
||||
L_("Without kmod-nft-offload every packet on this path passes the firewall twice. Install it and restart Dawnline.");
|
||||
L_("a new build needs a manual switch in Components");
|
||||
L_("answers again");
|
||||
L_("are loaded again");
|
||||
L_("are missing");
|
||||
L_("automatic update failed");
|
||||
L_("background check failed: %s");
|
||||
L_("can't reach Dawnline (luci.dawnline is missing in rpcd)");
|
||||
L_("can't use the network interface %s: it exists and isn't Dawnline's");
|
||||
L_("certificate expires %s");
|
||||
L_("certificate expires within 7 days");
|
||||
L_("certificate renewed · valid until %s");
|
||||
L_("couldn't be repaired: %s");
|
||||
L_("couldn't be updated - the previous rules stay, and changes to access wait until they load");
|
||||
L_("couldn't load - no device is loaded into the tunnels until they do");
|
||||
L_("couldn't load devices into the tunnel");
|
||||
L_("couldn't start · %d failed attempts in %d min");
|
||||
L_("couldn't start");
|
||||
L_("failed - internet goes out directly for now");
|
||||
L_("failed: %s");
|
||||
L_("has an invalid interface name \"%s\"");
|
||||
L_("installed the %s build · %s");
|
||||
L_("installed the %s build");
|
||||
L_("interface %s has Dawnline's settings again");
|
||||
L_("interface %s was changed outside Dawnline");
|
||||
L_("is kept down");
|
||||
L_("is kept down: its disguise has values AmneziaWG cannot take");
|
||||
L_("is kept down: its disguise needs AmneziaWG %s (installed: %s)");
|
||||
L_("is kept down: its disguise needs AmneziaWG %s (installed: none)");
|
||||
L_("is off");
|
||||
L_("is on · traffic enters %s as %s");
|
||||
L_("is ready again");
|
||||
L_("isn't answering on port %d");
|
||||
L_("isn't installed: no tunnel can run - install it in Dawnline → Components");
|
||||
L_("isn't installed: tunnels were left as they are");
|
||||
L_("isn't known to the network service - restart the network or reboot");
|
||||
L_("isn't running on this router (fw4): tunnels and the portal are closed");
|
||||
L_("isn't running");
|
||||
L_("kernel module isn't installed: no tunnel can run - install it in Dawnline → Components");
|
||||
L_("kernel module isn't loaded");
|
||||
L_("loading it");
|
||||
L_("loading them again");
|
||||
L_("moved to word codes");
|
||||
L_("netifd reads its protocol handlers when it starts; it was running before AmneziaWG was installed.");
|
||||
L_("network changed - Dawnline set itself up again");
|
||||
L_("nightly backup failed: %s");
|
||||
L_("public address changed · %s → %s");
|
||||
L_("reaches Dawnline again");
|
||||
L_("reloading rpcd");
|
||||
L_("restarted · version %s");
|
||||
L_("restarting for the AmneziaWG update");
|
||||
L_("restarting it");
|
||||
L_("restoring them");
|
||||
L_("rules for Dawnline are in place again");
|
||||
L_("rules for Dawnline aren't loaded");
|
||||
L_("rules for Dawnline were changed or removed");
|
||||
L_("runs again");
|
||||
L_("runs without its fast path");
|
||||
L_("setting it up again");
|
||||
L_("started with the router · version %s");
|
||||
L_("started · accepting connections on port %s");
|
||||
L_("started · version %s");
|
||||
L_("started");
|
||||
L_("stopped unexpectedly - started again");
|
||||
L_("stopped unexpectedly");
|
||||
L_("update failed");
|
||||
L_("update to %s failed its check - rolled back to %s");
|
||||
L_("updated automatically · %s → %s");
|
||||
L_("updated automatically · %s");
|
||||
L_("updated · %s → %s");
|
||||
L_("updated · %s");
|
||||
L_("updates available · %s");
|
||||
L_("was broken - set up again (%s as %s)");
|
||||
L_("Routes");
|
||||
L_("couldn't set a route to a network behind a router");
|
||||
N_(0, "%d device is loaded in the tunnel.", "%d devices are loaded in the tunnel.");
|
||||
N_(0, "%d of %d device missing, %d loaded that should not be.", "%d of %d devices missing, %d loaded that should not be.");
|
||||
N_(0, "%d of %d device missing.", "%d of %d devices missing.");
|
||||
N_(0, "%d package update in the feeds: %s", "%d package updates in the feeds: %s");
|
||||
N_(0, "%s AAAA → %s is not a public address of this router: devices that prefer IPv6 will fail to connect. Fix or remove this AAAA record.", "%s AAAA → %s are not public addresses of this router: devices that prefer IPv6 will fail to connect. Fix or remove these AAAA records.");
|
||||
N_(0, "%s AAAA → %s, but this router has no public IPv6 address: devices that prefer IPv6 will fail to connect. Remove this AAAA record or set up IPv6 on the router.", "%s AAAA → %s, but this router has no public IPv6 address: devices that prefer IPv6 will fail to connect. Remove these AAAA records or set up IPv6 on the router.");
|
||||
N_(0, "%s already has %d device. Remove one first to lower the limit to %d.", "%s already has %d devices. Remove one first to lower the limit to %d.");
|
||||
N_(0, "%s is missing.", "%s are missing.");
|
||||
N_(0, "%s → %s: IPv6 only, and not a public address of this router: no device can connect. Check your DNS / DDNS.", "%s → %s: IPv6 only, and not public addresses of this router: no device can connect. Check your DNS / DDNS.");
|
||||
N_(0, "Reloading the kernel module (%d tunnel restarts)", "Reloading the kernel module (%d tunnels restart)");
|
||||
_("%d MB free on the overlay");
|
||||
_("%d MB free on the overlay.");
|
||||
_("%s MB free: settings may stop saving. Remove old backups (Settings → Backups) or shorten the history.");
|
||||
_("%s already exists.");
|
||||
_("%s and %s are not in one circle");
|
||||
_("%s and %s overlap: each packet type needs values of its own.");
|
||||
_("%s can't be reached: %s");
|
||||
_("%s can't be reached: it is turned off");
|
||||
_("%s can't be reached: their access has ended");
|
||||
_("%s can't be reached: their server is turned off");
|
||||
_("%s can't be reached: they are paused");
|
||||
_("%s can't be reached: they have no server");
|
||||
_("%s can't be reached: they used up their data");
|
||||
_("%s can't connect: %s");
|
||||
_("%s can't connect: their access has ended");
|
||||
_("%s can't connect: their server is turned off");
|
||||
_("%s can't connect: they are paused");
|
||||
_("%s can't connect: they have no server");
|
||||
_("%s can't connect: they used up their data");
|
||||
_("%s can't use the network interface %s: it exists and isn't Dawnline's.");
|
||||
_("%s cannot be changed for several people at once.");
|
||||
_("%s covers %s and is valid for more than 14 days.");
|
||||
_("%s does not cover %s (it has %s): browsers will warn.");
|
||||
_("%s does not exist.");
|
||||
_("%s does not overlap other networks.");
|
||||
_("%s does not resolve.");
|
||||
_("%s doesn't reach %s");
|
||||
_("%s expires within 14 days.");
|
||||
_("%s goes through Cloudflare; in Russia such connections often stall after ~16 KB.");
|
||||
_("%s has Home and Internet");
|
||||
_("%s has Home only");
|
||||
_("%s has Home only: only DNS and the portal on the router.");
|
||||
_("%s has Home only: their device's own internet reaches it, not the tunnel.");
|
||||
_("%s has Internet only");
|
||||
_("%s has Internet only.");
|
||||
_("%s has Internet only: only DNS and the portal on the router.");
|
||||
_("%s has a tag that is not closed with >.");
|
||||
_("%s has an invalid interface name \"%s\".");
|
||||
_("%s has never connected");
|
||||
_("%s has no IPv4 address.");
|
||||
_("%s has no room for every device on %s.");
|
||||
_("%s has no server");
|
||||
_("%s has only some home services");
|
||||
_("%s is %s, one of %s's home services");
|
||||
_("%s is 0 or 1.");
|
||||
_("%s is active");
|
||||
_("%s is at home (%s)");
|
||||
_("%s is connected");
|
||||
_("%s is down.");
|
||||
_("%s is down: %s.");
|
||||
_("%s is in %s, which %s doesn't reach");
|
||||
_("%s is in home network %s");
|
||||
_("%s is in the list twice.");
|
||||
_("%s is kept down.");
|
||||
_("%s is kept down: its disguise has values AmneziaWG cannot take. %s");
|
||||
_("%s is kept down: its disguise needs AmneziaWG %s (installed: %s).");
|
||||
_("%s is kept down: its disguise needs AmneziaWG %s (installed: none).");
|
||||
_("%s is not a bridge, so Dawnline cannot join the LAN as a device.");
|
||||
_("%s is not a common home subnet: the networks people connect from rarely use the same addresses.");
|
||||
_("%s is not a package Dawnline manages");
|
||||
_("%s is not an IP address.");
|
||||
_("%s is not in a firewall zone, so the server port cannot be opened on it.");
|
||||
_("%s is not one of %s's home services");
|
||||
_("%s is not one of Dawnline's tunnels.");
|
||||
_("%s is on another server");
|
||||
_("%s is on the internet");
|
||||
_("%s is one of the most common home subnets. On a network with the same addresses, people with home access reach your home instead of their own: their printer or TV there is out of reach while connected, with LAN Bypass too. A rarer subnet for your home network avoids it, for example 10.37.12.0/24.");
|
||||
_("%s is part of %s; choose %s instead.");
|
||||
_("%s is the WAN.");
|
||||
_("%s is this router on a network %s doesn't reach");
|
||||
_("%s is this router");
|
||||
_("%s is this router: DNS is open to everyone");
|
||||
_("%s is this router: the personal portal is open to everyone");
|
||||
_("%s is turned off");
|
||||
_("%s is up, listening on UDP %d.");
|
||||
_("%s isn't connected right now");
|
||||
_("%s isn't in %s's home network");
|
||||
_("%s may not contain # or a line break.");
|
||||
_("%s must be a number or a range like 10-100, up to 65535.");
|
||||
_("%s must be a number or a range like 100-200, up to 4294967295.");
|
||||
_("%s must be a number or a range like 5-15, from 1 to 65535.");
|
||||
_("%s must be a value, not a list.");
|
||||
_("%s must be a whole number from 0 to 65535.");
|
||||
_("%s must be at least 12 with header protection.");
|
||||
_("%s must be from %d to %d.");
|
||||
_("%s must be on or off.");
|
||||
_("%s on this router");
|
||||
_("%s overlaps %s.");
|
||||
_("%s points at %s, not this router (%s).");
|
||||
_("%s points at %s, not this router (WAN %s). Check your DNS / DDNS.");
|
||||
_("%s points at this router (%s).");
|
||||
_("%s reaches %s.");
|
||||
_("%s reaches no home network.");
|
||||
_("%s · interface settings");
|
||||
_("%s → %s (Cloudflare). %s reaches the router only if this name is DNS-only there, or use the router's IP.");
|
||||
_("%s → %s (this router).");
|
||||
_("%s → %s: IPv6 only, but this router has no public IPv6 address: no device can connect. Check your DNS / DDNS, or set up IPv6 on the router.");
|
||||
_("%s → %s: IPv6 only, so only devices with IPv6 connect (the router's IPv4 %s has no name).");
|
||||
_("%s → %s: IPv6 only, so only devices with IPv6 connect.");
|
||||
_("%s: <%s> is not a tag AmneziaWG apps accept: use <b 0x…> with an even number of hex digits, <r N>, <rc N> or <rd N> with N from 1 to 1000, or <t>.");
|
||||
_("%s: the device's own network handles it.");
|
||||
_("(%d more)");
|
||||
_("Access must be lan, internet or both.");
|
||||
_("Access rules aren’t loaded");
|
||||
_("Access rules couldn't be updated (%s): the previous rules stay, so this change isn't in effect yet.");
|
||||
_("Access rules couldn't load (%s): no device is loaded into the tunnels until they do.");
|
||||
_("Access rules loaded");
|
||||
_("Access rules");
|
||||
_("Adding devices isn't available right now: the VPN server isn't ready. Ask whoever sent you this link.");
|
||||
_("Address must be an IPv4 address.");
|
||||
_("Agent");
|
||||
_("All ports");
|
||||
_("Allowed: %s");
|
||||
_("AmneziaWG %s: no source publishes this build for this firmware any more");
|
||||
_("AmneziaWG answers may not reach devices");
|
||||
_("AmneziaWG firewall rules are missing");
|
||||
_("AmneziaWG installed");
|
||||
_("AmneziaWG is down");
|
||||
_("AmneziaWG is installed, but its kernel module doesn't load on this firmware");
|
||||
_("AmneziaWG is not installed (%s): install it in Dawnline → Components.");
|
||||
_("AmneziaWG is not installed");
|
||||
_("AmneziaWG is not installed: install it in Dawnline → Components, then choose Balanced.");
|
||||
_("AmneziaWG is not installed: install it in Dawnline → Components, then choose Maximum.");
|
||||
_("AmneziaWG is not installed: install it in Dawnline → Components.");
|
||||
_("AmneziaWG is up to date (%s)");
|
||||
_("AmneziaWG isn’t installed");
|
||||
_("AmneziaWG needs a build for the new firmware");
|
||||
_("AmneziaWG port is taken");
|
||||
_("AmneziaWG subnet overlaps another network");
|
||||
_("AmneziaWG update is available: %s → %s");
|
||||
_("AmneziaWG's kernel module doesn't load on this firmware: reinstall a build for this kernel in Components.");
|
||||
_("AmneziaWG’s kernel module doesn’t load");
|
||||
_("An update is running: wait for it to finish, then remove Dawnline.");
|
||||
_("Another component action is already running");
|
||||
_("Answers from %s are swallowed by a proxy on the router (%s): clients get no reply.");
|
||||
_("Answers from %s go straight out. A proxy on the router diverts its own traffic (%s); these answers skip it.");
|
||||
_("Answers from %s go straight out.");
|
||||
_("Answers reach devices");
|
||||
_("At most %d people at once.");
|
||||
_("Automatic update: %s");
|
||||
_("Background agent isn’t running");
|
||||
_("Background agent running");
|
||||
_("Backing up configuration");
|
||||
_("Backup does not contain /etc/config/dawnline.");
|
||||
_("Backup failed: %s");
|
||||
_("Backup failed: the archive could not be written (is the flash full?)");
|
||||
_("Backup is too large.");
|
||||
_("Backup not found.");
|
||||
_("Balanced needs AmneziaWG 2.0 or newer on the router: install a current build in Dawnline → Components.");
|
||||
_("Both are %s's devices");
|
||||
_("Both are in %s");
|
||||
_("Cannot detect the firmware target");
|
||||
_("Cannot reach github.com/%s");
|
||||
_("Check every 6h, 12h, 1d or 7d.");
|
||||
_("Checking AmneziaWG");
|
||||
_("Checking Dawnline");
|
||||
_("Checking system packages");
|
||||
_("Choose a device on at least one side.");
|
||||
_("Choose a free port between 1 and 65535 (not 22, 53, 80 or 443).");
|
||||
_("Choose a system log level: errors, warnings, normal or verbose.");
|
||||
_("Choose the interface that leads to the internet.");
|
||||
_("Circle %s: server %s does not exist.");
|
||||
_("Clock is set");
|
||||
_("Clock isn’t set");
|
||||
_("Could not find a free id, try again.");
|
||||
_("Couldn't load devices into %s: %s.");
|
||||
_("Couldn't save /etc/config/dawnline: %s. Is the flash full?");
|
||||
_("Couldn't save /etc/config/dawnline: the write failed. Is the flash full?");
|
||||
_("Couldn't write %s. Is the flash full?");
|
||||
_("Counts traffic and enforces end dates and quotas.");
|
||||
_("Cross-site request refused.");
|
||||
_("DNS for Home-only devices isn’t working");
|
||||
_("DNS for Home-only devices");
|
||||
_("Daily traffic history must be 7-1830 days.");
|
||||
_("Data limit must be a positive number of GB.");
|
||||
_("Dawnline is up to date (%s)");
|
||||
_("Dawnline update is available: %s → %s");
|
||||
_("Default device limit must be 1-32.");
|
||||
_("Device %s of %s: MTU %d is not between 1280 and 1500.");
|
||||
_("Device %s of %s: address %s is also used by device %s of %s.");
|
||||
_("Device %s of %s: address %s is not a plain IPv4 address.");
|
||||
_("Device %s of %s: address %s is outside %s's tunnel %s.");
|
||||
_("Device %s of %s: address %s is the router's own address on %s.");
|
||||
_("Device %s of %s: address (none) is not a plain IPv4 address.");
|
||||
_("Device %s of %s: keep-alive %d is not between 0 and 600 seconds.");
|
||||
_("Device %s of %s: the preshared key is not a key.");
|
||||
_("Device %s of %s: the private key is not a key.");
|
||||
_("Device %s of %s: the public key is not a key.");
|
||||
_("Device %s of %s: the public key is the server's own.");
|
||||
_("Device %s: person %s does not exist.");
|
||||
_("Device limit must be between 1 and 32.");
|
||||
_("Device limit reached (%d).");
|
||||
_("Device not found.");
|
||||
_("Devices in one circle reach each other.");
|
||||
_("Devices loaded");
|
||||
_("Devices of different servers never reach each other.");
|
||||
_("Devices reach each other on this server");
|
||||
_("Domain may use lowercase letters, digits, dashes and dots.");
|
||||
_("Download failed: %s");
|
||||
_("Downloading %s from %s");
|
||||
_("Downloading %s");
|
||||
_("Each change needs the id of a person.");
|
||||
_("End date must be YYYY-MM-DD.");
|
||||
_("End dates and quotas use the router clock.");
|
||||
_("Endpoint must be a hostname or IP address.");
|
||||
_("Enter a circle name: up to 32 characters, without < > \" or \\.");
|
||||
_("Enter a device name: up to %d letters, digits, spaces and - _ .");
|
||||
_("Enter a name: up to 48 characters, without < > \" or \\.");
|
||||
_("Enter a time as HH:MM, 00:00 to 23:59.");
|
||||
_("Error: %s");
|
||||
_("Every device has a key and an address of its own inside its server.");
|
||||
_("Extra data must be a positive number of GB.");
|
||||
_("Fallback DNS must be an IPv4 address (or empty for none).");
|
||||
_("File %s does not exist.");
|
||||
_("Finished");
|
||||
_("Firewall rules");
|
||||
_("Firewall zone or WAN rule is missing.");
|
||||
_("Firewall");
|
||||
_("Free space on the router");
|
||||
_("GitHub API rate limit reached: try again in an hour.");
|
||||
_("GitHub did not answer, trying mirrors");
|
||||
_("GitHub: %s");
|
||||
_("HTTPS isn't available on this router: install %s.");
|
||||
_("Home access includes the router.");
|
||||
_("Home access reaches every home network.");
|
||||
_("Home and Internet");
|
||||
_("Home devices reach only people with home access.");
|
||||
_("Home network addresses");
|
||||
_("Home only");
|
||||
_("Home");
|
||||
_("I1-I5 together must be at most 2000 characters, not %d.");
|
||||
_("Install updates immediately or scheduled.");
|
||||
_("Installation failed");
|
||||
_("Installed Dawnline %s is newer than the release %s");
|
||||
_("Installing %s");
|
||||
_("Installing package");
|
||||
_("Installing the %s build");
|
||||
_("Installing the translation");
|
||||
_("Interface name: 1-12 lowercase letters, digits or _.");
|
||||
_("Internet like a home device isn’t working");
|
||||
_("Internet like a home device not bypassed");
|
||||
_("Internet like a home device");
|
||||
_("Internet only");
|
||||
_("Internet traffic leaves through WAN directly.");
|
||||
_("Invalid JSON.");
|
||||
_("Invalid backup name.");
|
||||
_("Invalid option %s.");
|
||||
_("Invalid port %s.");
|
||||
_("Invalid public key.");
|
||||
_("Invalid section %s.");
|
||||
_("Invalid service id.");
|
||||
_("Invalid value for %s.");
|
||||
_("It is in the tunnel network %s.");
|
||||
_("It leaves like a home device would.");
|
||||
_("It leaves through %s.");
|
||||
_("It leaves through the WAN.");
|
||||
_("Its configuration doesn't send it to the router");
|
||||
_("Its configuration sends it to the router");
|
||||
_("Jmin must not be larger than Jmax.");
|
||||
_("Keep activity for 0 (no age limit) to 9999 days.");
|
||||
_("Keep-alive must be 0-600 seconds.");
|
||||
_("Keeping AmneziaWG %s for rollback");
|
||||
_("Keeping Dawnline %s for rollback");
|
||||
_("Kernel module, awg tool and the netifd protocol are present.");
|
||||
_("Key generation failed (is amneziawg-tools installed?).");
|
||||
_("Key generation failed (no random data).");
|
||||
_("Key generation failed.");
|
||||
_("Links on %s use plain HTTP: the link and the VPN keys in configurations travel unencrypted.");
|
||||
_("Links on IP addresses use plain HTTP on the next port (%d), which the portal cannot take. Choose another portal port.");
|
||||
_("Listening on TCP %d.");
|
||||
_("Loading the kernel module");
|
||||
_("Log size must be 100-20000 events.");
|
||||
_("Looking for the %s build for OpenWrt %s");
|
||||
_("LuCI link");
|
||||
_("MTU must be 1280-1500.");
|
||||
_("Maximum needs AmneziaWG 3.1 on the router (kmod-amneziawg, amneziawg-tools 3.1): install a 3.1 build in Dawnline → Components.");
|
||||
_("Method not allowed.");
|
||||
_("Monthly data must be a positive number of GB.");
|
||||
_("Monthly traffic history must be 1-120 months.");
|
||||
_("Needs %s. Internet traffic leaves through WAN directly until then.");
|
||||
_("Network interface %s already exists.");
|
||||
_("Networks a person does not reach cannot reach them either.");
|
||||
_("No %s build for OpenWrt %s in %s, or it could not be verified");
|
||||
_("No AmneziaWG build for OpenWrt %s (%s) yet");
|
||||
_("No AmneziaWG build for OpenWrt %s yet");
|
||||
_("No LAN detected.");
|
||||
_("No device uses %s");
|
||||
_("No free address left on %s.");
|
||||
_("No free address on %s.");
|
||||
_("No free addresses left in the server subnet.");
|
||||
_("No free link-local range for the internal link.");
|
||||
_("No free routing table.");
|
||||
_("No other policy routing ahead of the tunnel rules.");
|
||||
_("No previous AmneziaWG build is kept on the router");
|
||||
_("No previous Dawnline version is kept on the router");
|
||||
_("No public address: devices will not know where to connect.");
|
||||
_("No release %s in %s.");
|
||||
_("No server yet");
|
||||
_("No server yet.");
|
||||
_("Not a Dawnline export.");
|
||||
_("Not a valid backup archive.");
|
||||
_("Not enough free space on the router: %d MB free, about %d MB needed. Remove old backups or packages first");
|
||||
_("Not every device is loaded into AmneziaWG");
|
||||
_("Not found.");
|
||||
_("Not set up.");
|
||||
_("Nothing listens on TCP %d.");
|
||||
_("Nothing to change for %s.");
|
||||
_("Nothing to change.");
|
||||
_("Nothing to install");
|
||||
_("Nothing to save.");
|
||||
_("Older than must be a number of days.");
|
||||
_("On one of the networks %s reaches.");
|
||||
_("One of the networks %s reaches.");
|
||||
_("Only devices of people with home access can be reached.");
|
||||
_("Only home devices reach people's devices.");
|
||||
_("Only people with home access reach other devices.");
|
||||
_("Only the admin can change how a device connects.");
|
||||
_("Only the admin can turn devices off.");
|
||||
_("Open Overview → Health.");
|
||||
_("Open this link over HTTPS to get the connection settings.");
|
||||
_("Other addresses must be hostnames or IP addresses.");
|
||||
_("Other policy routing bypasses the home-device path");
|
||||
_("Package installation failed");
|
||||
_("Paused must be true or false.");
|
||||
_("People and devices are inconsistent");
|
||||
_("People and devices consistent");
|
||||
_("Person %s: circle %s does not exist.");
|
||||
_("Person %s: has the same personal link as %s.");
|
||||
_("Person %s: home service %s does not exist.");
|
||||
_("Person %s: server %s does not exist.");
|
||||
_("Personal portal isn’t working");
|
||||
_("Personal portal");
|
||||
_("Plain HTTP links");
|
||||
_("Plain resolver on port %d.");
|
||||
_("Plain resolver running next to the LAN (%s).");
|
||||
_("Policy routing on the router (%s) sends marked traffic straight out, past the home-device path: tunnel traffic it matches skips your LAN's proxies and filters.");
|
||||
_("Port is free");
|
||||
_("Port must be 1-65535.");
|
||||
_("Portal address doesn’t point here");
|
||||
_("Portal address isn’t set");
|
||||
_("Portal address points here");
|
||||
_("Portal address");
|
||||
_("Portal answers may not reach visitors");
|
||||
_("Portal answers reach visitors");
|
||||
_("Portal certificate needs attention");
|
||||
_("Portal certificate");
|
||||
_("Portal links use plain HTTP");
|
||||
_("Portal port must be 1-65535.");
|
||||
_("Portal");
|
||||
_("Ports %s");
|
||||
_("Private addresses outside the home network are blocked.");
|
||||
_("Public address must be a hostname or IP address.");
|
||||
_("Public address needs attention");
|
||||
_("Public address");
|
||||
_("Redirect must be a full http:// or https:// address.");
|
||||
_("Refreshing package lists");
|
||||
_("RejectAfterTime must be at most 180 seconds.");
|
||||
_("Release %s has no %s: it stays as it is");
|
||||
_("Release %s has no translation into %s: install a release that has one");
|
||||
_("Release %s publishes no checksum for %s: not installing an unverified package");
|
||||
_("Removing the translation");
|
||||
_("Request too large.");
|
||||
_("Resolver");
|
||||
_("Restarting the network so it knows AmneziaWG (connections drop for a few seconds)");
|
||||
_("Restarting with the new settings.");
|
||||
_("Rolling back to %s");
|
||||
_("S2 must not be S1 + 56: the handshake initiation and response would have the same size.");
|
||||
_("Save the log every 10min, hourly or off.");
|
||||
_("Server %d");
|
||||
_("Server %s: %s is one of the router's own network interfaces.");
|
||||
_("Server %s: %s");
|
||||
_("Server %s: UDP %s is also used by %s.");
|
||||
_("Server %s: interface %s is also used by %s.");
|
||||
_("Server ID may use lowercase letters, digits and underscores.");
|
||||
_("Server configured");
|
||||
_("Server is disabled.");
|
||||
_("Server → Access → Home network.");
|
||||
_("Server");
|
||||
_("Server: Enter a name: up to 48 characters, without < > \" or \\.");
|
||||
_("Service: Enter a name: up to 48 characters, without < > \" or \\.");
|
||||
_("Set a server up in Settings.");
|
||||
_("Set the public hostname in Settings so links can be generated.");
|
||||
_("Set up a server first.");
|
||||
_("Setup failed: %s");
|
||||
_("Something went wrong on the router. Try again; if it goes on, look at the Log.");
|
||||
_("Subnet is unique");
|
||||
_("Subnet must look like 10.77.0.0/24.");
|
||||
_("Subnet overlaps %s.");
|
||||
_("Such devices are left out of the tunnels: fix or remove them.");
|
||||
_("System packages are up to date");
|
||||
_("TCP %d is already used by %s. Choose another port in Settings.");
|
||||
_("TCP %d is already used by %s. Choose another portal port.");
|
||||
_("TCP %d is already used by %s. Links on IP addresses use plain HTTP on the port after the portal's. Choose another portal port.");
|
||||
_("TCP %d is sent on by port forward “%s”. Choose another portal port.");
|
||||
_("Table inet dawnline enforces who may reach LAN and the internet.");
|
||||
_("Table inet dawnline is missing: no device is loaded into the tunnels until it is back.");
|
||||
_("That id is taken.");
|
||||
_("That is the same device");
|
||||
_("The AmneziaWG update is installed and starts after a reboot.");
|
||||
_("The AmneziaWG update waits for a reboot");
|
||||
_("The WAN address %s is CGNAT (shared by the ISP): %s cannot be forwarded to this router from outside unless the ISP gives a public address or IPv6.");
|
||||
_("The WAN address %s is private: this router is behind another one. Forward %s on it, or devices cannot connect.");
|
||||
_("The admin has turned this device off.");
|
||||
_("The configuration in this file cannot be read.");
|
||||
_("The devices in AmneziaWG could not be checked");
|
||||
_("The firewall lets it through");
|
||||
_("The firmware changed (kernel %s → %s): the AmneziaWG build installed for it is gone. Install the build for this firmware.");
|
||||
_("The header protection key is not a key.");
|
||||
_("The id may use lowercase letters, digits and underscores.");
|
||||
_("The kept AmneziaWG build was made for another firmware: it would not load on this one");
|
||||
_("The kernel module doesn't load. Reinstall a build for this kernel in Components.");
|
||||
_("The kernel module doesn't load: %s Reinstall a build for this kernel in Components.");
|
||||
_("The link is up but not attached to %s.");
|
||||
_("The main address is an IP: its links use plain HTTP.");
|
||||
_("The network doesn’t know AmneziaWG yet");
|
||||
_("The new AmneziaWG kernel module doesn't load on this firmware: the tunnels stay down until it does (see the log above)");
|
||||
_("The old kernel module stays loaded (another AmneziaWG interface may use it): the AmneziaWG update is installed and starts after a reboot.");
|
||||
_("The person has no server.");
|
||||
_("The resolver is not running; Home-only devices cannot resolve names.");
|
||||
_("The router clock looks wrong; end dates will misbehave. Check NTP.");
|
||||
_("The router is running out of flash");
|
||||
_("The router reaches it only while its VPN is on.");
|
||||
_("The translation could not be removed");
|
||||
_("The tunnel could not be read, so its devices could not be checked.");
|
||||
_("The update stopped unexpectedly.");
|
||||
_("There is no session the router could reach.");
|
||||
_("This configuration can't be used: %s");
|
||||
_("This is a SNAPSHOT firmware: the AmneziaWG projects publish builds for releases only");
|
||||
_("This key is already in use.");
|
||||
_("Too many changes in a short time. Try again in a few minutes.");
|
||||
_("Traffic enters %s as %s, so it is handled like any device on your LAN.");
|
||||
_("Trying mirror %s");
|
||||
_("Tunnel running");
|
||||
_("Turn the device on again on its page.");
|
||||
_("Type \"remove\" to confirm.");
|
||||
_("UDP %d is also used by %s.");
|
||||
_("UDP %d is used by %s. Choose another port.");
|
||||
_("UDP port must be 1-65535.");
|
||||
_("Unexpected entry in backup: %s");
|
||||
_("Unexpected file in backup: %s");
|
||||
_("Unknown AmneziaWG build %s");
|
||||
_("Unknown DNS choice.");
|
||||
_("Unknown action.");
|
||||
_("Unknown category.");
|
||||
_("Unknown choice for devices reaching each other.");
|
||||
_("Unknown circle.");
|
||||
_("Unknown component %s");
|
||||
_("Unknown device type.");
|
||||
_("Unknown device.");
|
||||
_("Unknown disguise method.");
|
||||
_("Unknown fix.");
|
||||
_("Unknown location service.");
|
||||
_("Unknown page.");
|
||||
_("Unknown person.");
|
||||
_("Unknown release.");
|
||||
_("Unknown scope.");
|
||||
_("Unknown server.");
|
||||
_("Unknown service %s.");
|
||||
_("Unknown service.");
|
||||
_("Unknown setting %s.");
|
||||
_("Unknown update target.");
|
||||
_("Update failed");
|
||||
_("Updating %s");
|
||||
_("Updating AmneziaWG");
|
||||
_("Updating Dawnline");
|
||||
_("Updating system packages");
|
||||
_("Upload is empty or too large.");
|
||||
_("Use a private range: 10.x.x.x, 172.16–31.x.x or 192.168.x.x.");
|
||||
_("Using a self-signed certificate: browsers will show a warning. ACME can get a free Let’s Encrypt one.");
|
||||
_("Using a self-signed certificate: browsers will show a warning.");
|
||||
_("Warning: %s sent a file that does not match GitHub's sha256, discarded");
|
||||
_("Warning: could not keep %s: %s");
|
||||
_("Warning: the installed build is no longer published, nothing to keep for rollback");
|
||||
_("Your access has ended.");
|
||||
_("Your access is paused.");
|
||||
_("Zone %s and the WAN rule for UDP %d exist.");
|
||||
_("\"%s\" already exists.");
|
||||
_("\"%s\" is already taken.");
|
||||
_("\"%s\" is not a device or an IPv4 address.");
|
||||
_("\"Devices reach each other\" is off on %s");
|
||||
_("another program on this router");
|
||||
_("apk did not install %s %s (installed: %s)");
|
||||
_("apk did not reinstall the version that is already installed");
|
||||
_("apk doesn't reinstall an installed version. Install a different release, or run install.sh on the router");
|
||||
_("home");
|
||||
_("interface %s");
|
||||
_("netifd doesn't know the amneziawg protocol (AmneziaWG missing, or the network wasn't restarted after installing it).");
|
||||
_("no circle");
|
||||
_("port forward “%s”");
|
||||
_("server “%s”");
|
||||
_("sha256 matches the release (%s…)");
|
||||
_("the router itself");
|
||||
_("Networks %s and %s share addresses.");
|
||||
_("Network %s is not written like 192.168.2.0/24.");
|
||||
_("Network %s is not private (10.x, 172.16-31.x, 192.168.x).");
|
||||
_("Network %s is taken: %s is behind %s (%s). Two sites need different addresses.");
|
||||
_("Network %s is taken: %s is the tunnel network of %s. The two ends of a tunnel need different addresses.");
|
||||
_("Network %s is taken: the router has %s itself. The two ends of a tunnel need different addresses.");
|
||||
_("Network %s is too wide: /%d at the most.");
|
||||
_("A router has %d networks behind it at the most.");
|
||||
_("Couldn't set the routes to the networks behind routers (%s): they aren't reachable yet.");
|
||||
_("Only a router has networks behind it.");
|
||||
_("Network %s is taken on this server. Ask the admin which addresses are free.");
|
||||
_("Network %s is taken: %s is behind your %s. Two sites need different addresses.");
|
||||
_("Add the router as a new device: a device cannot be made one here.");
|
||||
_("The admin adds routers on this server. Ask them for one.");
|
||||
_("This router waits for an answer to its request: it has no configuration yet.");
|
||||
_("This device asks for nothing.");
|
||||
_("Unknown answer.");
|
||||
_("Unknown choice for routers on people's pages.");
|
||||
_("%s is behind %s");
|
||||
_("%s: the tunnel carries this network, and the rules see a host there as they see the router.");
|
||||
_("%s is behind this device");
|
||||
_("A router reaches its own network without the tunnel.");
|
||||
_("Networks behind routers");
|
||||
_("%s behind %s is not a network a router may have behind it.");
|
||||
_("%s behind %s is written twice, or is one more than a router may have.");
|
||||
_("%s behind %s shares addresses with the tunnel network of %s (%s).");
|
||||
_("%s behind %s shares addresses with %s behind %s.");
|
||||
_("%s behind %s shares addresses with %s, which the router has itself.");
|
||||
_("Such a network is not in effect: change it in the server's Network settings.");
|
||||
_("A network behind a router isn’t in effect");
|
||||
_("A route to a network behind a router couldn't be set: %s.");
|
||||
_("A network behind a router has no route");
|
||||
N_(0, "%d network behind routers is carried by the tunnel.", "%d networks behind routers are carried by the tunnel.");
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
// The backend's messages that reach the portal's visitors, for the translations' extractor (web/i18n/extract.ts reads this file as it read
|
||||
// the ucode sources): what the Go backend says to people. _() a sentence in the reader's language, N_() one
|
||||
// with a plural, L_() a line of the service log (written in English, translated where it is shown).
|
||||
//
|
||||
// The Go code asks the catalog by these very words (i18n.Catalog.T, N). A sentence the backend says that is
|
||||
// not listed here has no translation: when you add or change one in backend/, add or change it here, then
|
||||
// run "npm run i18n" in web/ and translate it (rules/i18n.md). Nothing runs this file.
|
||||
function portalMessages() {
|
||||
L_("AmneziaWG is missing from the router");
|
||||
L_("AmneziaWG is running again · accepting connections on port %d");
|
||||
L_("AmneziaWG is running again");
|
||||
L_("AmneziaWG isn't accepting connections on port %d");
|
||||
L_("AmneziaWG isn't running");
|
||||
L_("Choose a disguise in Settings → Disguise: it replaces the values set by hand.");
|
||||
L_("Choose another interface name in the server settings.");
|
||||
L_("Install that AmneziaWG build in Settings → Updates, or switch the disguise in Settings → Disguise.");
|
||||
L_("Missing: %s.");
|
||||
L_("can't use the network interface %s: it exists and isn't Dawnline's");
|
||||
L_("couldn't load devices into the tunnel");
|
||||
L_("has an invalid interface name \"%s\"");
|
||||
L_("is kept down");
|
||||
L_("is kept down: its disguise has values AmneziaWG cannot take");
|
||||
L_("is kept down: its disguise needs AmneziaWG %s (installed: %s)");
|
||||
L_("is kept down: its disguise needs AmneziaWG %s (installed: none)");
|
||||
L_("is ready again");
|
||||
L_("isn't installed: no tunnel can run - install it in Dawnline → Components");
|
||||
L_("isn't known to the network service - restart the network or reboot");
|
||||
L_("kernel module isn't installed: no tunnel can run - install it in Dawnline → Components");
|
||||
L_("kernel module isn't loaded");
|
||||
L_("loading it");
|
||||
L_("netifd reads its protocol handlers when it starts; it was running before AmneziaWG was installed.");
|
||||
L_("restarting it");
|
||||
L_("setting it up again");
|
||||
N_(0, "%s already has %d device. Remove one first to lower the limit to %d.", "%s already has %d devices. Remove one first to lower the limit to %d.");
|
||||
_("%s and %s overlap: each packet type needs values of its own.");
|
||||
_("%s can't use the network interface %s: it exists and isn't Dawnline's.");
|
||||
_("%s cannot be changed for several people at once.");
|
||||
_("%s has a tag that is not closed with >.");
|
||||
_("%s has an invalid interface name \"%s\".");
|
||||
_("%s has no room for every device on %s.");
|
||||
_("%s is in the list twice.");
|
||||
_("%s is kept down.");
|
||||
_("%s is kept down: its disguise has values AmneziaWG cannot take. %s");
|
||||
_("%s is kept down: its disguise needs AmneziaWG %s (installed: %s).");
|
||||
_("%s is kept down: its disguise needs AmneziaWG %s (installed: none).");
|
||||
_("%s may not contain # or a line break.");
|
||||
_("%s must be a number or a range like 10-100, up to 65535.");
|
||||
_("%s must be a number or a range like 100-200, up to 4294967295.");
|
||||
_("%s must be a number or a range like 5-15, from 1 to 65535.");
|
||||
_("%s must be a value, not a list.");
|
||||
_("%s must be a whole number from 0 to 65535.");
|
||||
_("%s must be at least 12 with header protection.");
|
||||
_("%s must be from %d to %d.");
|
||||
_("%s must be on or off.");
|
||||
_("%s: <%s> is not a tag AmneziaWG apps accept: use <b 0x…> with an even number of hex digits, <r N>, <rc N> or <rd N> with N from 1 to 1000, or <t>.");
|
||||
_("Access must be lan, internet or both.");
|
||||
_("Adding devices isn't available right now: the VPN server isn't ready. Ask whoever sent you this link.");
|
||||
_("AmneziaWG is not installed (%s): install it in Dawnline → Components.");
|
||||
_("AmneziaWG is not installed: install it in Dawnline → Components.");
|
||||
_("At most %d people at once.");
|
||||
_("Circle %s: server %s does not exist.");
|
||||
_("Cross-site request refused.");
|
||||
_("Data limit must be a positive number of GB.");
|
||||
_("Device %s of %s: MTU %d is not between 1280 and 1500.");
|
||||
_("Device %s of %s: address %s is also used by device %s of %s.");
|
||||
_("Device %s of %s: address %s is not a plain IPv4 address.");
|
||||
_("Device %s of %s: address %s is outside %s's tunnel %s.");
|
||||
_("Device %s of %s: address %s is the router's own address on %s.");
|
||||
_("Device %s of %s: address (none) is not a plain IPv4 address.");
|
||||
_("Device %s of %s: keep-alive %d is not between 0 and 600 seconds.");
|
||||
_("Device %s of %s: the preshared key is not a key.");
|
||||
_("Device %s of %s: the private key is not a key.");
|
||||
_("Device %s of %s: the public key is not a key.");
|
||||
_("Device %s of %s: the public key is the server's own.");
|
||||
_("Device %s: person %s does not exist.");
|
||||
_("Device limit must be between 1 and 32.");
|
||||
_("Device limit reached (%d).");
|
||||
_("Device not found.");
|
||||
_("Each change needs the id of a person.");
|
||||
_("End date must be YYYY-MM-DD.");
|
||||
_("Endpoint must be a hostname or IP address.");
|
||||
_("Enter a device name: up to %d letters, digits, spaces and - _ .");
|
||||
_("Extra data must be a positive number of GB.");
|
||||
_("I1-I5 together must be at most 2000 characters, not %d.");
|
||||
_("Interface name: 1-12 lowercase letters, digits or _.");
|
||||
_("Invalid JSON.");
|
||||
_("Invalid public key.");
|
||||
_("Jmin must not be larger than Jmax.");
|
||||
_("Keep-alive must be 0-600 seconds.");
|
||||
_("Key generation failed (is amneziawg-tools installed?).");
|
||||
_("Key generation failed (no random data).");
|
||||
_("Key generation failed.");
|
||||
_("MTU must be 1280-1500.");
|
||||
_("Method not allowed.");
|
||||
_("Monthly data must be a positive number of GB.");
|
||||
_("No free address left on %s.");
|
||||
_("No free addresses left in the server subnet.");
|
||||
_("Not found.");
|
||||
_("Nothing to change for %s.");
|
||||
_("Nothing to change.");
|
||||
_("Only the admin can change how a device connects.");
|
||||
_("Only the admin can turn devices off.");
|
||||
_("Open this link over HTTPS to get the connection settings.");
|
||||
_("Paused must be true or false.");
|
||||
_("Person %s: circle %s does not exist.");
|
||||
_("Person %s: has the same personal link as %s.");
|
||||
_("Person %s: home service %s does not exist.");
|
||||
_("Person %s: server %s does not exist.");
|
||||
_("Port must be 1-65535.");
|
||||
_("RejectAfterTime must be at most 180 seconds.");
|
||||
_("Request too large.");
|
||||
_("S2 must not be S1 + 56: the handshake initiation and response would have the same size.");
|
||||
_("Set up a server first.");
|
||||
_("Something went wrong on the router. Try again; if it goes on, look at the Log.");
|
||||
_("Subnet must look like 10.77.0.0/24.");
|
||||
_("Subnet overlaps %s.");
|
||||
_("The admin has turned this device off.");
|
||||
_("The header protection key is not a key.");
|
||||
_("The id may use lowercase letters, digits and underscores.");
|
||||
_("The person has no server.");
|
||||
_("This key is already in use.");
|
||||
_("Too many changes in a short time. Try again in a few minutes.");
|
||||
_("Unknown DNS choice.");
|
||||
_("Unknown action.");
|
||||
_("Unknown circle.");
|
||||
_("Unknown device type.");
|
||||
_("Unknown device.");
|
||||
_("Unknown person.");
|
||||
_("Unknown server.");
|
||||
_("Unknown service %s.");
|
||||
_("Your access has ended.");
|
||||
_("Your access is paused.");
|
||||
_("\"%s\" already exists.");
|
||||
_("\"%s\" is already taken.");
|
||||
_("Networks %s and %s share addresses.");
|
||||
_("Network %s is not written like 192.168.2.0/24.");
|
||||
_("Network %s is not private (10.x, 172.16-31.x, 192.168.x).");
|
||||
_("Network %s is taken on this server. Ask the admin which addresses are free.");
|
||||
_("Network %s is taken: %s is behind your %s. Two sites need different addresses.");
|
||||
_("Network %s is taken: %s is the tunnel network of %s. The two ends of a tunnel need different addresses.");
|
||||
_("Network %s is taken: the router has %s itself. The two ends of a tunnel need different addresses.");
|
||||
_("Network %s is too wide: /%d at the most.");
|
||||
_("A router has %d networks behind it at the most.");
|
||||
_("Add the router as a new device: a device cannot be made one here.");
|
||||
_("Only a router has networks behind it.");
|
||||
_("The admin adds routers on this server. Ask them for one.");
|
||||
_("This router waits for an answer to its request: it has no configuration yet.");
|
||||
}
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Language: de\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
msgid "%s device"
|
||||
msgid_plural "%s devices"
|
||||
msgstr[0] "%s Gerät"
|
||||
msgstr[1] "%s Geräte"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Speichern"
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+51
@@ -0,0 +1,51 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Language: ru\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Сохранить"
|
||||
|
||||
msgctxt "state"
|
||||
msgid "Off"
|
||||
msgstr "Выкл."
|
||||
|
||||
msgid "%s device"
|
||||
msgid_plural "%s devices"
|
||||
msgstr[0] "%s устройство"
|
||||
msgstr[1] "%s устройства"
|
||||
msgstr[2] "%s устройств"
|
||||
|
||||
msgid "%d day"
|
||||
msgid_plural "%d days"
|
||||
msgstr[0] "%d день"
|
||||
msgstr[1] "%d дня"
|
||||
msgstr[2] ""
|
||||
|
||||
msgid "Dawnline"
|
||||
msgstr "Dawnline"
|
||||
|
||||
msgid "Untranslated"
|
||||
msgstr ""
|
||||
|
||||
msgid "Say \"hi\" \\ there"
|
||||
msgstr "Скажи «привет» \\ там"
|
||||
|
||||
msgid "abc"
|
||||
msgstr "abcde"
|
||||
|
||||
msgid "%s is kept down."
|
||||
msgstr "%s не запускается."
|
||||
|
||||
msgid "two spaces inside"
|
||||
msgstr "два пробела внутри"
|
||||
|
||||
msgid " space around "
|
||||
msgstr " пробел вокруг "
|
||||
|
||||
msgid "a line\nbreak"
|
||||
msgstr "перенос\nстроки"
|
||||
|
||||
msgid "No LAN detected."
|
||||
msgstr "Локальная сеть не найдена."
|
||||
Vendored
+1356
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user