diff --git a/CHANGELOG.md b/CHANGELOG.md index 349767e9..4d476e42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Added + +- Turkish translation ([#90](https://github.com/jpanther/congo/pull/90)) + ## [1.6.3] - 2022-01-19 ### Added diff --git a/config/_default/config.toml b/config/_default/config.toml index f8f12850..18bc5bb0 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -9,7 +9,6 @@ defaultContentLanguage = "en" title = "Congo" # copyright = "Copy, _right?_ :thinking_face:" -enableEmoji = true enableRobotsTXT = true summaryLength = 0 diff --git a/exampleSite/config.toml b/exampleSite/config.toml index bccba71d..dc301580 100755 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -11,7 +11,6 @@ theme = "congo" languageCode = "en-AU" defaultContentLanguage = "en" title = "Congo" -enableEmoji = true summaryLength = 0 [author] diff --git a/exampleSite/content/docs/configuration.md b/exampleSite/content/docs/configuration.md index 5573531e..dea6ef3f 100644 --- a/exampleSite/content/docs/configuration.md +++ b/exampleSite/content/docs/configuration.md @@ -36,7 +36,6 @@ Note that the variable names provided in this table use dot notation to simplify |`defaultContentLanguage`|string|`"en"`|This value determines the language of theme components."| |`title`|string|`"Congo"`|The title of the website. This will be displayed in the site header and footer.| |`copyright`|string|_Not set_|A Markdown string containing the copyright message to be displayed in the site footer. If none is provided, Congo will automatically generate a copyright string using the site `title`. -|`enableEmoji`|boolean|`true`|Whether emoji strings in content should be converted to emoji symbols.| |`enableRobotsTXT`|boolean|`true`|When enabled a `robots.txt` file will be created in the site root that allows search engines to crawl the entire site. Set to `false` if you wish to provide your own file.| |`summaryLength`|integer|`0`|The number of words that are used to generate the article summary when one is not provided in the [front matter]({{< ref "front-matter" >}}). A value of `0` will use the first sentence. This value has no effect when summaries are hidden.| |`author.name`|string|_Not set_|The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used.| diff --git a/exampleSite/content/samples/emoji.md b/exampleSite/content/samples/emoji.md index 3efbefc2..b36c7bc2 100755 --- a/exampleSite/content/samples/emoji.md +++ b/exampleSite/content/samples/emoji.md @@ -12,7 +12,7 @@ Emoji is supported throughout Congo by default. Emoji can be used in titles, men **Note:** The rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack. {{< /alert >}} -Emoji replacements are controlled via the `enableEmoji` parameter in your [site configuration]({{< ref "configuration#site-configuration" >}}). Set it to `true` and then you can type Emoji shorthand codes directly in content files. +Emoji replacements are automatic throughout Congo, so you can use shorthand codes in your content and front matter and they will be converted to their corresponding symbols at build time. **Example:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:. diff --git a/i18n/tr.yaml b/i18n/tr.yaml new file mode 100644 index 00000000..37f20a4c --- /dev/null +++ b/i18n/tr.yaml @@ -0,0 +1,40 @@ +article: + anchor_label: "Anchor" + draft: "Taslak" + edit_title: "İçeriği düzenle" + reading_time: + one: "{{ .Count }} dk" + other: "{{ .Count }} dk" + reading_time_title: "Okuma süresi" + word_count: + one: "{{ .Count }} kelime" + other: "{{ .Count }} kelime" + +author: + byline_title: "Yazar" + +error: + 404_title: "Sayfa Bulunamadı :confused:" + 404_error: "Hata 404" + 404_description: "Görünüşe göre istediğiniz sayfa mevcut değil." + +footer: + dark_appearance: "Koyu görünüme geç" + light_appearance: "Açık görünüme geç" + powered_by: "{{ .Hugo }} & {{ .Congo }} tarafından desteklenmektedir" + +list: + externalurl_title: "Harici siteye bağlantı" + no_articles: "Henüz burada listelenecek bir makale yok." + +sharing: + email: "Email ile gönder" + facebook: "Facebook'ta paylaş" + linkedin: "LinkedIn'te paylaş" + pinterest: "Pinterest'te pinle" + reddit: "Reddit'te gönder" + twitter: "Twitter'da Tweetle" + +shortcode: + recent_articles: "Güncel" + icon_none: "Icon bulunamadı."