Skip to content

Commit

Permalink
Sync translations
Browse files Browse the repository at this point in the history
  • Loading branch information
mraron committed Jun 23, 2024
1 parent 53743e8 commit 4f3bd45
Show file tree
Hide file tree
Showing 7 changed files with 781 additions and 468 deletions.
14 changes: 10 additions & 4 deletions internal/web/templates/problem.templ
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,9 @@ templ ProblemRanklist(vm ProblemRanklistViewModel) {
@problemPage("ranklist", nil) {
<div class="container p-0">
<div class="row m-0">
if len(vm.TimeRows)>0 {
<div class="col-md-4">
<h3><i class="bi bi-clock"></i> Leggyorsabb</h3>
<h3><i class="bi bi-clock"></i> {Tr(ctx, "Fastest")}</h3>
<table class="table table-sm table-bordered">
<thead>
<tr>
Expand All @@ -407,8 +408,10 @@ templ ProblemRanklist(vm ProblemRanklistViewModel) {
}
</table>
</div>
}
if len(vm.MemRows)>0 {
<div class="col-md-4">
<h3><i class="bi bi-memory"></i> Legkevesebb memória</h3>
<h3><i class="bi bi-memory"></i> {Tr(ctx, "Least memory")}</h3>
<table class="table table-sm table-bordered">
<thead>
<tr>
Expand All @@ -428,8 +431,10 @@ templ ProblemRanklist(vm ProblemRanklistViewModel) {
}
</table>
</div>
}
if len(vm.SizeRows)>0 {
<div class="col-md-4">
<h3><i class="bi bi-journal-code"></i> Legkisebb</h3>
<h3><i class="bi bi-journal-code"></i> {Tr(ctx, "Smallest")}</h3>
<table class="table table-sm table-bordered">
<thead>
<tr>
Expand All @@ -449,8 +454,9 @@ templ ProblemRanklist(vm ProblemRanklistViewModel) {
}
</table>
</div>
}
<div class="col-12">
<h3><i class="bi bi-list"></i> Eredmények</h3>
<h3><i class="bi bi-list"></i> {Tr(ctx, "Results")}</h3>
<table class="table table-sm table-bordered">
<thead>
<tr>
Expand Down
646 changes: 360 additions & 286 deletions internal/web/templates/problem_templ.go

Large diffs are not rendered by default.

257 changes: 137 additions & 120 deletions internal/web/translations/catalog.go

Large diffs are not rendered by default.

95 changes: 79 additions & 16 deletions internal/web/translations/locales/en-US/messages.gotext.json
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,13 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Close",
"message": "Close",
"translation": "Close",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Information",
"message": "Information",
Expand Down Expand Up @@ -589,6 +596,13 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Author",
"message": "Author",
"translation": "Author",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Submit solution",
"message": "Submit solution",
Expand Down Expand Up @@ -648,6 +662,20 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Edit",
"message": "Edit",
"translation": "Edit",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Fastest",
"message": "Fastest",
"translation": "Fastest",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Name",
"message": "Name",
Expand All @@ -656,9 +684,30 @@
"fuzzy": true
},
{
"id": "Points",
"message": "Points",
"translation": "Points",
"id": "Result",
"message": "Result",
"translation": "Result",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Least memory",
"message": "Least memory",
"translation": "Least memory",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Smallest",
"message": "Smallest",
"translation": "Smallest",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Results",
"message": "Results",
"translation": "Results",
"translatorComment": "Copied from source.",
"fuzzy": true
},
Expand All @@ -684,16 +733,23 @@
"fuzzy": true
},
{
"id": "Filter",
"message": "Filter",
"translation": "Filter",
"id": "Category",
"message": "Category",
"translation": "Category",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Category",
"message": "Category",
"translation": "Category",
"id": "Visible",
"message": "Visible",
"translation": "Visible",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Filter",
"message": "Filter",
"translation": "Filter",
"translatorComment": "Copied from source.",
"fuzzy": true
},
Expand All @@ -711,6 +767,13 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Points",
"message": "Points",
"translation": "Points",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Solved problems",
"message": "Solved problems",
Expand Down Expand Up @@ -931,13 +994,6 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Home",
"message": "Home",
"translation": "Home",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "source",
"message": "source",
Expand All @@ -951,6 +1007,13 @@
"translation": "language",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Home",
"message": "Home",
"translation": "Home",
"translatorComment": "Copied from source.",
"fuzzy": true
}
]
}
95 changes: 79 additions & 16 deletions internal/web/translations/locales/en-US/out.gotext.json
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,13 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Close",
"message": "Close",
"translation": "Close",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Information",
"message": "Information",
Expand Down Expand Up @@ -589,6 +596,13 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Author",
"message": "Author",
"translation": "Author",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Submit solution",
"message": "Submit solution",
Expand Down Expand Up @@ -648,6 +662,20 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Edit",
"message": "Edit",
"translation": "Edit",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Fastest",
"message": "Fastest",
"translation": "Fastest",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Name",
"message": "Name",
Expand All @@ -656,9 +684,30 @@
"fuzzy": true
},
{
"id": "Points",
"message": "Points",
"translation": "Points",
"id": "Result",
"message": "Result",
"translation": "Result",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Least memory",
"message": "Least memory",
"translation": "Least memory",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Smallest",
"message": "Smallest",
"translation": "Smallest",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Results",
"message": "Results",
"translation": "Results",
"translatorComment": "Copied from source.",
"fuzzy": true
},
Expand All @@ -684,16 +733,23 @@
"fuzzy": true
},
{
"id": "Filter",
"message": "Filter",
"translation": "Filter",
"id": "Category",
"message": "Category",
"translation": "Category",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Category",
"message": "Category",
"translation": "Category",
"id": "Visible",
"message": "Visible",
"translation": "Visible",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Filter",
"message": "Filter",
"translation": "Filter",
"translatorComment": "Copied from source.",
"fuzzy": true
},
Expand All @@ -711,6 +767,13 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Points",
"message": "Points",
"translation": "Points",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Solved problems",
"message": "Solved problems",
Expand Down Expand Up @@ -931,13 +994,6 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Home",
"message": "Home",
"translation": "Home",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "source",
"message": "source",
Expand All @@ -951,6 +1007,13 @@
"translation": "language",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Home",
"message": "Home",
"translation": "Home",
"translatorComment": "Copied from source.",
"fuzzy": true
}
]
}
Loading

0 comments on commit 4f3bd45

Please sign in to comment.