Skip to content

Commit 9c4aacf

Browse files
Merge pull request #42 from CHE1RON/patch-1
Fix typos in german translations
2 parents 02f79b9 + 10da47e commit 9c4aacf

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ browsers and beyond.
1111

1212
- 🔎 All-in-one solution for SEO and social media optimization
1313
- 📱 Support for OpenGraph and Schema.org (JSON-LD) markup
14-
- 🚀 Customizable Metadata for auto-generated metadata from page contents
14+
- 🚀 Customizable metadata for auto-generated metadata from page contents
1515
- 💻 Extensive panel UI including social media previews
1616
- 🦊 Easy-to-understand language in the panel, providing a good middle ground between simplicity and extensive control options.
1717
- 🧙‍♂️ Most features can be enabled/disabled in config, panel UI only shows enabled features (thanks to dynamic blueprints)
18-
- 🪝 Hooks for altering the plugins behavior
18+
- 🪝 Hooks for altering the plugin's behavior
1919
- 🌍 All blueprints are fully translatable (*English, German and French translations are included*)
2020

2121
**Future plans:**
@@ -31,9 +31,9 @@ browsers and beyond.
3131

3232
## How it works
3333

34-
The plugin tries looks for metadata from a pages content file (e.g. article.txt) by
35-
the corresponding key. If the page does not contain the specific field, it looks for a metadata.
36-
Method on the current page model, which can return an array metadata for the current page
34+
The plugin looks for metadata from a page's content file (e.g. `article.txt`) by
35+
the corresponding key. If the page does not contain the specific field, it looks for a metadata
36+
method on the current page model, which can return an array of metadata for the current page.
3737
If that also fails, it will fall back to default metadata, as stored in the
3838
`site.txt` file at the top-level of the content directory.
3939

@@ -60,30 +60,30 @@ The options below have to be set in your `config.php`. Please note that every op
6060

6161
| Key | Type | Default | Description |
6262
|:----|:-----|:--------|:------------|
63-
| `sitemap` | `bool` | `true` | When true, will generate an XML sitemap for search engines. The sitemap includes all listed pages by default. ⚠️ If you disable the `robots` setting, no robots.txt will be served to sell search engines where your sitemap is located. |
64-
| `sitemap.detailSettings` | `bool` | `false` | When true, the `<changefreq>` and `<priority>` tags are included in the sitemap corresponding fields are displayed in the panel. |
63+
| `sitemap` | `bool` | `true` | When `true`, will generate an XML sitemap for search engines. The sitemap includes all listed pages by default. ⚠️ If you disable the `robots` setting, no robots.txt will be served to tell search engines where your sitemap is located. |
64+
| `sitemap.detailSettings` | `bool` | `false` | When ´true`, the `<changefreq>` and `<priority>` tags are included in the sitemap and their corresponding fields are displayed in the panel. |
6565
| `sitemap.pages.exclude` | `array` | `[]` | An array of page IDs to exlude from the sitemap. Values are treated as regular expressions, so they can include wildcards like e.g. `about/.*`. The error page is always excluded. |
6666
| `sitemap.pages.includeUnlisted` | `array` | `[]` | An array of page IDs to include in the sitemap, even if their status is `unlisted`. Values are treated as regular expressions, so they can include wildcards like e.g. `about/.*`. |
6767
| `sitemap.templates.exclude` | `array` | `[]` | An array of template names to exlude from the sitemap. Values are treated as regular expressions, so they can include wildcards like e.g. `article-(internal|secret)` |
6868
| `sitemap.templates.includeUnlisted` | `array` | `[]` | An array of templates to include in the sitemap, even if their status is `unlisted`. Values are treated as regular expressions. |
69-
| `schema` | `bool` | `true` | Generate [Schema.org](https://schema.org/) markup as [JSON-LD](https://json-ld.org/).
70-
| `social` | `bool` | `true` | Generate [OpenGraph](https://ogp.me/) markup.
71-
| `twitter` | `bool` | `true` | Generate and [Twitter Cards](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards) markup. Only has an effect, if `social` is also enabled. Since `0.2.0-beta` (⚠️ deprecated).
72-
| `robots` | `bool` | `true` | Generate the `robots` metatag and serve [robots.txt](https://developers.google.com/search/docs/advanced/robots/intro) at `http(s)://yourdomain.com/robots.txt`.
73-
| `robots.canonical` | `bool` | `true` | Generate canonical url meta tag. Requires `robots` option to be `true`. |
74-
| `robots.index` | `bool` | `true` | Allows crawlers to index pages. Can be overriden in global or page-specidic settings from the panel. Requires `robots` option to be `true` for having an effect. If a page is excluded from the sitemap or unlisted, the robots meta tag will always contain `noindex`. |
75-
| `robots.follow` | `bool` | `true` | Allows crawlers to follow links on pages. Can be overriden in global or page-specidic settings from the panel. Requires `robots` option to be `true` for having an effect. |
76-
| `robots.archive` | `bool` | `true` | Allows crawlers to serve a cached version of pages. Can be overriden in global or page-specidic settings from the panel. Requires `robots` option to be `true` for having an effect. |
77-
| `robots.imageindex` | `bool` | `true` | Allows crawlers to include images to appear in search results. Can be overriden in global or page-specidic settings from the panel. Requires `robots` option to be `true` for having an effect. |
78-
| `robots.snippet` | `bool` | `true` | Allows crawlers to generate snippets from page content. Can be overriden in global or page-specidic settings from the panel. Requires `robots` option to be `true` for having an effect. |
79-
| `robots.translate` | `bool` | `true` | Allows crawlers offer automated translation of your content. Can be overriden in global or page-specidic settings from the panel. Requires `robots` option to be `true` for having an effect. |
69+
| `schema` | `bool` | `true` | Generates [Schema.org](https://schema.org/) markup as [JSON-LD](https://json-ld.org/).
70+
| `social` | `bool` | `true` | Generates [OpenGraph](https://ogp.me/) markup.
71+
| `twitter` | `bool` | `true` | Generates [Twitter Cards](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards) markup. Only has an effect, if `social` is also enabled. Since `0.2.0-beta` (⚠️ deprecated).
72+
| `robots` | `bool` | `true` | Generates the `robots` metatag and serve [robots.txt](https://developers.google.com/search/docs/advanced/robots/intro) at `http(s)://yourdomain.com/robots.txt`.
73+
| `robots.canonical` | `bool` | `true` | Generates canonical url meta tag. Requires `robots` option to be `true`. |
74+
| `robots.index` | `bool` | `true` | Allows crawlers to index pages. Can be overriden in global or page-specific settings from the panel. Requires `robots` option to be `true` for having an effect. If a page is excluded from the sitemap or unlisted, the robots meta tag will always contain `noindex`. |
75+
| `robots.follow` | `bool` | `true` | Allows crawlers to follow links on pages. Can be overriden in global or page-specific settings from the panel. Requires `robots` option to be `true` for having an effect. |
76+
| `robots.archive` | `bool` | `true` | Allows crawlers to serve a cached version of pages. Can be overriden in global or page-specific settings from the panel. Requires `robots` option to be `true` for having an effect. |
77+
| `robots.imageindex` | `bool` | `true` | Allows crawlers to include images to appear in search results. Can be overriden in global or page-specific settings from the panel. Requires `robots` option to be `true` for having an effect. |
78+
| `robots.snippet` | `bool` | `true` | Allows crawlers to generate snippets from page content. Can be overriden in global or page-specific settings from the panel. Requires `robots` option to be `true` for having an effect. |
79+
| `robots.translate` | `bool` | `true` | Allows crawlers offer automated translation of your content. Can be overriden in global or page-specific settings from the panel. Requires `robots` option to be `true` for having an effect. |
8080
| `title.separators` | `array` | `["~" , "-" , "–" , "—" , ":" , "/", …]` | List of available separator options for the `<title>` tag. The separator can be selected in the panel and is placed between page title and site title. |
8181
| `theme.color` | `string\|null` | `null` | If not empty, will generate a corresponding meta tag used by some browsers for coloring the UI. |
82-
| `panel.view.filter` | Provide a filter function for hiding certain pages from the metadata debug view in the panel. See the Kirby docs on [$pages->filter()](https://getkirby.com/docs/reference/objects/cms/pages/filter) for details. |
82+
| `panel.view.filter` | Provides a filter function for hiding certain pages from the metadata debug view in the panel. See the Kirby docs on [`$pages->filter()`](https://getkirby.com/docs/reference/objects/cms/pages/filter) for details. |
8383

8484
### Blueprint setup
8585

86-
Your site and page blueprints need to use [tabs](https://getkirby.com/docs/guide/blueprints/layout#tabs), as the plugins input fields all come in a tab. Meta comes with tab blueprints that need to be added to your site and page blueprints accordingly:
86+
Your site and page blueprints need to use [tabs](https://getkirby.com/docs/guide/blueprints/layout#tabs), as the plugin's input fields all come in a tab. Meta comes with tab blueprints that need to be added to your site and page blueprints accordingly:
8787

8888
```yaml
8989
# site/blueprints/site.yml
@@ -130,17 +130,17 @@ Sometimes, you want special behavior for certain templates. The easiest way to a
130130

131131
| Key | Type | Description |
132132
|:----|:-----|:------------|
133-
| `meta_description` | `string` | Provide a default description that is used, when the user had not entered a dedicated description for this page. This could e.g. be a truncated version of the pages text content. |
134-
| `og_title_prefix` | `string` | Will be put in front of the pages OpenGraph title, e.g. `'ℹ️ '` or `'[Recipe ]` |
133+
| `meta_description` | `string` | Provide a default description that is used, when the user had not entered a dedicated description for this page. This could e.g. be a truncated version of the page's text content. |
134+
| `og_title_prefix` | `string` | Will be put in front of the page's OpenGraph title, e.g. `'ℹ️ '` or `'[Recipe ]` |
135135
| `og_image File` | `Kirby\Cms\File` | A `File` object, that sets the default OpenGraph image for this page. You can even generate custom images programatically and Wrap them in a `File` object, e.g. for the docs of your product (getkirby.com does this for the reference pages).
136-
| `@graph` | `array` | Things to add to the JSON-LD metadata in the pages head. If you need to reference the organization or person behind the website, use `url('/#owner')`. If you need to reference the website itself, use `url('/#website')`. |
136+
| `@graph` | `array` | Things to add to the JSON-LD metadata in the page's head. If you need to reference the organization or person behind the website, use `url('/#owner')`. If you need to reference the website itself, use `url('/#website')`. |
137137
| `@social` | `array` | Extend the social meta tags generated by the plugin. |
138138

139139
### Using hooks
140140

141141
the meta plugin provides a set of handy hooks, allowing you to further add/remove/modify metadata without overriding the built-in snippets or having to set up a page model for every template.
142142

143-
⚠️ Hooks are a powerful tool that can break the plugins expected behavior for editors working on the panel. Use with care!
143+
⚠️ Hooks are a powerful tool that can break the plugin's expected behavior for editors working on the panel. Use with care!
144144

145145
#### `meta.load:after`
146146

@@ -288,7 +288,7 @@ return [
288288
```
289289

290290
### Manipulating indexed pages
291-
A few helpers are available for manipulating pages :
291+
A few helpers are available for manipulating pages:
292292

293293
### Page Method
294294
If you'd like to know if a page is indexed in the sitemap, you can use `$page->isIndexible()` (returns a `bool`).

translations/de.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
'fabianmichael.meta.general.headline' => 'Basisdaten',
1010
'fabianmichael.meta.title.label' => 'Titel (Überschreiben)',
1111
'fabianmichael.meta.title.help' => 'Der Seitentitel, so wie er in Suchmaschinen erscheinen soll. Wenn das Feld leer ist, wird stattdessen der Seitentitel ausgegeben.',
12-
'fabianmichael.meta.title_separator.label' => 'Titel Trennzeichen',
12+
'fabianmichael.meta.title_separator.label' => 'Titel-Trennzeichen',
1313
'fabianmichael.meta.title_separator.help' => 'Das Trennzeichen wird zwischen dem Titel der aktuellen Seite und dem Titel der Website angezeigt.',
1414

1515
'fabianmichael.meta.robots.headline' => 'Suchmaschinen',
@@ -23,7 +23,7 @@
2323
'fabianmichael.meta.robots_imageindex.label' => 'Bild-Indexierung',
2424
'fabianmichael.meta.robots_imageindex.help' => 'Bilder auf dieser Seite erscheinen in der Bildsuche.',
2525
'fabianmichael.meta.robots_snippet.label' => 'Snippets',
26-
'fabianmichael.meta.robots_snippet.help' => 'Suchmaschinen fürfen Textschnipsel aus dieser Seite generieren.',
26+
'fabianmichael.meta.robots_snippet.help' => 'Suchmaschinen dürfen Textschnipsel aus dieser Seite generieren.',
2727

2828
'fabianmichael.meta.global_robots.headline' => 'Suchmaschinen-Einstellungen',
2929
'fabianmichael.meta.global_robots.help' => 'Standard-Einstellungen für Anweisungen an Suchmaschinen, in welcher Weise sie Seiten dieser Website indizieren dürfen. Seiten können individuelle Einstellungen verwenden, um dieses Verhaltern zu überschreiben.',
@@ -36,7 +36,7 @@
3636
'fabianmichael.meta.global_robots_imageindex.label' => 'Bild-Indexierung',
3737
'fabianmichael.meta.global_robots_imageindex.help' => 'Bilder auf dieser Website erscheinen in der Bildsuche.',
3838
'fabianmichael.meta.global_robots_snippet.label' => 'Snippets',
39-
'fabianmichael.meta.global_robots_snippet.help' => 'Suchmaschinen fürfen Textschnipsel aus dieser Website generieren.',
39+
'fabianmichael.meta.global_robots_snippet.help' => 'Suchmaschinen dürfen Textschnipsel aus dieser Website generieren.',
4040

4141
'fabianmichael.meta.description.label' => 'Beschreibung',
4242
'fabianmichael.meta.description.help' => 'Eine kurze Beschreibung, die Suchmachinen in den Ergebnissen unterhalb des Seitentitels darstellen.',
@@ -53,9 +53,9 @@
5353
'fabianmichael.meta.og_site_name.label' => 'Titel der Website für Teilen',
5454
'fabianmichael.meta.og_site_name.help' => 'Der Website-Titel, welcher beim Teilen verwendet werden soll. Standardmäßig wird der Titel der Website verwendet.',
5555
'fabianmichael.meta.global_og_image.label' => 'Standard Bild für Teilen',
56-
'fabianmichael.meta.global_og_image.help' => 'Ein Bild, welches diese Website beim Teilen in sozialen Netzwerken und Messegern repräsentiert. Wird automatisch zugeschnitten. Dieses Bild wird als Standard für Seiten verwendet, die kein eigenes Bild haben.<br><br>**Empfohlene Größe:** 1200&thinsp;&times;&thinsp;630&nbsp;px<br>**Formats:** JPEG, PNG, GIF, WebP, AVIF',
56+
'fabianmichael.meta.global_og_image.help' => 'Ein Bild, welches diese Website beim Teilen in sozialen Netzwerken und Messegern repräsentiert. Wird automatisch zugeschnitten. Dieses Bild wird als Standard für Seiten verwendet, die kein eigenes Bild haben.<br><br>**Empfohlene Größe:** 1200&thinsp;&times;&thinsp;630&nbsp;px<br>**Erlaubte Formate:** JPEG, PNG, GIF, WebP, AVIF',
5757
'fabianmichael.meta.og_image.label' => 'Bild für Teilen',
58-
'fabianmichael.meta.og_image.help' => 'Ein Bild, welches diese Seite beim Teilen in sozialen Netzwerken und Messegern repräsentiert. Wird automatisch zugeschnitten. Wenn kein Bild ausgewählt ist, wird das globale Standard-Bild verwendet.<br><br>**Empfohlene Größe:** 1200&thinsp;&times;&thinsp;630&nbsp;px<br>**Formats:** JPEG, PNG, GIF, WebP, AVIF {< site.metaPanelWarning("no_og_image_fallback") >}',
58+
'fabianmichael.meta.og_image.help' => 'Ein Bild, welches diese Seite beim Teilen in sozialen Netzwerken und Messegern repräsentiert. Wird automatisch zugeschnitten. Wenn kein Bild ausgewählt ist, wird das globale Standard-Bild verwendet.<br><br>**Empfohlene Größe:** 1200&thinsp;&times;&thinsp;630&nbsp;px<br>**Erlaubte Formate:** JPEG, PNG, GIF, WebP, AVIF {< site.metaPanelWarning("no_og_image_fallback") >}',
5959

6060
'fabianmichael.meta.og_title.label' => 'Gesonderter Titel für Teilen',
6161
'fabianmichael.meta.og_title.help' => 'Der Titel dieser Seite beim Teilen in sozialen Netzwerken. Verwendet **Title (überschreiben)** oder den Seitentitel als Alternativen.',

0 commit comments

Comments
 (0)