Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-wpdesk-rating-petition
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-wpdesk-rating-petition
Commits
4d842bc1
Commit
4d842bc1
authored
3 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
feature(petition): styling
parent
5d53fa29
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
feature(petition): styling
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
assets/css/style.css
+4
-0
4 additions, 0 deletions
assets/css/style.css
lang/wpdesk-rating-petition-pl_PL.po
+16
-7
16 additions, 7 deletions
lang/wpdesk-rating-petition-pl_PL.po
src/views/html-text-petition.php
+3
-3
3 additions, 3 deletions
src/views/html-text-petition.php
with
23 additions
and
10 deletions
assets/css/style.css
+
4
−
0
View file @
4d842bc1
...
@@ -9,6 +9,10 @@
...
@@ -9,6 +9,10 @@
font-weight
:
600
;
font-weight
:
600
;
}
}
.wpdesk-rating-petition
span
.plugins-repository
{
text-decoration
:
underline
;
}
.wpdesk-rating-petition
span
.plugin-title
{
.wpdesk-rating-petition
span
.plugin-title
{
font-weight
:
600
;
font-weight
:
600
;
}
}
...
...
This diff is collapsed.
Click to expand it.
lang/wpdesk-rating-petition-pl_PL.po
+
16
−
7
View file @
4d842bc1
msgid ""
msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: WP Desk Helper\n"
"Project-Id-Version: WP Desk Helper\n"
"POT-Creation-Date: 20
19-11-29 18:4
6+0100\n"
"POT-Creation-Date: 20
22-02-07 14:2
6+0100\n"
"PO-Revision-Date: 20
19-11-29 18:47
+0100\n"
"PO-Revision-Date: 20
22-02-07 14:26
+0100\n"
"Last-Translator: Krzysztof Dyszczyk <krzysztof.dyszczyk@gmail.com>\n"
"Last-Translator: Krzysztof Dyszczyk <krzysztof.dyszczyk@gmail.com>\n"
"Language-Team: Polish\n"
"Language-Team: Polish\n"
"Language: pl_PL\n"
"Language: pl_PL\n"
"MIME-Version: 1.0\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.4\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
"|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
...
@@ -20,7 +20,7 @@ msgstr ""
...
@@ -20,7 +20,7 @@ msgstr ""
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"
#: RatingPetitionNotice.php:16
0
#: RatingPetitionNotice.php:16
9
#, php-format
#, php-format
msgid ""
msgid ""
"Awesome, you've been using %s for more than 2 weeks. Could you please do me "
"Awesome, you've been using %s for more than 2 weeks. Could you please do me "
...
@@ -29,21 +29,30 @@ msgstr ""
...
@@ -29,21 +29,30 @@ msgstr ""
"Fantastycznie, korzystasz z %s już ponad 2 tygodnie. Czy możesz wyświadczyć "
"Fantastycznie, korzystasz z %s już ponad 2 tygodnie. Czy możesz wyświadczyć "
"mi wielką przysługę i wystawić 5-gwiazdkową ocenę? ~Piotr"
"mi wielką przysługę i wystawić 5-gwiazdkową ocenę? ~Piotr"
#: RatingPetitionNotice.php:1
75
#: RatingPetitionNotice.php:1
84
#, php-format
#, php-format
msgid "%1$sOk, you deserved it%2$s"
msgid "%1$sOk, you deserved it%2$s"
msgstr "%1$sTak, zasługujecie na nią%2$s"
msgstr "%1$sTak, zasługujecie na nią%2$s"
#: RatingPetitionNotice.php:1
81
#: RatingPetitionNotice.php:1
90
#, php-format
#, php-format
msgid "%1$sNope, maybe later%2$s"
msgid "%1$sNope, maybe later%2$s"
msgstr "%1$sNie, może później%2$s"
msgstr "%1$sNie, może później%2$s"
#: RatingPetitionNotice.php:1
87
#: RatingPetitionNotice.php:1
96
#, php-format
#, php-format
msgid "%1$sI already did%2$s"
msgid "%1$sI already did%2$s"
msgstr "%1$sJuż to zrobiłem/zrobiłam%2$s"
msgstr "%1$sJuż to zrobiłem/zrobiłam%2$s"
#: views/html-text-petition.php:11
#, php-format
msgid ""
"Created with %1$s by %2$s - If you like %3$s you can %4$srate us %5$s in "
"plugins repository →%6$s"
msgstr ""
"Stworzone z %1$s przez %2$s - jeżeli podoba Ci się %3$s możesz %4$sdać nam "
"%5$s w repozytorium wtyczek →%6$s"
#, php-format
#, php-format
#~ msgid ""
#~ msgid ""
#~ "We recommend to <a href=\"%s\">deactivate and remove</a> the \"WP Desk "
#~ "We recommend to <a href=\"%s\">deactivate and remove</a> the \"WP Desk "
...
...
This diff is collapsed.
Click to expand it.
src/views/html-text-petition.php
+
3
−
3
View file @
4d842bc1
...
@@ -8,13 +8,13 @@
...
@@ -8,13 +8,13 @@
?>
<div
class=
"wpdesk-rating-petition"
style=
"text-align:
<?php
echo
esc_attr
(
$text_align
);
?>
;"
>
?>
<div
class=
"wpdesk-rating-petition"
style=
"text-align:
<?php
echo
esc_attr
(
$text_align
);
?>
;"
>
<?php
echo
wp_kses_post
(
<?php
echo
wp_kses_post
(
sprintf
(
sprintf
(
__
(
'Created with %1$s by %2$s - If you like %3$s you can %4$srate us %5$s in plugins repository%6$s'
,
'wp-wpdesk-rating-petition'
),
__
(
'Created with %1$s by %2$s - If you like %3$s you can %4$srate us %5$s in plugins repository
→
%6$s'
,
'wp-wpdesk-rating-petition'
),
'<span class="heart">♥</span>'
,
'<span class="heart">♥</span>'
,
$plugin_author
,
$plugin_author
,
'<span class="plugin-title">'
.
$plugin_title
.
'</span>'
,
'<span class="plugin-title">'
.
$plugin_title
.
'</span>'
,
'<a href="'
.
$rating_url
.
'" target="_blank">'
,
'<a href="'
.
$rating_url
.
'" target="_blank">'
,
'<span class="star">★★★★★</span>'
,
'<span class="star">★★★★★</span>
<span class="plugins-repository">
'
,
'</a>'
'</
span></
a>'
)
)
);
?>
);
?>
</div>
</div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment