Skip to content

Commit

Permalink
FEATURE: add Latvian language
Browse files Browse the repository at this point in the history
  • Loading branch information
nlalonde committed Aug 15, 2017
1 parent b354099 commit 130ae2c
Show file tree
Hide file tree
Showing 11 changed files with 3,553 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/javascripts/locales/lv.js.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//= depend_on 'client.lv.yml'
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:lv) %>
3,332 changes: 3,332 additions & 0 deletions config/locales/client.lv.yml

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions config/locales/server.lv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
lv:
dates:
short_date_no_year: "D MMM"
short_date: "D MMM, YYYY"
long_date: "MMMM D, YYYY hh:mm"
title: "Discourse"
topics: "Tēmas"
posts: "raksti"
loading: "Ielāde"
log_in: "Ienākt"
anonymous: "Anonīmi"
emails:
incoming:
default_subject: "Šim ierakstam ir nepieciešams nosaukums"
embed:
start_discussion: "Sākt Diskusiju"
continue: "Turpināt Diskusiju"
more_replies:
zero: "vel %{count} atbildes"
one: "vel 1 atbilde"
other: "vel %{count} atbildes"
loading: "Diskusijas Ielādēšana..."
in_reply_to: "▶ %{username}"
replies:
zero: "%{count} atbildes"
one: "1 atbilde"
other: "%{count} atbildes"
next_page: "nākošo lapu →"
prev_page: "← iepriekšējo lapu"
page_num: "Lapa %{num}"
num_posts: "Raksti:"
num_participants: "Dalībnieki:"
read_full_topic: "Lasīt pilnu tēmu"
rss_description:
latest: "Jaunākās tēmas"
hot: "Aktuālas tēmas"
groups:
default_names:
everyone: "ikviens"
admins: "administratori"
moderators: "moderatori"
staff: "personāls"
trust_level_0: "trust_level_0"
trust_level_1: "trust_level_1"
trust_level_2: "trust_level_2"
trust_level_3: "trust_level_3"
trust_level_4: "trust_level_4"
education:
until_posts:
zero: "%{count} raksti"
one: "1 raksts"
other: "%{count} raksti"
activerecord:
attributes:
user_profile:
bio_raw: "Par Mani"
staff_category_name: "Personāls"
trust_levels:
newuser:
title: "jauns lietotājs"
post_action_types:
bookmark:
title: 'Grāmatzīmes'
reports:
visits:
xaxis: "Diena"
topics:
title: "Tēmas"
xaxis: "Diena"
likes:
title: "Patīk"
flags:
xaxis: "Diena"
bookmarks:
title: "Grāmatzīmes"
xaxis: "Diena"
starred:
xaxis: "Diena"
emails:
title: "E-pasti Izsūtīti "
user_to_user_private_messages:
xaxis: "Diena"
system_private_messages:
title: "Sistēma"
xaxis: "Diena"
moderator_warning_private_messages:
xaxis: "Diena"
notify_moderators_private_messages:
xaxis: "Diena"
notify_user_private_messages:
xaxis: "Diena"
top_referrers:
xaxis: "Lietotājs"
num_topics: "Tēmas"
top_traffic_sources:
xaxis: "Domēns"
top_referred_topics:
xaxis: "Tēmas"
site_settings:
errors:
invalid_email: "Nepareiza e-pasta adrese."
page_not_found:
popular_topics: "Populāri"
recent_topics: "Neseni"
see_more: "Vairāk"
search_title: "Meklēt šajā vietnē"
search_google: "Google"
terms_of_service:
title: "Pakalpojuma noteikumi"
guidelines: "Vadlīnijas"
guidelines_topic:
title: "BUJ/Vadlīnijas"
tos_topic:
title: "Pakalpojuma noteikumi"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lv: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lv: {}
19 changes: 19 additions & 0 deletions plugins/poll/config/locales/client.lv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
lv:
js:
poll:
public:
title: "Balsojumi ir publiski."
cast-votes:
label: "Balso tagad!"
show-results:
title: "Parādīt aptaujas rezultātus"
label: "Rādīt rezultātus"
hide-results:
title: "Atpakaļ pie balsojumiem"
label: "Paslēpt rezultātus"
open:
title: "Atvērt aptauju"
label: "Atvērt"
close:
title: "Aizvērt aptauju"
label: "Aizvērt"
5 changes: 5 additions & 0 deletions plugins/poll/config/locales/server.lv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lv:
site_settings:
poll_enabled: "Atļaut lietotājiet veidot aptaujas?"
poll:
poll_must_be_open_to_vote: "Aptaujai jābūt atvērtai, lai balsotu."
27 changes: 27 additions & 0 deletions public/403.lv.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<title>Šī darbība nav atļauta (403)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 400%; color: #f00; line-height: 1em; }
</style>
</head>
<body>
<div class="dialog">
<h1>403</h1>
<p>Jūs nevarat apskatīt šo resursu!</p>

<p>Šo aizstās pielāgota Discourse 403 lapa.</p>
</div>
</body>
</html>
26 changes: 26 additions & 0 deletions public/422.lv.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>Jūsu pieprasītās izmaiņas tika noraidītas (422)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
</head>
<body>
<!-- This file lives in public/422.html -->
<div class="dialog">
<h1>Jūsu pieprasītās izmaiņas tika noraidītas.</h1>
<p>Iespējams, jūs vēlējāties izmainīt kaut ko, kam jums nav pieejas.</p>
</div>
</body>
</html>
13 changes: 13 additions & 0 deletions public/500.lv.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Ups - Kļūda 500</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<h1>Ups</h1>
<p>Programmatūra, kura darbina šo diskusiju forumu, saskārās ar negaidītu problēmu. Mēs atvainojamies par neērtībām.</p>
<p>Par šo kļūdu izveidots automātisks ziņojums ar detalizētu informāciju, ko aplūkosim.</p>
<p>Tālāka rīcība nav vajadzīga. Tomēr, ja kļūda atkārtojas, jūs varat sniegt papildus informāciju, ieskaitot kļūdas atkārtošanai nepieciešamās darbības, publicējot jaunu diskusijas tēmu <a href="/category/meta">atsauksmju sadaļā</a>.</p>
</body>
</html>
12 changes: 12 additions & 0 deletions public/503.lv.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Vietnē tiek veikta apkope - Discourse.org</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<h1>Mēs pašlaik neesam pieejami plānotas vietnes apkopes dēļ.</h1>
<p>Lūdzu, pārbaudiet vēlreiz <span id="when-to-check-back">pēc dažām minūtēm</span>.</p>
<p id="apology">Atvainojamies par sagādātajām neērtībām!</p>
</body>
</html>

0 comments on commit 130ae2c

Please sign in to comment.