Skip to content

Commit

Permalink
Update:i18n translation strings for Read more/less advplyr#2914
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed May 3, 2024
1 parent bf3db1d commit 724e06e
Show file tree
Hide file tree
Showing 27 changed files with 55 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/pages/author/_id.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<p v-if="author.description" class="text-white text-opacity-60 uppercase text-xs mb-2">{{ $strings.LabelDescription }}</p>
<p ref="description" id="author-description" class="text-white max-w-3xl text-base whitespace-pre-wrap" :class="{ 'show-full': showFullDescription }">{{ author.description }}</p>
<button v-if="isDescriptionClamped" class="py-0.5 flex items-center text-slate-300 hover:text-white" @click="showFullDescription = !showFullDescription">
{{ showFullDescription ? 'Read less' : 'Read more' }} <span class="material-icons text-xl pl-1">{{ showFullDescription ? 'expand_less' : 'expand_more' }}</span>
{{ showFullDescription ? $strings.ButtonReadLess : $strings.ButtonReadMore }} <span class="material-icons text-xl pl-1">{{ showFullDescription ? 'expand_less' : 'expand_more' }}</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -140,4 +140,4 @@ export default {
-webkit-line-clamp: unset;
max-height: 999rem;
}
</style>
</style>
4 changes: 2 additions & 2 deletions client/pages/item/_id/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
<div class="my-4 w-full">
<p ref="description" id="item-description" dir="auto" class="text-base text-gray-100 whitespace-pre-line mb-1" :class="{ 'show-full': showFullDescription }">{{ description }}</p>
<button v-if="isDescriptionClamped" class="py-0.5 flex items-center text-slate-300 hover:text-white" @click="showFullDescription = !showFullDescription">
{{ showFullDescription ? 'Read less' : 'Read more' }} <span class="material-icons text-xl pl-1">{{ showFullDescription ? 'expand_less' : 'expand_more' }}</span>
{{ showFullDescription ? $strings.ButtonReadLess : $strings.ButtonReadMore }} <span class="material-icons text-xl pl-1">{{ showFullDescription ? 'expand_less' : 'expand_more' }}</span>
</button>
</div>

Expand Down Expand Up @@ -807,4 +807,4 @@ export default {
-webkit-line-clamp: unset;
max-height: 999rem;
}
</style>
</style>
2 changes: 2 additions & 0 deletions client/strings/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "সারি থেকে মুছে ফেলুন",
"ButtonQuickMatch": "দ্রুত ম্যাচ",
"ButtonRead": "পড়ুন",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "রিফ্রেশ",
"ButtonRemove": "মুছে ফেলুন",
"ButtonRemoveAll": "সব মুছে ফেলুন",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Odstranit z fronty",
"ButtonQuickMatch": "Rychlé přiřazení",
"ButtonRead": "Číst",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Odstranit",
"ButtonRemoveAll": "Odstranit vše",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Fjern fra kø",
"ButtonQuickMatch": "Hurtig Match",
"ButtonRead": "Læs",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Fjern",
"ButtonRemoveAll": "Fjern Alle",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Aus der Warteschlange entfernen",
"ButtonQuickMatch": "Schnellabgleich",
"ButtonRead": "Lesen",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Neu Laden",
"ButtonRemove": "Löschen",
"ButtonRemoveAll": "Alles löschen",
Expand Down
4 changes: 3 additions & 1 deletion client/strings/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Remove from queue",
"ButtonQuickMatch": "Quick Match",
"ButtonRead": "Read",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Remove",
"ButtonRemoveAll": "Remove All",
Expand Down Expand Up @@ -779,4 +781,4 @@
"ToastSocketFailedToConnect": "Socket failed to connect",
"ToastUserDeleteFailed": "Failed to delete user",
"ToastUserDeleteSuccess": "User deleted"
}
}
2 changes: 2 additions & 0 deletions client/strings/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Remover de la Fila",
"ButtonQuickMatch": "Encontrar Rápido",
"ButtonRead": "Leer",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Remover",
"ButtonRemoveAll": "Remover Todos",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/et.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Eemalda järjekorrast",
"ButtonQuickMatch": "Kiire sobitamine",
"ButtonRead": "Loe",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Eemalda",
"ButtonRemoveAll": "Eemalda kõik",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Supprimer de la liste de lecture",
"ButtonQuickMatch": "Recherche rapide",
"ButtonRead": "Lire",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Rafraîchir",
"ButtonRemove": "Supprimer",
"ButtonRemoveAll": "Supprimer tout",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/gu.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "કતારથી કાઢી નાખો",
"ButtonQuickMatch": "ઝડપી મેળ ખવડાવો",
"ButtonRead": "વાંચો",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "કાઢી નાખો",
"ButtonRemoveAll": "બધું કાઢી નાખો",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "הסר מהתור",
"ButtonQuickMatch": "התאמה מהירה",
"ButtonRead": "קרא",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "רענן",
"ButtonRemove": "הסר",
"ButtonRemoveAll": "הסר הכל",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "कतार से हटाएं",
"ButtonQuickMatch": "जल्दी से समानता की तलाश करें",
"ButtonRead": "पढ़ लिया",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "हटाएं",
"ButtonRemoveAll": "सभी हटाएं",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Remove from queue",
"ButtonQuickMatch": "Brzi match",
"ButtonRead": "Pročitaj",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Ukloni",
"ButtonRemoveAll": "Ukloni sve",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Eltávolítás a sorból",
"ButtonQuickMatch": "Gyors egyeztetés",
"ButtonRead": "Olvasás",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Eltávolítás",
"ButtonRemoveAll": "Összes eltávolítása",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Rimuovi dalla Coda",
"ButtonQuickMatch": "Controlla Metadata Auto",
"ButtonRead": "Leggi",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Rimuovi",
"ButtonRemoveAll": "Rimuovi Tutto",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/lt.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Pašalinti iš eilės",
"ButtonQuickMatch": "Greitas pritaikymas",
"ButtonRead": "Skaityti",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Pašalinti",
"ButtonRemoveAll": "Pašalinti viską",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Uit wachtrij verwijderen",
"ButtonQuickMatch": "Snelle match",
"ButtonRead": "Lees",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Verwijder",
"ButtonRemoveAll": "Alles verwijderen",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Fjern fra kø",
"ButtonQuickMatch": "Kjapt søk",
"ButtonRead": "Les",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Fjern",
"ButtonRemoveAll": "Fjern alle",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Usuń z kolejki",
"ButtonQuickMatch": "Szybkie dopasowanie",
"ButtonRead": "Czytaj",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Usuń",
"ButtonRemoveAll": "Usuń wszystko",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Remover da Lista",
"ButtonQuickMatch": "Consulta rápida",
"ButtonRead": "Ler",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Atualizar",
"ButtonRemove": "Remover",
"ButtonRemoveAll": "Remover Todos",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Удалить из очереди",
"ButtonQuickMatch": "Быстрый поиск",
"ButtonRead": "Читать",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Удалить",
"ButtonRemoveAll": "Удалить всё",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Ta bort från kön",
"ButtonQuickMatch": "Snabb matchning",
"ButtonRead": "Läs",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Refresh",
"ButtonRemove": "Ta bort",
"ButtonRemoveAll": "Ta bort alla",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Вилучити з черги",
"ButtonQuickMatch": "Швидкий пошук",
"ButtonRead": "Читати",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Оновити",
"ButtonRemove": "Видалити",
"ButtonRemoveAll": "Видалити все",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/vi-vn.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "Xóa khỏi hàng đợi",
"ButtonQuickMatch": "Khớp Nhanh",
"ButtonRead": "Đọc",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "Làm Mới",
"ButtonRemove": "Xóa",
"ButtonRemoveAll": "Xóa Tất Cả",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "从队列中移除",
"ButtonQuickMatch": "快速匹配",
"ButtonRead": "读取",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "刷新",
"ButtonRemove": "移除",
"ButtonRemoveAll": "移除所有",
Expand Down
2 changes: 2 additions & 0 deletions client/strings/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"ButtonQueueRemoveItem": "從佇列中移除",
"ButtonQuickMatch": "快速匹配",
"ButtonRead": "讀取",
"ButtonReadLess": "Read less",
"ButtonReadMore": "Read more",
"ButtonRefresh": "重整",
"ButtonRemove": "移除",
"ButtonRemoveAll": "移除所有",
Expand Down

0 comments on commit 724e06e

Please sign in to comment.