Changeset fe86013 in Klonkt for src/services/i18n.js


Ignore:
Timestamp:
06/21/2026 11:45:21 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
929d98d
Parents:
137cca5
Message:

feat(i18n phase 4): post comments/like/related + search page (NL/EN/DE)

post.ejs (comment heading with plural, empty state, reply/delete/cancel,
comment form, pending notice, related posts), search.ejs (title, placeholder,
button, results with plural, sections, empty), like button (login title).

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/i18n.js

    r137cca5 rfe86013  
    9292    // Bottom-tab (mobiel)
    9393    'tab.home': 'Home', 'tab.search': 'Zoek', 'tab.write': 'Schrijven', 'tab.profile': 'Profiel',
     94    // Reacties + gerelateerd (post-pagina)
     95    'comments.heading_one': '{n} reactie', 'comments.heading_other': '{n} reacties',
     96    'comments.empty': 'Nog geen reacties.',
     97    'comments.to_start': 'om de conversatie te starten.',
     98    'comments.reply': 'Reageer', 'comments.delete': 'Verwijder', 'comments.cancel': 'Annuleren',
     99    'comments.delete_confirm': 'Deze reactie verwijderen?',
     100    'comments.reply_to': 'Antwoord aan {name}…',
     101    'comments.add_as': 'Reageer als', 'comments.placeholder': 'Deel je gedachten…',
     102    'comments.post': 'Plaats reactie', 'comments.login_to_comment': 'Log in om te reageren',
     103    'comments.pending': 'Je reactie wacht op goedkeuring. Hij verschijnt zodra een beheerder hem goedkeurt.',
     104    'related.title': 'Gerelateerde posts',
     105    // Zoeken + like
     106    'search.placeholder': 'Zoek posts en nummers…', 'search.button': 'Zoek',
     107    'search.error': 'Kon die zoekopdracht niet uitvoeren. Probeer een eenvoudiger term.',
     108    'search.results_one': '{n} resultaat voor “{q}”', 'search.results_other': '{n} resultaten voor “{q}”',
     109    'search.section_tracks': 'Nummers', 'search.section_posts': 'Posts',
     110    'search.empty': 'Niets gevonden.', 'search.in_post': 'in post →',
     111    'like.login_title': 'Log in om deze post te liken',
    94112  },
    95113  en: {
     
    169187    'auth.f_password': 'Password (min 8 chars)',
    170188    'tab.home': 'Home', 'tab.search': 'Search', 'tab.write': 'Write', 'tab.profile': 'Profile',
     189    'comments.heading_one': '{n} comment', 'comments.heading_other': '{n} comments',
     190    'comments.empty': 'No comments yet.',
     191    'comments.to_start': 'to start the conversation.',
     192    'comments.reply': 'Reply', 'comments.delete': 'Delete', 'comments.cancel': 'Cancel',
     193    'comments.delete_confirm': 'Delete this comment?',
     194    'comments.reply_to': 'Reply to {name}…',
     195    'comments.add_as': 'Add a comment as', 'comments.placeholder': 'Share your thoughts…',
     196    'comments.post': 'Post comment', 'comments.login_to_comment': 'Log in to comment',
     197    'comments.pending': 'Your comment is awaiting moderation. It will appear once an admin approves it.',
     198    'related.title': 'Related posts',
     199    'search.placeholder': 'Search posts and tracks…', 'search.button': 'Search',
     200    'search.error': 'Couldn’t run that search. Try a simpler term.',
     201    'search.results_one': '{n} result for “{q}”', 'search.results_other': '{n} results for “{q}”',
     202    'search.section_tracks': 'Tracks', 'search.section_posts': 'Posts',
     203    'search.empty': 'Nothing found.', 'search.in_post': 'in post →',
     204    'like.login_title': 'Log in to like this post',
    171205  },
    172206  de: {
     
    246280    'auth.f_password': 'Passwort (min. 8 Zeichen)',
    247281    'tab.home': 'Start', 'tab.search': 'Suche', 'tab.write': 'Schreiben', 'tab.profile': 'Profil',
     282    'comments.heading_one': '{n} Kommentar', 'comments.heading_other': '{n} Kommentare',
     283    'comments.empty': 'Noch keine Kommentare.',
     284    'comments.to_start': 'um das Gespräch zu starten.',
     285    'comments.reply': 'Antworten', 'comments.delete': 'Löschen', 'comments.cancel': 'Abbrechen',
     286    'comments.delete_confirm': 'Diesen Kommentar löschen?',
     287    'comments.reply_to': 'Antwort an {name}…',
     288    'comments.add_as': 'Kommentieren als', 'comments.placeholder': 'Teile deine Gedanken…',
     289    'comments.post': 'Kommentar posten', 'comments.login_to_comment': 'Zum Kommentieren anmelden',
     290    'comments.pending': 'Dein Kommentar wartet auf Freigabe. Er erscheint, sobald ein Administrator ihn genehmigt.',
     291    'related.title': 'Ähnliche Beiträge',
     292    'search.placeholder': 'Beiträge und Titel suchen…', 'search.button': 'Suchen',
     293    'search.error': 'Diese Suche konnte nicht ausgeführt werden. Versuch einen einfacheren Begriff.',
     294    'search.results_one': '{n} Ergebnis für „{q}“', 'search.results_other': '{n} Ergebnisse für „{q}“',
     295    'search.section_tracks': 'Titel', 'search.section_posts': 'Beiträge',
     296    'search.empty': 'Nichts gefunden.', 'search.in_post': 'im Beitrag →',
     297    'like.login_title': 'Zum Liken anmelden',
    248298  },
    249299};
Note: See TracChangeset for help on using the changeset viewer.