Added Sinhalese translations and fixed linter errors

This commit is contained in:
squidfunk 2021-02-14 17:36:39 +01:00
parent 08e8525689
commit 5dc7a79e07
23 changed files with 146 additions and 70 deletions

View File

@ -61,8 +61,9 @@ The following languages are supported:
- `ro` Romanian
- `ru` Russian
- `sh` Serbo-Croatian
- `si` Slovenian
- `si` Sinhalese
- `sk` Slovak
- `sl` Slovenian
- `sr` Serbian
- `sv` Swedish
- `th` Thai

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,16 +1,16 @@
{
"assets/javascripts/bundle.js": "assets/javascripts/bundle.531fa892.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.531fa892.min.js.map",
"assets/javascripts/bundle.js": "assets/javascripts/bundle.fbcb1fc3.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.fbcb1fc3.min.js.map",
"assets/javascripts/vendor.js": "assets/javascripts/vendor.00ecb175.min.js",
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.00ecb175.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.b9424174.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.b9424174.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.f080134c.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.f080134c.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.e70b70b6.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.e70b70b6.min.css.map",
"overrides/assets/javascripts/bundle.js": "overrides/assets/javascripts/bundle.c13533fc.min.js",
"overrides/assets/javascripts/bundle.js.map": "overrides/assets/javascripts/bundle.c13533fc.min.js.map",
"overrides/assets/stylesheets/main.css": "overrides/assets/stylesheets/main.40bc65d6.min.css",
"overrides/assets/stylesheets/main.css.map": "overrides/assets/stylesheets/main.40bc65d6.min.css.map"
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.3f4c5856.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.3f4c5856.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.45122f27.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.45122f27.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.e03a20ad.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.e03a20ad.min.css.map",
"overrides/assets/javascripts/bundle.js": "overrides/assets/javascripts/bundle.759c98a8.min.js",
"overrides/assets/javascripts/bundle.js.map": "overrides/assets/javascripts/bundle.759c98a8.min.js.map",
"overrides/assets/stylesheets/main.css": "overrides/assets/stylesheets/main.c2cc92d1.min.css",
"overrides/assets/stylesheets/main.css.map": "overrides/assets/stylesheets/main.c2cc92d1.min.css.map"
}

View File

@ -39,10 +39,10 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.f080134c.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.45122f27.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e70b70b6.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e03a20ad.min.css' | url }}">
{% if palette.primary %}
{% import "partials/palette.html" as map %}
{% set primary = map.primary(
@ -191,7 +191,7 @@
"base": base_url,
"features": features,
"translations": {},
"search": "assets/javascripts/worker/search.b9424174.min.js" | url,
"search": "assets/javascripts/worker/search.3f4c5856.min.js" | url,
} -%}
{%- set translations = app.translations -%}
{%- for key in [
@ -217,7 +217,7 @@
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/vendor.00ecb175.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.531fa892.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.fbcb1fc3.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}

View File

@ -22,7 +22,7 @@
<meta name="twitter:title" content="{{ title }}">
<meta name="twitter:description" content="{{ config.site_description }}">
<meta name="twitter:image" content="{{ image }}">
<link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.40bc65d6.min.css' | url }}">
<link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.c2cc92d1.min.css' | url }}">
{% endblock %}
{% block announce %}
<a href="https://twitter.com/squidfunk">
@ -53,5 +53,5 @@
{% endblock %}
{% block scripts %}
{{ super() }}
<script src="{{ 'overrides/assets/javascripts/bundle.c13533fc.min.js' | url }}"></script>
<script src="{{ 'overrides/assets/javascripts/bundle.759c98a8.min.js' | url }}"></script>
{% endblock %}

View File

@ -3,20 +3,28 @@
-#}
{% macro t(key) %}{{ {
"language": "si",
"clipboard.copy": "Kopiraj v odložišče",
"clipboard.copied": "Kopirano v odložišče",
"edit.link.title": "Uredi stran",
"footer.previous": "Prejšnja stran",
"footer.next": "Naslednja stran",
"meta.comments": "Komentarji",
"meta.source": "Izvorna koda",
"search.placeholder": "Išči",
"search.result.placeholder": "Vpiši iskalni niz",
"search.result.none": "Ni zadetkov",
"search.result.one": "1 zadetek",
"search.result.other": "# zadetkov",
"skip.link.title": "Skoči na vsebino",
"source.link.title": "Pojdi na repozitorij",
"source.revision.date": "Zadnja posodobitev",
"toc.title": "Kazalo"
"clipboard.copy": "කොපි කරන්න",
"clipboard.copied": "කොපි කළා",
"edit.link.title": "පිටුව සංස්කරණය",
"footer.previous": "පසුගිය",
"footer.next": "මීළඟ",
"footer.title": "පාදම",
"header.title": "ශීර්ෂය",
"meta.comments": "ප්‍රතිචාර",
"meta.source": "මූලාශ්‍රය",
"nav.title": "යාත්‍රණය",
"search.config.pipeline": " ",
"search.placeholder": "සොයන්න",
"search.reset": "මකන්න",
"search.result.placeholder": "සෙවීමට ටයිප් කරන්න",
"search.result.none": "කිසිවක් හමු නොවුණි",
"search.result.one": "1 ගැලපෙන ගොනුවක්",
"search.result.other": "ගැලපෙන ගොනු # ක්",
"search.result.more.one": "තව 1 ප්‍රතිඵලයක්",
"search.result.more.other": "තව ප්‍රතිඵල # ක්",
"skip.link.title": "අන්තර්ගතය වෙත යන්න",
"source.link.title": "රිපොසිටරියට යන්න",
"source.revision.date": "අවසන් යාවත්කාලීන වීම",
"tabs.title": "ටැබ්ස්",
"toc.title": "පටුන"
}[key] }}{% endmacro %}

View File

@ -0,0 +1,22 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "sl",
"clipboard.copy": "Kopiraj v odložišče",
"clipboard.copied": "Kopirano v odložišče",
"edit.link.title": "Uredi stran",
"footer.previous": "Prejšnja stran",
"footer.next": "Naslednja stran",
"meta.comments": "Komentarji",
"meta.source": "Izvorna koda",
"search.placeholder": "Išči",
"search.result.placeholder": "Vpiši iskalni niz",
"search.result.none": "Ni zadetkov",
"search.result.one": "1 zadetek",
"search.result.other": "# zadetkov",
"skip.link.title": "Skoči na vsebino",
"source.link.title": "Pojdi na repozitorij",
"source.revision.date": "Zadnja posodobitev",
"toc.title": "Kazalo"
}[key] }}{% endmacro %}

View File

@ -21,7 +21,6 @@
*/
import {
NEVER,
Observable,
Subject,
animationFrameScheduler,
@ -34,15 +33,12 @@ import {
combineLatestWith,
distinctUntilChanged,
distinctUntilKeyChanged,
endWith,
filter,
finalize,
map,
observeOn,
shareReplay,
startWith,
switchMap,
tap
switchMap
} from "rxjs/operators"
import { feature } from "~/_"

View File

@ -29,7 +29,6 @@ import {
} from "rxjs"
import {
bufferCount,
distinctUntilKeyChanged,
filter,
finalize,
map,

View File

@ -20,23 +20,31 @@
IN THE SOFTWARE.
-->
<!-- Translations: Slovenian -->
<!-- Translations: Sinhalese -->
{% macro t(key) %}{{ {
"language": "si",
"clipboard.copy": "Kopiraj v odložišče",
"clipboard.copied": "Kopirano v odložišče",
"edit.link.title": "Uredi stran",
"footer.previous": "Prejšnja stran",
"footer.next": "Naslednja stran",
"meta.comments": "Komentarji",
"meta.source": "Izvorna koda",
"search.placeholder": "Išči",
"search.result.placeholder": "Vpiši iskalni niz",
"search.result.none": "Ni zadetkov",
"search.result.one": "1 zadetek",
"search.result.other": "# zadetkov",
"skip.link.title": "Skoči na vsebino",
"source.link.title": "Pojdi na repozitorij",
"source.revision.date": "Zadnja posodobitev",
"toc.title": "Kazalo"
"clipboard.copy": "කොපි කරන්න",
"clipboard.copied": "කොපි කළා",
"edit.link.title": "පිටුව සංස්කරණය",
"footer.previous": "පසුගිය",
"footer.next": "මීළඟ",
"footer.title": "පාදම",
"header.title": "ශීර්ෂය",
"meta.comments": "ප්‍රතිචාර",
"meta.source": "මූලාශ්‍රය",
"nav.title": "යාත්‍රණය",
"search.config.pipeline": " ",
"search.placeholder": "සොයන්න",
"search.reset": "මකන්න",
"search.result.placeholder": "සෙවීමට ටයිප් කරන්න",
"search.result.none": "කිසිවක් හමු නොවුණි",
"search.result.one": "1 ගැලපෙන ගොනුවක්",
"search.result.other": "ගැලපෙන ගොනු # ක්",
"search.result.more.one": "තව 1 ප්‍රතිඵලයක්",
"search.result.more.other": "තව ප්‍රතිඵල # ක්",
"skip.link.title": "අන්තර්ගතය වෙත යන්න",
"source.link.title": "රිපොසිටරියට යන්න",
"source.revision.date": "අවසන් යාවත්කාලීන වීම",
"tabs.title": "ටැබ්ස්",
"toc.title": "පටුන"
}[key] }}{% endmacro %}

View File

@ -0,0 +1,42 @@
<!--
Copyright (c) 2016-2021 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->
<!-- Translations: Slovenian -->
{% macro t(key) %}{{ {
"language": "sl",
"clipboard.copy": "Kopiraj v odložišče",
"clipboard.copied": "Kopirano v odložišče",
"edit.link.title": "Uredi stran",
"footer.previous": "Prejšnja stran",
"footer.next": "Naslednja stran",
"meta.comments": "Komentarji",
"meta.source": "Izvorna koda",
"search.placeholder": "Išči",
"search.result.placeholder": "Vpiši iskalni niz",
"search.result.none": "Ni zadetkov",
"search.result.one": "1 zadetek",
"search.result.other": "# zadetkov",
"skip.link.title": "Skoči na vsebino",
"source.link.title": "Pojdi na repozitorij",
"source.revision.date": "Zadnja posodobitev",
"toc.title": "Kazalo"
}[key] }}{% endmacro %}