~cadence/bibliogram-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[PATCH v2 1/2] added german translation file, added german to settings/index

Philipp Beckers
Details
Message ID
<20201223105506.43840-1-opensource@grimneko.de>
DKIM signature
pass
Download raw message
Patch: +110 -1
---
 src/lang/de.js            | 108 ++++++++++++++++++++++++++++++++++++++
 src/lang/index.js         |   2 +-
 src/site/pug/settings.pug |   1 +
 3 files changed, 110 insertions(+), 1 deletion(-)
 create mode 100644 src/lang/de.js

diff --git a/src/lang/de.js b/src/lang/de.js
new file mode 100644
index 0000000..ba59957
--- /dev/null
+++ b/src/lang/de.js
@@ -0,0 +1,108 @@
const data = {...require("./base")}
const {pug} = require("./utils/functions")
const constants = require("../lib/constants")
if (!constants.language_dev) Object.assign(data, require("./en.js"))

;(() => {
	data.meta_direction = "ltr"

	data.go_to_profile = "Gehe zu Profile"
	data.go_to_post = "Gehe zu Post"
	data.go_username_or_url = "Benutzername oder URL"
	data.go_shortcode_or_url = "Shortcode or URL"
	data.go_button = "Los"
	data.about_bibliogram_header = "Über Bibliogram"
	data.pug_about_bibliogram_content = pug(`
		p.
			Bibliogram ist eine Website, die Daten aus den öffentlichen Profilansichten von Instagram nimmt und sie in
			eine freundlichere Seite einsetzt, die schneller lädt, herunterladbare Bilder anbietet, Werbung eliminiert
			RSS-Feeds generiert und Sie nicht dazu auffordert, sich zu registrieren. #[a(href=(link_to_featured_profiles ? "#featured-profiles" : "/u/instagram")).example-link Hier ein Beispiel.]
		p.
			Bibliogram erlaubt es Ihnen #[em nicht] anonym zu posten, zu liken, zu kommentieren, zu folgen oder private
			Profile anzusehen.
	`)
	data.about_this_instance_header = "Über diese Instanz"
	data.onion_site_available = "Onion Seite verfügbar"
	data.t_settings = "Einstellungen"
	data.t_privacy_policy = "Hinweise zum Datenschutz"
	data.has_not_written_privacy_policy = "Der Eigentümer hat keine Datenschutzrichtlinie verfasst."
	data.instance_not_blocked = "Instanz ist nicht blockiert"
	data.instance_partially_blocked = "Instanz ist teilweise blockiert"
	data.instance_blocked = "Instanz ist blockiert"
	data.rss_disabled = "RSS Feeds sind ausgeschaltet"
	data.rss_enabled = "RSS Feeds sind eingeschaltet"
	data.external_links_header = "Externer Link"
	data.source_link = "Code auf sourcehut"
	data.matrix_link = "Diskussionsraum auf Matrix"
	data.instances_link = "Andere Bibliogram Instanzen"
	data.contact_link = "Kontaktiere den Entwickler"
	data.featured_profiles_header = "Ausgewählte Profile"
	data.featured_profiles_whats_this = "Was ist das ?"
	data.html_featured_profiles_disclaimer = pug(`
		p Der Betreiber dieser Webseite findet persönlich diese Profile interessant.
		p Sie werden nicht vom Bibliogram Projekt gebilligt oder befürwortet.
	`)()
	data.verified_badge_title = "Verifiziert"
	data.verified_badge_alt = "Verifiziert."
	data.post_counter_label = "Posts"
	data.outgoing_follows_counter_label = "folgt er"
	data.incoming_follows_counter_label = "folgen ihm"
	data.quota_left = "Quote übrig:"
	data.t_home = "Startseite"
	data.tab_timeline = "Zeitleiste"
	data.tab_igtv = "IGTV"
	data.next_page_button = "Nächste Seite"
	data.next_page_button_loading = "Lade..."
	data.profile_is_private_notice = "Dieses Profil ist privat."
	data.no_posts_notice = "Keine Posts."
	data.no_more_posts_notice = "Keine weiteren Posts."
	data.fn_page_divider = number => `Seite ${number}`
	data.pug_post_timestamp = pug(`
		| Geposted am #[time(datetime=post.date.toISOString() data-local-date)= post.getDisplayDate()].
	`)
	// settings
	data.t_features = "Features"
	data.t_language = "Sprache"
	data.save_data = "Speichere Daten"
	data.t_automatic = "Automatisch"
	data.t_off = "Aus"
	data.lazy_load = "Lazy load"
	data.t_full = "Vollständig"
	data.rewrite_youtube = "Youtube Domain Umschreibservice"
	data.rewrite_twitter = "Twitter Domain Umschreibservice"
	data.remove_trailing_hashtags = "Hashtags am Ende ausblenden"
	data.t_hide = "Ausblenden"
	data.link_hashtags = "Anklickbare Hashtags"
	data.t_clickable = "Anklickbar"
	data.show_comments = "Kommentare anzeigen"
	data.t_display = "Anzeigen"
	data.fast_navigation = "Schnelle Navigation"
	data.t_enabled = "Ein"
	data.infinite_scroll = "Unendlich Scrollen"
	data.t_normal = "Normal"
	data.t_eager = "Eifrig"
	data.t_manual = "Manuell"
	data.t_appearance = "Aussehen"
	data.t_theme = "Theme"
	data.display_top_nav = "Zeige obere Leiste"
	data.t_always = "Immer"
	data.timeline_columns = "Zeitleiste Spalten"
	data.t_dynamic = "Dynamisch"
	data.three_columns = "3 Spalten"
	data.four_columns = "4 Spalten"
	data.six_columns = "6 Spalten"
	data.caption_side = "Beschreibungsseite"
	data.left_caption = "Links (Bibliogram)"
	data.right_caption = "Rechts (Instagram)"
	data.display_alt_text = "Alt-Text inline anzeigen"
	data.t_return = "Zurück"
	data.t_save = "Speichern"
	data.save_and_return = "Speichern & zurück"
	data.pug_restore_sync_settings = pug(`
		| Du kannst gespeicherte Einstellungen wiederhestellen/synchronisieren durch setzen eines Lesezeichens auf diesen #[a(href="/applysettings/"+token)#restore-link Link.]
	`)
	data.settings_saved = "Gespeichert."

})()

module.exports = data
diff --git a/src/lang/index.js b/src/lang/index.js
index cfbc7de..98244fc 100644
--- a/src/lang/index.js
+++ b/src/lang/index.js
@@ -7,7 +7,7 @@ class Lang {

		this.backing.set("base", require("./base"))

		for (const code of ["bg", "en", "en-us", "es", "fa", "fr", "gl", "it", "ms", "ru"]) {
		for (const code of ["bg", "de", "en", "en-us", "es", "fa", "fr", "gl", "it", "ms", "ru"]) {
			// Assign lang
			const data = require(`./${code}`)
			this.backing.set(code, data)
diff --git a/src/site/pug/settings.pug b/src/site/pug/settings.pug
index bfb87c6..8b97ac2 100644
--- a/src/site/pug/settings.pug
+++ b/src/site/pug/settings.pug
@@ -48,6 +48,7 @@ html
				+fieldset(ll.t_features)
					+select("language", ll.t_language, false, [
						{value: "bg", text: "Български"},
						{value: "de", text: "Deutsch"},
						{value: "en", text: "English (International)"},
						{value: "en-us", text: "English (US)"},
						{value: "es", text: "Español"},
-- 
2.29.2

[PATCH v2 2/2] fixed missing translation

Philipp Beckers
Details
Message ID
<20201223105506.43840-2-opensource@grimneko.de>
In-Reply-To
<20201223105506.43840-1-opensource@grimneko.de> (view parent)
DKIM signature
pass
Download raw message
Patch: +1 -1
---
 src/lang/de.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lang/de.js b/src/lang/de.js
index ba59957..942f46c 100644
--- a/src/lang/de.js
+++ b/src/lang/de.js
@@ -9,7 +9,7 @@ if (!constants.language_dev) Object.assign(data, require("./en.js"))
	data.go_to_profile = "Gehe zu Profile"
	data.go_to_post = "Gehe zu Post"
	data.go_username_or_url = "Benutzername oder URL"
	data.go_shortcode_or_url = "Shortcode or URL"
	data.go_shortcode_or_url = "Shortcode oder URL"
	data.go_button = "Los"
	data.about_bibliogram_header = "Über Bibliogram"
	data.pug_about_bibliogram_content = pug(`
-- 
2.29.2

[PATCH v2 2/2] fixed missing translation

Details
Message ID
<7a05b4cb-9b08-4402-93fa-5e001e15645a@disroot.org>
In-Reply-To
<20201223105506.43840-2-opensource@grimneko.de> (view parent)
DKIM signature
pass
Download raw message
Thank you! I can check and merge this in about a week. I've set myself a 
reminder, and I'll check it again then.

Re: [PATCH v2 2/2] fixed missing translation

Details
Message ID
<20210101012356.415e399d679c695effff14a7@disroot.org>
In-Reply-To
<20201223105506.43840-2-opensource@grimneko.de> (view parent)
DKIM signature
pass
Download raw message
Patch applied, thank you so much!

If you're willing to maintain this translation by updating it when new
text becomes available in the future, please subscribe to the
bibliogram-translate mailing list to receive a detailed announcement
in your inbox when there's something new.
https://lists.sr.ht/~cadence/bibliogram-translate
Reply to thread Export thread (mbox)