-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: refactor and simplify message formatting code
- Loading branch information
k.mesniankin
committed
Oct 2, 2024
1 parent
bb56e85
commit b1a1eb8
Showing
29 changed files
with
753 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
search-torrents-empty = لا توجد نتائج | ||
search-torrents-result-download = تحميل: {$link} | ||
search-torrents-unknown-error = حدث خطأ أثناء البحث | ||
torrent-message-seeds-peers = البذور: {$seeds}, الأقران: {$peers} | ||
torrent-message-speed = السرعة: {$speed}s | ||
torrent-message-eta = الوقت المتبقي: {$eta} | ||
torrent-message-progress = التقدم: {$progress} | ||
torrent-message-remove = إزالة: {$link} | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
تحميل: {$download} | ||
search-empty-results = لا توجد نتائج | ||
search-unknown-error = حدث خطأ أثناء البحث | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
البذور: {$seeds} ({$maxSeeds}), القرناء: {$peers} ({$maxPeers}) | ||
السرعة: {$speed} | ||
الوقت المتوقع: {$eta} | ||
التقدم: {$progress} | ||
--- | ||
إزالة: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
التقدم: {$progress} | ||
--- | ||
إزالة: {$remove} | ||
torrent-unsupported-tracker-error = المتتبع غير مدعوم | ||
torrent-download-error = حدث خطأ أثناء إضافة التورنت | ||
torrent-remove-error = حدث خطأ أثناء إزالة التورنت |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
ডাউনলোড: {$download} | ||
search-empty-results = কোন ফলাফল নেই | ||
search-unknown-error = অনুসন্ধানের সময় একটি ত্রুটি ঘটেছে | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
বীজ: {$seeds} ({$maxSeeds}), সহকর্মী: {$peers} ({$maxPeers}) | ||
গতি: {$speed} | ||
ইটিএ: {$eta} | ||
অগ্রগতি: {$progress} | ||
--- | ||
সরান: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
অগ্রগতি: {$progress} | ||
--- | ||
সরান: {$remove} | ||
torrent-unsupported-tracker-error = ট্র্যাকার সমর্থিত নয় | ||
torrent-download-error = টরেন্ট যোগ করার সময় একটি ত্রুটি ঘটেছে | ||
torrent-remove-error = টরেন্ট সরানোর সময় একটি ত্রুটি ঘটেছে |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
Stáhnout: {$download} | ||
search-empty-results = Žádné výsledky | ||
search-unknown-error = Během hledání došlo k chybě | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
Zdroje: {$seeds} ({$maxSeeds}), Peery: {$peers} ({$maxPeers}) | ||
Rychlost: {$speed} | ||
ETA: {$eta} | ||
Pokrok: {$progress} | ||
--- | ||
Odstranit: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
Pokrok: {$progress} | ||
--- | ||
Odstranit: {$remove} | ||
torrent-unsupported-tracker-error = Tracker není podporován | ||
torrent-download-error = Při přidávání torrentu došlo k chybě | ||
torrent-remove-error = Při odstraňování torrentu došlo k chybě |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
search-torrents-empty = Keine Ergebnisse | ||
search-torrents-result-download = Herunterladen: {$link} | ||
search-torrents-unknown-error = Beim Suchen ist ein Fehler aufgetreten | ||
torrent-message-seeds-peers = Seeds: {$seeds}, Peers: {$peers} | ||
torrent-message-speed = Geschwindigkeit: {$speed}\/s | ||
torrent-message-eta = Verbleibende Zeit: {$eta} | ||
torrent-message-progress = Fortschritt: {$progress} | ||
torrent-message-remove = Entfernen: {$link} | ||
torrent-unsupported-tracker-error = Tracker wird nicht unterstützt | ||
torrent-download-error = Beim Hinzufügen des Torrents ist ein Fehler aufgetreten | ||
torrent-remove-error = Beim Entfernen des Torrents ist ein Fehler aufgetreten | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
Herunterladen: {$download} | ||
search-empty-results = Keine Ergebnisse | ||
search-unknown-error = Bei der Suche ist ein Fehler aufgetreten | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
Seeds: {$seeds} ({$maxSeeds}), Peers: {$peers} ({$maxPeers}) | ||
Geschwindigkeit: {$speed} | ||
ETA: {$eta} | ||
Fortschritt: {$progress} | ||
--- | ||
Entfernen: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
Fortschritt: {$progress} | ||
--- | ||
Entfernen: {$remove} | ||
torrent-unsupported-tracker-error = Tracker nicht unterstützt | ||
torrent-download-error = Fehler beim Hinzufügen des Torrents | ||
torrent-remove-error = Fehler beim Entfernen des Torrents |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
search-torrents-empty = Δεν υπάρχουν αποτελέσματα | ||
search-torrents-result-download = Λήψη: {$link} | ||
search-torrents-unknown-error = Παρουσιάστηκε σφάλμα κατά την αναζήτηση | ||
torrent-message-seeds-peers = Seeds: {$seeds}, Peers: {$peers} | ||
torrent-message-speed = Ταχύτητα: {$speed}s | ||
torrent-message-eta = Υπολειπόμενος χρόνος: {$eta} | ||
torrent-message-progress = Πρόοδος: {$progress} | ||
torrent-message-remove = Αφαίρεση: {$link} | ||
torrent-unsupported-tracker-error = Ο tracker δεν υποστηρίζεται | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
Λήψη: {$download} | ||
search-empty-results = Δεν υπάρχουν αποτελέσματα | ||
search-unknown-error = Παρουσιάστηκε σφάλμα κατά την αναζήτηση | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
Σπόροι: {$seeds} ({$maxSeeds}), Ομότιμοι: {$peers} ({$maxPeers}) | ||
Ταχύτητα: {$speed} | ||
ETA: {$eta} | ||
Πρόοδος: {$progress} | ||
--- | ||
Κατάργηση: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
Πρόοδος: {$progress} | ||
--- | ||
Κατάργηση: {$remove} | ||
torrent-unsupported-tracker-error = Ο ιχνηλάτης δεν υποστηρίζεται | ||
torrent-download-error = Παρουσιάστηκε σφάλμα κατά την προσθήκη του torrent | ||
torrent-remove-error = Παρουσιάστηκε σφάλμα κατά την αφαίρεση του torrent | ||
torrent-remove-error = Παρουσιάστηκε σφάλμα κατά την κατάργηση του torrent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
search-torrents-empty = No results | ||
search-torrents-result-download = Download: {$link} | ||
search-torrents-unknown-error = An error occurred during the search | ||
torrent-message-seeds-peers = Seeds: {$seeds}, Peers: {$peers} | ||
torrent-message-speed = Speed: {$speed}s | ||
torrent-message-eta = ETA: {$eta} | ||
torrent-message-progress = Progress: {$progress} | ||
torrent-message-remove = Remove: {$link} | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
Download: {$download} | ||
search-empty-results = No results | ||
search-unknown-error = An error occurred during the search | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
Seeds: {$seeds} ({$maxSeeds}), Peers: {$peers} ({$maxPeers}) | ||
Speed: {$speed} | ||
ETA: {$eta} | ||
Progress: {$progress} | ||
--- | ||
Remove: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
Progress: {$progress} | ||
--- | ||
Remove: {$remove} | ||
torrent-unsupported-tracker-error = Tracker not supported | ||
torrent-download-error = An error occurred while adding the torrent | ||
torrent-remove-error = An error occurred while removing the torrent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
search-torrents-empty = No hay resultados | ||
search-torrents-result-download = Descargar: {$link} | ||
search-torrents-unknown-error = Se produjo un error durante la búsqueda | ||
torrent-message-seeds-peers = Seeds: {$seeds}, Peers: {$peers} | ||
torrent-message-speed = Velocidad: {$speed}s | ||
torrent-message-eta = Tiempo restante: {$eta} | ||
torrent-message-progress = Progreso: {$progress} | ||
torrent-message-remove = Eliminar: {$link} | ||
torrent-unsupported-tracker-error = El tracker no es compatible | ||
torrent-download-error = Se produjo un error al agregar el torrent | ||
torrent-remove-error = Se produjo un error al eliminar el torrent | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
Descargar: {$download} | ||
search-empty-results = No hay resultados | ||
search-unknown-error = Ocurrió un error durante la búsqueda | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
Semillas: {$seeds} ({$maxSeeds}), Pares: {$peers} ({$maxPeers}) | ||
Velocidad: {$speed} | ||
ETA: {$eta} | ||
Progreso: {$progress} | ||
--- | ||
Eliminar: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
Progreso: {$progress} | ||
--- | ||
Eliminar: {$remove} | ||
torrent-unsupported-tracker-error = Rastreador no soportado | ||
torrent-download-error = Ocurrió un error al agregar el torrent | ||
torrent-remove-error = Ocurrió un error al eliminar el torrent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
search-torrents-empty = Aucun résultat | ||
search-torrents-result-download = Télécharger: {$link} | ||
search-torrents-unknown-error = Une erreur s'est produite lors de la recherche | ||
torrent-message-seeds-peers = Seeds: {$seeds}, Peers: {$peers} | ||
torrent-message-speed = Vitesse: {$speed}s | ||
torrent-message-eta = Temps restant: {$eta} | ||
torrent-message-progress = Progression: {$progress} | ||
torrent-message-remove = Supprimer: {$link} | ||
torrent-unsupported-tracker-error = Tracker non supporté | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
Télécharger: {$download} | ||
search-empty-results = Aucun résultat | ||
search-unknown-error = Une erreur s'est produite lors de la recherche | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
Sources: {$seeds} ({$maxSeeds}), Pairs: {$peers} ({$maxPeers}) | ||
Vitesse: {$speed} | ||
ETA: {$eta} | ||
Progression: {$progress} | ||
--- | ||
Supprimer: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
Progression: {$progress} | ||
--- | ||
Supprimer: {$remove} | ||
torrent-unsupported-tracker-error = Tracker non pris en charge | ||
torrent-download-error = Une erreur s'est produite lors de l'ajout du torrent | ||
torrent-remove-error = Une erreur s'est produite lors de la suppression du torrent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
search-torrents-empty = אין תוצאות | ||
search-torrents-result-download = הורד: {$link} | ||
search-torrents-unknown-error = אירעה שגיאה במהלך החיפוש | ||
torrent-message-seeds-peers = Seeds: {$seeds}, Peers: {$peers} | ||
torrent-message-speed = מהירות: {$speed}s | ||
torrent-message-eta = זמן שנותר: {$eta} | ||
torrent-message-progress = התקדמות: {$progress} | ||
torrent-message-remove = הסר: {$link} | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
הורד: {$download} | ||
search-empty-results = אין תוצאות | ||
search-unknown-error = אירעה שגיאה במהלך החיפוש | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
זורעים: {$seeds} ({$maxSeeds}), עמיתים: {$peers} ({$maxPeers}) | ||
מהירות: {$speed} | ||
ETA: {$eta} | ||
התקדמות: {$progress} | ||
--- | ||
הסר: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
התקדמות: {$progress} | ||
--- | ||
הסר: {$remove} | ||
torrent-unsupported-tracker-error = המעקב אינו נתמך | ||
torrent-download-error = אירעה שגיאה בעת הוספת הטורנט | ||
torrent-remove-error = אירעה שגיאה בעת הסרת הטורנט |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
search-torrents-empty = कोई परिणाम नहीं | ||
search-torrents-result-download = डाउनलोड: {$link} | ||
search-torrents-unknown-error = खोज के दौरान एक त्रुटि हुई | ||
torrent-message-seeds-peers = बीज: {$seeds}, साथियों: {$peers} | ||
torrent-message-speed = गति: {$speed}s | ||
torrent-message-eta = शेष समय: {$eta} | ||
torrent-message-progress = प्रगति: {$progress} | ||
torrent-message-remove = हटाएं: {$link} | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
डाउनलोड: {$download} | ||
search-empty-results = कोई परिणाम नहीं | ||
search-unknown-error = खोज के दौरान एक त्रुटि हुई | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
बीज: {$seeds} ({$maxSeeds}), सहकर्मीं: {$peers} ({$maxPeers}) | ||
गति: {$speed} | ||
ईटीए: {$eta} | ||
प्रगति: {$progress} | ||
--- | ||
हटाएं: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
प्रगति: {$progress} | ||
--- | ||
हटाएं: {$remove} | ||
torrent-unsupported-tracker-error = ट्रैकर समर्थित नहीं है | ||
torrent-download-error = टोरेंट जोड़ते समय एक त्रुटि हुई | ||
torrent-remove-error = टोरेंट हटाते समय एक त्रुटि हुई |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
search-message = | ||
<b>{$title}</b> | ||
--- | ||
{$size} | {$seeds}/{$peers} | {DATETIME($publishDate)} | ||
--- | ||
Letöltés: {$download} | ||
search-empty-results = Nincs találat | ||
search-unknown-error = Hiba történt a keresés során | ||
torrent-message-in-progress = | ||
<b>{$title}</b> | ||
--- | ||
Seedek: {$seeds} ({$maxSeeds}), Peerek: {$peers} ({$maxPeers}) | ||
Sebesség: {$speed} | ||
ETA: {$eta} | ||
Haladás: {$progress} | ||
--- | ||
Eltávolítás: {$remove} | ||
torrent-message-completed = | ||
<b>{$title}</b> | ||
--- | ||
Haladás: {$progress} | ||
--- | ||
Eltávolítás: {$remove} | ||
torrent-unsupported-tracker-error = A tracker nem támogatott | ||
torrent-download-error = Hiba történt a torrent hozzáadása során | ||
torrent-remove-error = Hiba történt a torrent eltávolítása során |
Oops, something went wrong.