Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit 7a55945

Browse files
committed
Version 1.2.2 - Tested with WP4.7 - Translation Changes - Revision 1539690 in the WP Plugin SVN
1 parent 78d32d8 commit 7a55945

11 files changed

Lines changed: 274 additions & 55 deletions

README.txt

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Contributors: schneyra, dominik.schwind
33
Tags: christmas, december
44
Requires at least: 4
5-
Tested up to: 4.4
6-
Stable tag: 1.2.1
5+
Tested up to: 4.7
6+
Stable tag: 1.2.2
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
99

@@ -16,10 +16,17 @@ It is using shortcodes, so it is possible to add the calendar to a regular post,
1616

1717
Multiple calendars and calendar years are supported.
1818

19+
We have a public git repository at [https://github.com/lostfocus/wp-advent](https://github.com/lostfocus/wp-advent) and we're happy to answer to questions here and there.
20+
Pull requests are obviously also very welcome.
21+
1922
== Screenshots ==
2023
1. Backend
2124

2225
== Changelog ==
26+
= 1.2.2 =
27+
Tested with WP 4.7.
28+
Changed some code around to make it easier to translate this plugin. If you want to help doing that for your language, get in touch with us!
29+
2330
= 1.2.1 =
2431
Bugfix.
2532

@@ -43,4 +50,7 @@ Renamed to WP Advent
4350
* Switched to a lightbox script with a compatible license.
4451

4552
= 0.1 =
46-
* Initial version
53+
* Initial version
54+
55+
== Installation ==
56+
Either install this plugin from within the WordPress administration screen or do it the old-fashioned way: download it, unzip it into the `plugins` folder.

languages/wp-advent-de_DE.mo

3.31 KB
Binary file not shown.

languages/wp-advent-de_DE.po

Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
msgid ""
2+
msgstr ""
3+
"Project-Id-Version: WP Advent Plugin\n"
4+
"POT-Creation-Date: 2015-11-17 09:18+0100\n"
5+
"PO-Revision-Date: 2016-10-13 14:36+0200\n"
6+
"Language-Team: \n"
7+
"MIME-Version: 1.0\n"
8+
"Content-Type: text/plain; charset=UTF-8\n"
9+
"Content-Transfer-Encoding: 8bit\n"
10+
"X-Generator: Poedit 1.8.9\n"
11+
"X-Poedit-Basepath: .\n"
12+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
13+
"X-Poedit-KeywordsList: __;_x:1,2c;_e;_x\n"
14+
"Last-Translator: Dominik Schwind <dschwind@lostfocus.de>\n"
15+
"Language: de_DE\n"
16+
"X-Poedit-SearchPath-0: ../src\n"
17+
"X-Poedit-SearchPath-1: ../tpl\n"
18+
19+
#: ../src/WP_Advent_Plugin_Admin.php:17 ../src/WP_Advent_Plugin_Admin.php:18
20+
msgid "Advent Calendar"
21+
msgstr "Adventskalender"
22+
23+
#: ../src/WP_Advent_Plugin_Admin.php:30
24+
msgid "Are you sure?"
25+
msgstr "Bist Du sicher?"
26+
27+
#: ../src/WP_Advent_Plugin_Admin.php:31
28+
msgid "Choose Image"
29+
msgstr "Bild auswählen"
30+
31+
#: ../src/WP_Advent_Plugin_Custom.php:19
32+
msgctxt "post type general name"
33+
msgid "Sheets"
34+
msgstr "Kalenderblätter"
35+
36+
#: ../src/WP_Advent_Plugin_Custom.php:20
37+
msgctxt "post type singular name"
38+
msgid "Sheet"
39+
msgstr "Kalenderblatt"
40+
41+
#: ../src/WP_Advent_Plugin_Custom.php:21
42+
msgctxt "admin menu"
43+
msgid "Sheets"
44+
msgstr "Kalenderblätter"
45+
46+
#: ../src/WP_Advent_Plugin_Custom.php:22
47+
msgctxt "add new on admin bar"
48+
msgid "Sheet"
49+
msgstr "Kalenderblatt"
50+
51+
#: ../src/WP_Advent_Plugin_Custom.php:23
52+
msgctxt "sheet"
53+
msgid "Add New"
54+
msgstr "Neues Kalenderblatt hinzufügen"
55+
56+
#: ../src/WP_Advent_Plugin_Custom.php:24
57+
msgid "Add New Sheet"
58+
msgstr "Neues Kalenderblatt hinzufügen"
59+
60+
#: ../src/WP_Advent_Plugin_Custom.php:25
61+
msgid "New Sheet"
62+
msgstr "Neues Kalenderblatt"
63+
64+
#: ../src/WP_Advent_Plugin_Custom.php:26
65+
msgid "Edit Sheet"
66+
msgstr "Kalenderblatt bearbeiten"
67+
68+
#: ../src/WP_Advent_Plugin_Custom.php:27
69+
msgid "View Sheet"
70+
msgstr "Kalenderblatt ansehen"
71+
72+
#: ../src/WP_Advent_Plugin_Custom.php:28
73+
msgid "All Sheets"
74+
msgstr "Alle Kalenderblätter"
75+
76+
#: ../src/WP_Advent_Plugin_Custom.php:29
77+
msgid "Search Sheets"
78+
msgstr "Kalenderblätter durchsuchen"
79+
80+
#: ../src/WP_Advent_Plugin_Custom.php:31
81+
msgid "No sheets found."
82+
msgstr "Keine Kalenderblätter gefunden."
83+
84+
#: ../src/WP_Advent_Plugin_Custom.php:32
85+
msgid "No sheets found in Trash."
86+
msgstr "Keine Kalenderblätter gefunden."
87+
88+
#: ../src/WP_Advent_Plugin_Custom.php:53
89+
msgctxt "taxonomy general name"
90+
msgid "Calendars"
91+
msgstr "Adventskalender"
92+
93+
#: ../src/WP_Advent_Plugin_Custom.php:54 ../src/WP_Advent_Plugin_Custom.php:116
94+
msgctxt "taxonomy singular name"
95+
msgid "Calendar"
96+
msgstr "Kalender"
97+
98+
#: ../src/WP_Advent_Plugin_Custom.php:55
99+
msgid "Search Calendars"
100+
msgstr "Kalender durchsuchen"
101+
102+
#: ../src/WP_Advent_Plugin_Custom.php:56
103+
msgid "Popular Calendars"
104+
msgstr "Populäre Kalender"
105+
106+
#: ../src/WP_Advent_Plugin_Custom.php:57
107+
msgid "All Calendars"
108+
msgstr "Alle Kalender"
109+
110+
#: ../src/WP_Advent_Plugin_Custom.php:58
111+
msgid "Edit Calendar"
112+
msgstr "Kalender bearbeiten"
113+
114+
#: ../src/WP_Advent_Plugin_Custom.php:59
115+
msgid "View Calendar"
116+
msgstr "Kalender ansehen"
117+
118+
#: ../src/WP_Advent_Plugin_Custom.php:60
119+
msgid "Delete Calendar"
120+
msgstr "Kalender löschen"
121+
122+
#: ../src/WP_Advent_Plugin_Custom.php:63
123+
msgid "Update Calendar"
124+
msgstr "Kalender aktualisieren"
125+
126+
#: ../src/WP_Advent_Plugin_Custom.php:64
127+
msgid "Add New Calendar"
128+
msgstr "Neuen Kalender hinzufügen"
129+
130+
#: ../src/WP_Advent_Plugin_Custom.php:65
131+
msgid "New Calendar Name"
132+
msgstr "Name des neuen Kalenders"
133+
134+
#: ../src/WP_Advent_Plugin_Custom.php:66
135+
msgid "New Calendar Name:"
136+
msgstr "Name des neuen Kalenders:"
137+
138+
#: ../src/WP_Advent_Plugin_Custom.php:67
139+
msgid "Calendar"
140+
msgstr "Kalender"
141+
142+
#: ../src/WP_Advent_Plugin_Custom.php:68
143+
msgid "Separate calendars with commas"
144+
msgstr "Kalender mit Kommata trennen"
145+
146+
#: ../src/WP_Advent_Plugin_Custom.php:69
147+
msgid "Add or remove calendars"
148+
msgstr "Kalender hinzufügen oder entfernen"
149+
150+
#: ../src/WP_Advent_Plugin_Custom.php:71
151+
msgid "No calendars found."
152+
msgstr "Keine Kalender gefunden"
153+
154+
#: ../src/WP_Advent_Plugin_Custom.php:108
155+
msgid "Add to Calendar"
156+
msgstr "Zu Kalender hinzufügen"
157+
158+
#: ../src/WP_Advent_Plugin_Custom.php:179
159+
#: ../src/WP_Advent_Plugin_Custom.php:212
160+
msgid ""
161+
"We could not find a calendar for this sheet. Try to change the date of this "
162+
"post to the day you want the sheet to appear."
163+
msgstr ""
164+
"Es konnte kein passender Kalender gefunden werden. Versuche, das Datum "
165+
"dieses Eintrags auf den Tag zu ändern, an dem er im Kalender erscheinen soll."
166+
167+
#: ../src/WP_Advent_Plugin_Custom.php:227
168+
msgid "None of these calendars"
169+
msgstr "Keiner dieser Kalender"
170+
171+
#: ../tpl/management_page.php:11
172+
msgid "Year:"
173+
msgstr "Jahr:"
174+
175+
#: ../tpl/management_page.php:43
176+
msgid "Shortcode"
177+
msgstr "Shortcode"
178+
179+
#: ../tpl/management_page.php:52
180+
msgid "Calendar cover image"
181+
msgstr "Kalenderbild"
182+
183+
#: ../tpl/management_page.php:63
184+
msgid "Choose other image"
185+
msgstr "Bild auswählen"
186+
187+
#: ../tpl/management_page.php:76
188+
msgid "Manage calendar"
189+
msgstr "Kalender verwalten"
190+
191+
#: ../tpl/management_page.php:109
192+
msgid "Randomize days"
193+
msgstr "Zufällige Anordnung"
194+
195+
#: ../tpl/management_page.php:130
196+
msgid "Sheets that somehow got lost"
197+
msgstr "Kalenderblätter, die verloren gegangen sind"
198+
199+
#: ../tpl/meta_box_repair.php:23
200+
msgid "Add to this calendar"
201+
msgstr "Zu diesem Kalender hinzufügen"

readme.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
# WP-Advent-Plugin
1+
# WP Advent
2+
3+
With this plugin you can create a advent calendar on your WP site.
4+
5+
It is using shortcodes, so it is possible to add the calendar to a regular post, a page or any other post type.
6+
7+
Multiple calendars and calendar years are supported.

src/WP_Advent_Plugin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ class WP_Advent_Plugin {
77

88
public function __construct() {
99

10-
$this->plugin_name = 'wp-advent-plugin';
11-
$this->version = '1.1.2';
10+
$this->plugin_name = 'wp-advent';
11+
$this->version = '1.2.2';
1212

1313
$this->options = get_option($this->plugin_name);
1414

@@ -78,7 +78,7 @@ protected function _load_dependencies(){
7878
$this->loader = new WP_Advent_Plugin_Loader();
7979
}
8080
protected function _set_locale(){
81-
$plugin_i18n = new WP_Advent_Plugin_i18n($this->plugin_name, $this->version, $this);
81+
$plugin_i18n = new WP_Advent_Plugin_i18n('wp-advent', $this->version, $this);
8282

8383
$this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );
8484
}

src/WP_Advent_Plugin_Admin.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public function __construct( $plugin_name, $version, $plugin ) {
1414

1515
public function menues(){
1616
add_management_page(
17-
__('Advent Calendar',$this->plugin_name),
18-
__('Advent Calendar',$this->plugin_name),
17+
__('Advent Calendar','wp-advent'),
18+
__('Advent Calendar','wp-advent'),
1919
'edit_posts',
2020
'wp_advent_plugin',
2121
array($this, 'management_page')
@@ -27,8 +27,8 @@ public function enqueue_scripts(){
2727
wp_enqueue_script( $this->plugin_name, plugin_dir_url( dirname( __FILE__ )) . 'js/WP_Advent_Plugin_Admin.js', array( 'jquery' ), $this->version, false );
2828

2929
$translation_array = array(
30-
'are_you_sure' => __('Are you sure?',$this->plugin_name),
31-
'choose_image' => __('Choose Image',$this->plugin_name)
30+
'are_you_sure' => __('Are you sure?','wp-advent'),
31+
'choose_image' => __('Choose Image','wp-advent')
3232
);
3333
wp_localize_script( $this->plugin_name, 'wpadventplugin', $translation_array );
3434

0 commit comments

Comments
 (0)