Skip to content

Commit

Permalink
Copyright improved, Select Choices translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
KopfdesDaemons committed Dec 4, 2023
1 parent 28be263 commit a515fd0
Show file tree
Hide file tree
Showing 6 changed files with 182 additions and 104 deletions.
138 changes: 72 additions & 66 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,77 @@ function blog_layouts_after_setup_theme()
load_theme_textdomain('blog-layouts', get_template_directory() . '/languages');
// defaults to the feed as the homepage
update_option('show_on_front', 'posts');

global $blog_layouts_post_list_layouts;
$blog_layouts_post_list_layouts = array(
'cards' => __('Cards', 'blog-layouts'),
'content-creator' => __('Content Creator', 'blog-layouts'),
'discover' => __('Discover', 'blog-layouts'),
'frameless' => __('Frameless', 'blog-layouts'),
'material2' => 'Material 2',
'material3' => 'Material 3',
'search-engine' => __('Search Engine', 'blog-layouts'),
'social' => __('Social', 'blog-layouts'),
);

global $blog_layouts_sidebar_layouts;
$blog_layouts_sidebar_layouts = array(
'blocks' => __('Blocks', 'blog-layouts'),
'frameless' => __('Frameless', 'blog-layouts'),
'frames' => __('Frames', 'blog-layouts'),
'material2' => 'Material 2',
'material3' => 'Material 3',
'neon' => __('Neon', 'blog-layouts'),
'network' => __('Network', 'blog-layouts'),
'social' => __('Social', 'blog-layouts'),
'soft' => __('Soft', 'blog-layouts'),
);

global $blog_layouts_chips_layouts;
$blog_layouts_chips_layouts = array(
'blocks' => __('Blocks', 'blog-layouts'),
'coder' => __('Coder', 'blog-layouts'),
'color-blocks' => __('Color Blocks', 'blog-layouts'),
'content-creator' => __('Content Creator', 'blog-layouts'),
'hashtag' => __('Hashtag', 'blog-layouts'),
'hub' => __('Hub', 'blog-layouts'),
'frames' => __('Frames', 'blog-layouts'),
'links' => __('Links', 'blog-layouts'),
'material2' => 'Material 2',
'material3' => 'Material 3',
'neon' => __('Neon', 'blog-layouts'),
'network' => __('Network', 'blog-layouts'),
'portal' => __('Portal', 'blog-layouts'),
'social' => __('Social', 'blog-layouts'),
);

global $blog_layouts_header_layouts;
$blog_layouts_header_layouts = array(
'coder' => __('Coder', 'blog-layouts'),
'gradient' => __('Gradient', 'blog-layouts'),
'material2' => 'Material 2',
'material3' => 'Material 3',
);

global $blog_layouts_authorbox_layouts;
$blog_layouts_authorbox_layouts = array(
'border' => __('Border', 'blog-layouts'),
'frameless' => __('Frameless', 'blog-layouts'),
'neon' => __('Neon', 'blog-layouts'),
'material2' => 'Material 2',
'material3' => 'Material 3',
);

global $blog_layouts_comments_layouts;
$blog_layouts_comments_layouts = array(
'dark-cards' => __('Dark Cards', 'blog-layouts'),
'frameless' => __('Frameless', 'blog-layouts'),
'material2' => 'Material 2',
'material3' => 'Material 3',
'neon' => __('Neon', 'blog-layouts'),
'portal' => __('Portal', 'blog-layouts'),
'social' => __('Social', 'blog-layouts'),
);
}
add_action('after_setup_theme', 'blog_layouts_after_setup_theme');

Expand Down Expand Up @@ -140,69 +211,4 @@ function start_el(&$output, $item, $depth = 0, $args = [], $id = 0)
function blog_layouts_sanitize_checkbox($input)
{
return (isset($input) && true === $input) ? true : false;
}

$blog_layouts_post_list_layouts = array(
'cards' => 'Cards',
'content-creator' => 'Content Creator',
'discover' => 'Discover',
'frameless' => 'Frameless',
'material2' => 'Material 2',
'material3' => 'Material 3',
'search-engine' => 'Search Engine',
'social' => 'Social',
);

$blog_layouts_sidebar_layouts = array(
'blocks' => 'Blocks',
'frameless' => 'Frameless',
'frames' => 'Frames',
'material2' => 'Material 2',
'material3' => 'Material 3',
'neon' => 'Neon',
'network' => 'Network',
'social' => 'Social',
'soft' => 'Soft',
);

$blog_layouts_chips_layouts = array(
'blocks' => 'Blocks',
'coder' => 'Coder',
'color-blocks' => 'Color Blocks',
'content-creator' => 'Content Creator',
'hashtag' => 'Hashtag',
'hub' => 'Hub',
'frames' => 'Frames',
'links' => 'Links',
'material2' => 'Material 2',
'material3' => 'Material 3',
'neon' => 'Neon',
'network' => 'Network',
'portal' => 'Portal',
'social' => 'Social',
);

$blog_layouts_header_layouts = array(
'coder' => 'Coder',
'gradient' => 'Gradient',
'material2' => 'Material 2',
'material3' => 'Material 3',
);

$blog_layouts_authorbox_layouts = array(
'border' => 'Border',
'frameless' => 'Frameless',
'neon' => 'Neon',
'material2' => 'Material 2',
'material3' => 'Material 3',
);

$blog_layouts_comments_layouts = array(
'dark-cards' => 'Dark Cards',
'frameless' => 'Frameless',
'material2' => 'Material 2',
'material3' => 'Material 3',
'neon' => 'Neon',
'portal' => 'Portal',
'social' => 'Social',
);
}
Binary file modified languages/de_DE.mo
Binary file not shown.
126 changes: 97 additions & 29 deletions languages/de_DE.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2023-12-02 21:05+0100\n"
"PO-Revision-Date: 2023-12-02 22:57+0100\n"
"POT-Creation-Date: 2023-12-04 18:00+0100\n"
"PO-Revision-Date: 2023-12-04 19:27+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de\n"
Expand Down Expand Up @@ -35,27 +35,27 @@ msgstr "Gehe zur Startseite"
msgid "Archive"
msgstr "Archive"

#: archive.php:26 archive.php:28 archive.php:30
#: archive.php:27 archive.php:29 archive.php:31
msgid "Archive for"
msgstr "Archive für"

#: archive.php:90
#: archive.php:91
msgid "Role"
msgstr "Rolle"

#: archive.php:103
#: archive.php:104
msgid "Registration date"
msgstr "Registrierungsdatum"

#: archive.php:110
#: archive.php:111
msgid "Number of posts"
msgstr "Anzahl der Beiträge"

#: archive.php:120 customizer-options/posts-options.php:6
#: archive.php:121 customizer-options/posts-options.php:6
msgid "Posts"
msgstr "Beiträge"

#: archive.php:124 template-parts/post-list-layouts/cards-posts-list.php:25
#: archive.php:125 template-parts/post-list-layouts/cards-posts-list.php:25
#: template-parts/post-list-layouts/frameless-posts-list.php:26
#: template-parts/post-list-layouts/material2-posts-list.php:47
#: template-parts/post-list-layouts/material3-posts-list.php:46
Expand All @@ -64,32 +64,32 @@ msgstr "Beiträge"
msgid "Comments"
msgstr "Kommentare"

#: archive.php:132
#: archive.php:133
#, php-format
msgid "About %s:"
msgstr "Über %s:"

#: archive.php:136
#: archive.php:137
msgid "Website"
msgstr "Webseite"

#: archive.php:158
#: archive.php:159
msgid "Last comments from"
msgstr "Letzte Kommentare von"

#: archive.php:178
#: archive.php:179
msgid "No comments found."
msgstr "Keine Kommentare gefunden."

#: archive.php:200 search.php:29
#: archive.php:201 search.php:29
msgid "« Previous"
msgstr "« Vorherige"

#: archive.php:212 search.php:41
#: archive.php:213 search.php:41
msgid "Next »"
msgstr "Weiter »"

#: archive.php:218 home.php:36 search.php:50
#: archive.php:219 home.php:36 search.php:50
msgid "No posts found."
msgstr "Keine Beiträge gefunden."

Expand Down Expand Up @@ -495,11 +495,91 @@ msgstr "Sidebar"
msgid "Landingpage Widget Area"
msgstr "Landingpage Widget Area"

#: functions.php:146
msgid "Cards"
msgstr "Cards"

#: functions.php:147 functions.php:172
msgid "Content Creator"
msgstr "Content Creator"

#: functions.php:148
msgid "Discover"
msgstr "Entdecker"

#: functions.php:149 functions.php:158 functions.php:194 functions.php:202
msgid "Frameless"
msgstr "Rahmenlos"

#: functions.php:152
msgid "Search Engine"
msgstr "Suchmaschine"

#: functions.php:153 functions.php:164 functions.php:182 functions.php:207
msgid "Social"
msgstr "Social"

#: functions.php:157 functions.php:169
msgid "Blocks"
msgstr "Blöcke"

#: functions.php:159 functions.php:175
msgid "Frames"
msgstr "Rahmen"

#: functions.php:162 functions.php:179 functions.php:195 functions.php:205
msgid "Neon"
msgstr "Neon"

#: functions.php:163 functions.php:180
msgid "Network"
msgstr "Netzwerk"

#: functions.php:165
msgid "Soft"
msgstr "Soft"

#: functions.php:170 functions.php:186
msgid "Coder"
msgstr "Coder"

#: functions.php:171
msgid "Color Blocks"
msgstr "Farbblöcke"

#: functions.php:173
msgid "Hashtag"
msgstr "Hashtag"

#: functions.php:174
msgid "Hub"
msgstr "Hub"

#: functions.php:176
msgid "Links"
msgstr "Links"

#: functions.php:181 functions.php:206
msgid "Portal"
msgstr "Portal"

#: functions.php:187
msgid "Gradient"
msgstr "Frabverlauf"

#: functions.php:193
msgid "Border"
msgstr "Rahmen"

#: functions.php:201
msgid "Dark Cards"
msgstr "Dunkle Karten"

#: home.php:11
msgid "Fill the landing page in the customizer"
msgstr "Befülle die Landingpage im Customizer"

#: page.php:24 single.php:58
#: index.php:24 page.php:24 single.php:58
msgid "Pages:"
msgstr "Seiten:"

Expand All @@ -525,7 +605,7 @@ msgid "Skip to main content"
msgstr "Springe zum Hauptinhalt"

#: template-parts/post-list-layouts/cards-posts-list.php:31
#: template-parts/post-list-layouts/content-creator-posts-list.php:45
#: template-parts/post-list-layouts/content-creator-posts-list.php:44
#: template-parts/post-list-layouts/frameless-posts-list.php:32
#: template-parts/post-list-layouts/material2-posts-list.php:54
#: template-parts/post-list-layouts/material3-posts-list.php:52
Expand All @@ -539,9 +619,6 @@ msgstr "mehr lesen"
#~ msgid "Layouts"
#~ msgstr "Layouts"

#~ msgid "Colors"
#~ msgstr "Farben"

#~ msgid "Tags and chips color"
#~ msgstr "Tags und Chips Farbe"

Expand All @@ -562,21 +639,12 @@ msgstr "mehr lesen"
#~ msgid "Date results style"
#~ msgstr "Datum Ergebnisliste Style"

#~ msgid "Cards"
#~ msgstr "Cards"

#~ msgid "Frameless posts list"
#~ msgstr "Rahmenlose Beitragsliste"

#~ msgid "search engine"
#~ msgstr "suchmaschine"

#~ msgid "cards"
#~ msgstr "cards"

#~ msgid "frameless"
#~ msgstr "rahmenlos"

#~ msgid "Category results style"
#~ msgstr "Kategorie Ergebnisliste Style"

Expand Down
Loading

0 comments on commit a515fd0

Please sign in to comment.