Skip to content

Commit 4c10cd7

Browse files
author
Antti Kuosmanen
committed
Change the preview notice texts slightly for better language
1 parent a07727e commit 4c10cd7

6 files changed

Lines changed: 99 additions & 88 deletions

File tree

classes/class-cpt-wplf-form.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function modify_permalink_html( $html, $post_id ) {
102102
$publicly_visible = $this->get_publicly_visible_state( $post_id );
103103

104104
if( get_post_type( $post_id ) === 'wplf-form' && !$publicly_visible ) {
105-
$html .= '<span>'.__( 'Form is not publicly visible', 'wp-libre-form' ).__( ', permalink will not work for visitors.', 'wp-libre-form' ).'</span>';
105+
$html .= '<span>' . __( 'Permalink is for preview purposes only.', 'wp-libre-form' ) . '</span>';
106106
}
107107

108108
return $html;
@@ -484,8 +484,8 @@ function wplf_form( $id , $content = '', $xclass = '' ) {
484484
if( !$publicly_visible ) {
485485
?>
486486
<p style="background:#f5f5f5;border-left:4px solid #dc3232;padding:6px 12px;">
487-
<b style="color:#dc3232;"><?php _e( 'Form is not publicly visible', 'wp-libre-form' ) ?>.</b><br />
488-
<?php _e( 'Subscriber or visitor will see a 404 error page instead of form.', 'wp-libre-form' ) ?>
487+
<b style="color:#dc3232;"><?php _e( 'This form preview URL is not public and cannot be shared.', 'wp-libre-form' ) ?>.</b><br />
488+
<?php _e( 'Non-logged in visitors will see a 404 error page instead.', 'wp-libre-form' ) ?>
489489
</p>
490490
<?php
491491
}

lang/wp-libre-form-fi.mo

-93 Bytes
Binary file not shown.

lang/wp-libre-form-fi.po

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: WP Libre Form\n"
4-
"POT-Creation-Date: 2016-10-26 01:25+0300\n"
5-
"PO-Revision-Date: 2016-10-26 01:28+0300\n"
6-
"Last-Translator: Timi Wahalahti <timi@dude.fi>\n"
4+
"POT-Creation-Date: 2016-10-26 10:29+0100\n"
5+
"PO-Revision-Date: 2016-10-26 10:30+0100\n"
6+
"Last-Translator: Antti Kuosmanen <antti@seravo.fi>\n"
77
"Language-Team: Antti Kuosmanen <antti@seravo.fi>\n"
88
"Language: fi\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
1212
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
13-
"X-Generator: Poedit 1.8.11\n"
13+
"X-Generator: Poedit 1.8.8\n"
1414
"X-Poedit-Basepath: ..\n"
1515
"X-Poedit-WPHeader: wp-libre-form.php\n"
1616
"X-Poedit-SourceCharset: UTF-8\n"
@@ -77,13 +77,9 @@ msgstr "Lomakkeita ei löytynt."
7777
msgid "No forms found in Trash."
7878
msgstr "Roskakorissa ei ole lomakkeita."
7979

80-
#: classes/class-cpt-wplf-form.php:105 classes/class-cpt-wplf-form.php:518
81-
msgid "Form is not publicly visible"
82-
msgstr "Lomake ei näy julkisesti"
83-
8480
#: classes/class-cpt-wplf-form.php:105
85-
msgid ", permalink will not work for visitors."
86-
msgstr ", eikä kestolinkki toimi käyttäjillä."
81+
msgid "Permalink is for preview purposes only."
82+
msgstr "Kestolinkki toimii vain esikatseluna."
8783

8884
#: classes/class-cpt-wplf-form.php:163
8985
msgid "Please enter your name"
@@ -149,41 +145,37 @@ msgstr "Sähköpostit"
149145
msgid "Submission Title Format"
150146
msgstr "Nimi lähetetylle lomakkeelle"
151147

152-
#: classes/class-cpt-wplf-form.php:287
153-
msgid "Visibility"
154-
msgstr "Näkyvyys"
155-
156-
#: classes/class-cpt-wplf-form.php:310
148+
#: classes/class-cpt-wplf-form.php:301
157149
msgctxt "Default success message"
158150
msgid "Thank you! :)"
159151
msgstr "Kiitos! :)"
160152

161-
#: classes/class-cpt-wplf-form.php:331
153+
#: classes/class-cpt-wplf-form.php:322
162154
msgid "Fields marked with * are required"
163155
msgstr "Tähdelliset * kentät on pakollisia"
164156

165-
#: classes/class-cpt-wplf-form.php:352
157+
#: classes/class-cpt-wplf-form.php:343
166158
msgid "Send an email copy when a form is submitted?"
167159
msgstr "Lähetä kopio sähköpostiin kun lomake lähetetään?"
168160

169-
#: classes/class-cpt-wplf-form.php:368
161+
#: classes/class-cpt-wplf-form.php:359
170162
msgid "Submissions from this form will use this formatting in their title."
171163
msgstr ""
172164
"Tähän lomakkeeseen lähetetyt vastaukset nimetään allaolevan kaavan "
173165
"mukaisesti."
174166

175-
#: classes/class-cpt-wplf-form.php:369
167+
#: classes/class-cpt-wplf-form.php:360
176168
msgid "You may use any field values enclosed in \"%\" markers."
177169
msgstr ""
178170
"Voit käyttää otsikossa mitä tahansa kenttiä arvoja \"%\"-merkkien sisällä."
179171

180-
#: classes/class-cpt-wplf-form.php:385
181-
msgid "Make this form publicly visible with permalink?"
182-
msgstr "Näytä lomake julkisesti kestolinkillä?"
172+
#: classes/class-cpt-wplf-form.php:487
173+
msgid "This form preview URL is not public and cannot be shared."
174+
msgstr "Tämä esikatselusivu ei ole julkinen, eikä sitä voi jakaa."
183175

184-
#: classes/class-cpt-wplf-form.php:519
185-
msgid "Subscriber or visitor will see a 404 error page instead of form."
186-
msgstr "Tilaaja tai käyttäjä näkee lomakkeen sijaan 404-virhesivun."
176+
#: classes/class-cpt-wplf-form.php:488
177+
msgid "Non-logged in visitors will see a 404 error page instead."
178+
msgstr "Kirjautumattomille vierailijoille näytetään 404-sivu."
187179

188180
#: classes/class-cpt-wplf-submission.php:37
189181
msgctxt "post type general name"
@@ -297,6 +289,21 @@ msgstr "@anttiviljami"
297289
msgid "https://github.com/anttiviljami/"
298290
msgstr "https://github.com/anttiviljami/"
299291

292+
#~ msgid "Form is not publicly visible"
293+
#~ msgstr "Lomake ei näy julkisesti"
294+
295+
#~ msgid ", permalink will not work for visitors."
296+
#~ msgstr ", eikä kestolinkki toimi käyttäjillä."
297+
298+
#~ msgid "Visibility"
299+
#~ msgstr "Näkyvyys"
300+
301+
#~ msgid "Make this form publicly visible with permalink?"
302+
#~ msgstr "Näytä lomake julkisesti kestolinkillä?"
303+
304+
#~ msgid "Subscriber or visitor will see a 404 error page instead of form."
305+
#~ msgstr "Tilaaja tai käyttäjä näkee lomakkeen sijaan 404-virhesivun."
306+
300307
#~ msgid "Make this form publicly visible with direct link?"
301308
#~ msgstr "Näytä lomake julkisesti suoralla linkillä?"
302309

lang/wp-libre-form-nb_NO.mo

0 Bytes
Binary file not shown.

lang/wp-libre-form-nb_NO.po

Lines changed: 52 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: WP Libre Form\n"
4-
"POT-Creation-Date: 2016-02-21 23:16+0100\n"
5-
"PO-Revision-Date: 2016-02-22 15:12+0100\n"
4+
"POT-Creation-Date: 2016-10-26 10:29+0100\n"
5+
"PO-Revision-Date: 2016-10-26 10:29+0100\n"
66
"Last-Translator: Antti Kuosmanen <antti@seravo.fi>\n"
77
"Language-Team: Antti Kuosmanen <antti@seravo.fi>\n"
88
"Language: nb\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
1212
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
13-
"X-Generator: Poedit 1.8.6\n"
13+
"X-Generator: Poedit 1.8.8\n"
1414
"X-Poedit-Basepath: ..\n"
1515
"X-Poedit-WPHeader: wp-libre-form.php\n"
1616
"X-Poedit-SourceCharset: UTF-8\n"
@@ -20,148 +20,160 @@ msgstr ""
2020
"X-Poedit-SearchPath-0: .\n"
2121
"X-Poedit-SearchPathExcluded-0: *.js\n"
2222

23-
#: classes/class-cpt-wplf-form.php:53
23+
#: classes/class-cpt-wplf-form.php:56
2424
msgctxt "post type general name"
2525
msgid "Forms"
2626
msgstr "Skjemaer"
2727

28-
#: classes/class-cpt-wplf-form.php:54
28+
#: classes/class-cpt-wplf-form.php:57
2929
msgctxt "post type singular name"
3030
msgid "Form"
3131
msgstr "Skjema"
3232

33-
#: classes/class-cpt-wplf-form.php:55
33+
#: classes/class-cpt-wplf-form.php:58
3434
msgctxt "admin menu"
3535
msgid "Forms"
3636
msgstr "Skjemaer"
3737

38-
#: classes/class-cpt-wplf-form.php:56
38+
#: classes/class-cpt-wplf-form.php:59
3939
msgctxt "add new on admin bar"
4040
msgid "Form"
4141
msgstr "Skjema"
4242

43-
#: classes/class-cpt-wplf-form.php:57
43+
#: classes/class-cpt-wplf-form.php:60
4444
msgctxt "form"
4545
msgid "New Form"
4646
msgstr "nytt skjema"
4747

48-
#: classes/class-cpt-wplf-form.php:58
48+
#: classes/class-cpt-wplf-form.php:61
4949
msgid "Add New Form"
5050
msgstr "Lag nytt skjema"
5151

52-
#: classes/class-cpt-wplf-form.php:59
52+
#: classes/class-cpt-wplf-form.php:62
5353
msgid "New Form"
5454
msgstr "nytt skjema"
5555

56-
#: classes/class-cpt-wplf-form.php:60
56+
#: classes/class-cpt-wplf-form.php:63
5757
msgid "Edit Form"
5858
msgstr "Rediger skjema"
5959

60-
#: classes/class-cpt-wplf-form.php:61
60+
#: classes/class-cpt-wplf-form.php:64
6161
msgid "View Form"
6262
msgstr "Vis skjema"
6363

64-
#: classes/class-cpt-wplf-form.php:62 classes/class-cpt-wplf-submission.php:121
64+
#: classes/class-cpt-wplf-form.php:65 classes/class-cpt-wplf-submission.php:135
6565
msgid "All Forms"
6666
msgstr "Alle skjemaer"
6767

68-
#: classes/class-cpt-wplf-form.php:63
68+
#: classes/class-cpt-wplf-form.php:66
6969
msgid "Search Forms"
7070
msgstr "Søk etter skjema"
7171

72-
#: classes/class-cpt-wplf-form.php:64
72+
#: classes/class-cpt-wplf-form.php:67
7373
msgid "No forms found."
7474
msgstr "Ingen skjemaer funnet."
7575

76-
#: classes/class-cpt-wplf-form.php:65
76+
#: classes/class-cpt-wplf-form.php:68
7777
msgid "No forms found in Trash."
7878
msgstr "Ingen skjema ble funnet i papirkurven"
7979

80-
#: classes/class-cpt-wplf-form.php:148
80+
#: classes/class-cpt-wplf-form.php:105
81+
msgid "Permalink is for preview purposes only."
82+
msgstr ""
83+
84+
#: classes/class-cpt-wplf-form.php:163
8185
msgid "Please enter your name"
8286
msgstr "Vennligst skriv inn ditt navn"
8387

84-
#: classes/class-cpt-wplf-form.php:149
88+
#: classes/class-cpt-wplf-form.php:164
8589
msgctxt "Default placeholder name"
8690
msgid "John Doe"
8791
msgstr "Ola Nordmann"
8892

89-
#: classes/class-cpt-wplf-form.php:151
93+
#: classes/class-cpt-wplf-form.php:166
9094
msgid "Please enter your email address"
9195
msgstr "Vennligst skriv inn din e-postadresse"
9296

93-
#: classes/class-cpt-wplf-form.php:151 classes/class-cpt-wplf-form.php:154
97+
#: classes/class-cpt-wplf-form.php:166 classes/class-cpt-wplf-form.php:169
9498
msgid "(required)"
9599
msgstr "(påkrevd)"
96100

97-
#: classes/class-cpt-wplf-form.php:152
101+
#: classes/class-cpt-wplf-form.php:167
98102
msgctxt "Default placeholder email"
99103
msgid "example@email.com"
100104
msgstr "eksempel@e-mail.no"
101105

102-
#: classes/class-cpt-wplf-form.php:154
106+
#: classes/class-cpt-wplf-form.php:169
103107
msgid "Write your message below"
104108
msgstr "Skriv din melding nedenfor"
105109

106-
#: classes/class-cpt-wplf-form.php:155
110+
#: classes/class-cpt-wplf-form.php:170
107111
msgctxt "Default placeholder message"
108112
msgid "I wanted to ask about..."
109113
msgstr "Jeg ønsket å spørre om ..."
110114

111-
#: classes/class-cpt-wplf-form.php:157
115+
#: classes/class-cpt-wplf-form.php:172
112116
msgid "Submit"
113117
msgstr "Send"
114118

115-
#: classes/class-cpt-wplf-form.php:159
119+
#: classes/class-cpt-wplf-form.php:174
116120
msgctxt "The HTML comment at the end of the example form"
117121
msgid "Any valid HTML form can be used here!"
118122
msgstr "Alle gyldig skjema med HTML kan brukes her!"
119123

120-
#: classes/class-cpt-wplf-form.php:175 classes/class-cpt-wplf-form.php:212
124+
#: classes/class-cpt-wplf-form.php:201 classes/class-cpt-wplf-form.php:240
121125
msgid "Shortcode"
122126
msgstr "Shortcode"
123127

124-
#: classes/class-cpt-wplf-form.php:176 classes/class-cpt-wplf-submission.php:46
128+
#: classes/class-cpt-wplf-form.php:202 classes/class-cpt-wplf-submission.php:46
125129
msgid "Submissions"
126130
msgstr "Svar"
127131

128-
#: classes/class-cpt-wplf-form.php:222
132+
#: classes/class-cpt-wplf-form.php:250
129133
msgid "Success Message"
130134
msgstr "Suksessmelding"
131135

132-
#: classes/class-cpt-wplf-form.php:232
136+
#: classes/class-cpt-wplf-form.php:260
133137
msgid "Form Fields Detected"
134138
msgstr "Skjemafelt oppdaget"
135139

136-
#: classes/class-cpt-wplf-form.php:241
140+
#: classes/class-cpt-wplf-form.php:269
137141
msgid "Emails"
138142
msgstr "E-post"
139143

140-
#: classes/class-cpt-wplf-form.php:250
144+
#: classes/class-cpt-wplf-form.php:278
141145
msgid "Submission Title Format"
142146
msgstr "Tittel på svar"
143147

144-
#: classes/class-cpt-wplf-form.php:273
148+
#: classes/class-cpt-wplf-form.php:301
145149
msgctxt "Default success message"
146150
msgid "Thank you! :)"
147151
msgstr "Tusen takk! :)"
148152

149-
#: classes/class-cpt-wplf-form.php:294
153+
#: classes/class-cpt-wplf-form.php:322
150154
msgid "Fields marked with * are required"
151155
msgstr "Feltene merket med * er obligatoriske"
152156

153-
#: classes/class-cpt-wplf-form.php:315
157+
#: classes/class-cpt-wplf-form.php:343
154158
msgid "Send an email copy when a form is submitted?"
155159
msgstr "Send en e-post når et skjema er sendt?"
156160

157-
#: classes/class-cpt-wplf-form.php:331
161+
#: classes/class-cpt-wplf-form.php:359
158162
msgid "Submissions from this form will use this formatting in their title."
159163
msgstr "Svar fra dette skjemaet vil bruke denne formateringen i tittelen."
160164

161-
#: classes/class-cpt-wplf-form.php:332
165+
#: classes/class-cpt-wplf-form.php:360
162166
msgid "You may use any field values enclosed in \"%\" markers."
163167
msgstr "Du kan bruke feltverdier i \"%\" markører."
164168

169+
#: classes/class-cpt-wplf-form.php:487
170+
msgid "This form preview URL is not public and cannot be shared."
171+
msgstr ""
172+
173+
#: classes/class-cpt-wplf-form.php:488
174+
msgid "Non-logged in visitors will see a 404 error page instead."
175+
msgstr ""
176+
165177
#: classes/class-cpt-wplf-submission.php:37
166178
msgctxt "post type general name"
167179
msgid "Submissions"
@@ -223,15 +235,15 @@ msgstr "Henvisning"
223235
msgid "Form"
224236
msgstr "Skjema"
225237

226-
#: classes/class-cpt-wplf-submission.php:158
238+
#: classes/class-cpt-wplf-submission.php:172
227239
msgid "Submission"
228240
msgstr "Svar"
229241

230-
#: classes/class-cpt-wplf-submission.php:178
242+
#: classes/class-cpt-wplf-submission.php:193
231243
msgid "Field"
232244
msgstr "Felt"
233245

234-
#: classes/class-cpt-wplf-submission.php:179
246+
#: classes/class-cpt-wplf-submission.php:194
235247
msgid "Value"
236248
msgstr "Verdi"
237249

@@ -263,7 +275,7 @@ msgid "https://github.com/anttiviljami/wp-libre-form"
263275
msgstr ""
264276

265277
#. Description of the plugin/theme
266-
msgid "HTML form builder for WordPress"
278+
msgid "A minimal HTML form builder for WordPress; made for developers"
267279
msgstr ""
268280

269281
#. Author of the plugin/theme

0 commit comments

Comments
 (0)