Skip to content

Commit f3fd053

Browse files
author
gitlost
committed
Version 1.0.2 for WP 4.6.
1 parent 846d8a9 commit f3fd053

File tree

7 files changed

+75
-66
lines changed

7 files changed

+75
-66
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ php:
1212

1313
env:
1414
- WP_VERSION=latest
15+
- WP_VERSION=4.5.3
1516
- WP_VERSION=4.4.4
1617
- WP_VERSION=4.3.5
1718
- WP_VERSION=4.2.9

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
**Contributors:** [gitlost](https://profiles.wordpress.org/gitlost), [zodiac1978](https://profiles.wordpress.org/zodiac1978)
44
**Tags:** Unicode, Normalization, Form C, Unicode Normalization Form C, Normalize, Normalizer, UTF-8, NFC
55
**Requires at least:** 3.9.13
6-
**Tested up to:** 4.5.3
7-
**Stable tag:** 1.0.1
6+
**Tested up to:** 4.6
7+
**Stable tag:** 1.0.2
88
**License:** GPLv2 or later
99
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -40,7 +40,7 @@ data, and is fallible.
4040

4141
A google-cheating schoolboy French translation is supplied.
4242

43-
The plugin should run on PHP 5.2.17 to 7.0.9, and on WP 3.9.13 to 4.5.3.
43+
The plugin should run on PHP 5.2.17 to 7.0.9, and on WP 3.9.13 to 4.6.
4444

4545
The project is on [github](https://github.com/gitlost/unfc-normalize).
4646

@@ -74,6 +74,10 @@ global PHP variable `unfc_normalize`, but you should ensure that the `Normalizer
7474

7575
## Changelog ##
7676

77+
### 1.0.2 ###
78+
* Move all .php files bar main to includes subdir. Remove unused ajax.
79+
* Fix single-byte trie. Move regex alts to tools/functions.php.
80+
7781
### 1.0.1 ###
7882
* First release for wordpress.org repository.
7983
* Add assets.

languages/unfc-normalize-fr_FR.po

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is distributed under the GPLv2.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: UNFC Nörmalize 1.0.1\n"
5+
"Project-Id-Version: UNFC Nörmalize 1.0.2\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/unfc-normalize\n"
7-
"POT-Creation-Date: 2016-08-07 10:15+0100\n"
8-
"PO-Revision-Date: 2016-08-07 10:15+0100\n"
7+
"POT-Creation-Date: 2016-08-17 13:57+0100\n"
8+
"PO-Revision-Date: 2016-08-17 13:57+0100\n"
99
"Last-Translator: gitlost <[email protected]>\n"
1010
"Language-Team: \n"
1111
"Language: fr_FR\n"
@@ -229,33 +229,33 @@ msgstr "Dernière page"
229229
msgid "Select All"
230230
msgstr "Tout sélectionner"
231231

232-
#: includes/class-unfc-normalize.php:219
232+
#: includes/class-unfc-normalize.php:218
233233
msgid ""
234234
"The plugin \"UNFC Normalize\" is not compatible with your system and can't "
235235
"be activated."
236236
msgstr ""
237237
"L&rsquo;extension &laquo;&nbsp;UNFC Normalize&nbsp;&raquo; n&rsquo;est pas "
238238
"compatible avec votre système et ne peut pas être activée."
239239

240-
#: includes/class-unfc-normalize.php:266
240+
#: includes/class-unfc-normalize.php:265
241241
msgid "Plugin deactivated!"
242242
msgstr "Extension désactivée !"
243243

244-
#: includes/class-unfc-normalize.php:267
244+
#: includes/class-unfc-normalize.php:266
245245
msgid ""
246246
"The plugin \"UNFC Normalize\" is not compatible with your system and has "
247247
"been deactivated."
248248
msgstr ""
249249
"L&rsquo;extension &laquo;&nbsp;UNFC Normalize&nbsp;&raquo; n&rsquo;est pas "
250250
"compatible avec votre système et a été désactivée."
251251

252-
#: includes/class-unfc-normalize.php:290
252+
#: includes/class-unfc-normalize.php:289
253253
msgid "Warning: untested!"
254254
msgstr "Attention&nbsp;: non-testé&nbsp;!"
255255

256256
#. translators: %1$s: lowest WordPress version tested; %2$s: highest WordPress
257257
#. version tested; %3$s: user's current WordPress version.
258-
#: includes/class-unfc-normalize.php:296
258+
#: includes/class-unfc-normalize.php:295
259259
msgid ""
260260
"The plugin \"UNFC Normalize\" has only been tested on WordPress Versions "
261261
"%1$s to %2$s. You have WordPress Version %3$s."
@@ -264,56 +264,56 @@ msgstr ""
264264
"testée que sur des versions de WordPress %1$s à %2$s. Vous avez WordPress "
265265
"version %3$s."
266266

267-
#: includes/class-unfc-normalize.php:814
267+
#: includes/class-unfc-normalize.php:813
268268
msgid "Please wait..."
269269
msgstr "S&rsquo;il vous plaît attendre..."
270270

271-
#: includes/class-unfc-normalize.php:945 includes/class-unfc-normalize.php:1169
271+
#: includes/class-unfc-normalize.php:944 includes/class-unfc-normalize.php:1168
272272
msgid "UNFC Nörmalize Database Check"
273273
msgstr "UNFC Nörmalize vérifier la base de données"
274274

275-
#: includes/class-unfc-normalize.php:945
275+
#: includes/class-unfc-normalize.php:944
276276
msgid "UNFC Nörm Db Check"
277277
msgstr "UNFC Nörm vérifier"
278278

279-
#: includes/class-unfc-normalize.php:959 includes/class-unfc-normalize.php:1162
279+
#: includes/class-unfc-normalize.php:958 includes/class-unfc-normalize.php:1161
280280
msgid "Sorry, you are not allowed to access this page."
281281
msgstr ""
282282
"Désolé, vous n&rsquo;avez pas l&rsquo;autorisation d&rsquo;accéder à cette "
283283
"page. "
284284

285-
#: includes/class-unfc-normalize.php:1228
285+
#: includes/class-unfc-normalize.php:1227
286286
msgid "Rescan the Database"
287287
msgstr "Parcourir à nouveau la base de données"
288288

289-
#: includes/class-unfc-normalize.php:1230
289+
#: includes/class-unfc-normalize.php:1229
290290
msgid "Scan the Database"
291291
msgstr "Parcourir la base de données"
292292

293-
#: includes/class-unfc-normalize.php:1238
293+
#: includes/class-unfc-normalize.php:1237
294294
msgid ""
295295
"You can scan the database for non-normalized data (nothing will be updated):"
296296
msgstr ""
297297
"Vous pouvez parcourir la base de données pour les données non-normalisées "
298298
"(rien ne sera mis à jour)&nbsp;:"
299299

300-
#: includes/class-unfc-normalize.php:1243
300+
#: includes/class-unfc-normalize.php:1242
301301
msgid ""
302302
"Scanning the database can take a long time depending on the amount and type "
303303
"of data you have."
304304
msgstr ""
305305
"Parcourir la base de données peut prendre un certain temps en fonction de la "
306306
"quantité et le type des données que vous avez."
307307

308-
#: includes/class-unfc-normalize.php:1260
308+
#: includes/class-unfc-normalize.php:1259
309309
msgid ""
310310
"You can normalize the non-normalized data found in the database. The "
311311
"database <strong>will be updated</strong>."
312312
msgstr ""
313313
"Vous pouvez normaliser les données non-normalisées trouvées dans la base de "
314314
"données. La base de données <strong>sera mise à jour</strong>."
315315

316-
#: includes/class-unfc-normalize.php:1263
316+
#: includes/class-unfc-normalize.php:1262
317317
msgid ""
318318
"<strong>Important:</strong> before updating, please <a href=\"https://codex."
319319
"wordpress.org/WordPress_Backups\">back up your database</a>."
@@ -322,11 +322,11 @@ msgstr ""
322322
"<a href=\\\"https://codex.wordpress.org/fr:WordPress_Backups\\\">faire une "
323323
"sauvegarde de votre base de données </a>."
324324

325-
#: includes/class-unfc-normalize.php:1265
325+
#: includes/class-unfc-normalize.php:1264
326326
msgid "Normalize All"
327327
msgstr "Normaliser tous"
328328

329-
#: includes/class-unfc-normalize.php:1267
329+
#: includes/class-unfc-normalize.php:1266
330330
msgid ""
331331
"Normalizing can take a long time depending on the amount and type of data "
332332
"you have."
@@ -336,23 +336,23 @@ msgstr ""
336336

337337
#. translators: %1$s: formatted maximum number of non-normalized items listed;
338338
#. %2$s: formatted total number of non-normalized items found.
339-
#: includes/class-unfc-normalize.php:1283
339+
#: includes/class-unfc-normalize.php:1282
340340
msgid "First %1$s Non-Normalized Items of %2$s Found"
341341
msgstr "%1$s premiers identifiants non-normalisés de %2$s trouvés"
342342

343-
#: includes/class-unfc-normalize.php:1287
343+
#: includes/class-unfc-normalize.php:1286
344344
msgid "Non-Normalized Items"
345345
msgstr "Éléments non-normalisés"
346346

347-
#: includes/class-unfc-normalize.php:1313
347+
#: includes/class-unfc-normalize.php:1312
348348
msgid "Rescan Slugs"
349349
msgstr "Parcourir à nouveau les identifiants"
350350

351-
#: includes/class-unfc-normalize.php:1315
351+
#: includes/class-unfc-normalize.php:1314
352352
msgid "Scan Slugs"
353353
msgstr "Parcourir les identifiants"
354354

355-
#: includes/class-unfc-normalize.php:1323
355+
#: includes/class-unfc-normalize.php:1322
356356
msgid ""
357357
"You can scan the database for slugs that could be percent-encoded from non-"
358358
"normalized data (nothing will be updated):"
@@ -361,13 +361,13 @@ msgstr ""
361361
"pourraient être pour-cent encodé à partir des données non-normalisées (rien "
362362
"ne sera mis à jour)&nbsp;:"
363363

364-
#: includes/class-unfc-normalize.php:1326
364+
#: includes/class-unfc-normalize.php:1325
365365
msgid "A list of posts and/or terms with suspect slugs will be displayed."
366366
msgstr ""
367367
"Une liste des articles et&nbsp;/&nbsp;ou des termes avec les identifiants "
368368
"suspects sera affichée."
369369

370-
#: includes/class-unfc-normalize.php:1331
370+
#: includes/class-unfc-normalize.php:1330
371371
msgid ""
372372
"Scanning the slugs can take a long time depending on the amount and type of "
373373
"data you have."
@@ -377,68 +377,68 @@ msgstr ""
377377

378378
#. translators: %1$s: formatted maximum number of non-normalized slugs listed;
379379
#. %2$s: formatted total number of non-normalized slugs found.
380-
#: includes/class-unfc-normalize.php:1347
380+
#: includes/class-unfc-normalize.php:1346
381381
msgid "First %1$s Non-Normalized Slugs of %2$s Found"
382382
msgstr "%1$s premiers identifiants non-normalisés de %2$s trouvés"
383383

384-
#: includes/class-unfc-normalize.php:1351
384+
#: includes/class-unfc-normalize.php:1350
385385
msgid "Non-Normalized Slugs"
386386
msgstr "Identifiants non-normalisés"
387387

388-
#: includes/class-unfc-normalize.php:1522
388+
#: includes/class-unfc-normalize.php:1521
389389
msgid "Database error."
390390
msgstr "Erreur de base de données."
391391

392-
#: includes/class-unfc-normalize.php:1523
392+
#: includes/class-unfc-normalize.php:1522
393393
msgid "Meta data error."
394394
msgstr "Erreur de métadonnées."
395395

396-
#: includes/class-unfc-normalize.php:1524
396+
#: includes/class-unfc-normalize.php:1523
397397
msgid "Parameters error."
398398
msgstr "Erreur de paramètres."
399399

400-
#: includes/class-unfc-normalize.php:1525
400+
#: includes/class-unfc-normalize.php:1524
401401
msgid "Transient has expired. Please re-scan."
402402
msgstr "Le transitoire a expiré. Veuillez parcourir à nouveau."
403403

404-
#: includes/class-unfc-normalize.php:1526
404+
#: includes/class-unfc-normalize.php:1525
405405
msgid "Data out of sync!"
406406
msgstr "Les données se sont désynchronisées&nbsp;!"
407407

408-
#: includes/class-unfc-normalize.php:1527
408+
#: includes/class-unfc-normalize.php:1526
409409
msgid "No items selected!"
410410
msgstr "Aucun élément sélectionné&nbsp;!"
411411

412-
#: includes/class-unfc-normalize.php:1602
413-
#: includes/class-unfc-normalize.php:2038
412+
#: includes/class-unfc-normalize.php:1601
413+
#: includes/class-unfc-normalize.php:2037
414414
msgid "..."
415415
msgstr "..."
416416

417417
#. translators: %s: formatted number of items detected.
418-
#: includes/class-unfc-normalize.php:1639
418+
#: includes/class-unfc-normalize.php:1638
419419
msgid "%s non-normalized item detected."
420420
msgid_plural "%s non-normalized items detected."
421421
msgstr[0] "%s élement non-normalisé a détecté."
422422
msgstr[1] "%s élements non-normalisées ont détecté."
423423

424-
#: includes/class-unfc-normalize.php:1642
424+
#: includes/class-unfc-normalize.php:1641
425425
msgid "<strong>No</strong> non-normalized data detected!"
426426
msgstr "<strong>Aucune</strong> donnée non-normalisée a détecté&nbsp;!"
427427

428428
#. translators: %s: formatted number of items normalized.
429-
#: includes/class-unfc-normalize.php:1820
429+
#: includes/class-unfc-normalize.php:1819
430430
msgid "%s item normalized."
431431
msgid_plural "%s items normalized."
432432
msgstr[0] "%s élément a normalisé."
433433
msgstr[1] "%s éléments ont normalisé."
434434

435-
#: includes/class-unfc-normalize.php:1822
436-
#: includes/class-unfc-normalize.php:2252
435+
#: includes/class-unfc-normalize.php:1821
436+
#: includes/class-unfc-normalize.php:2251
437437
msgid "Nothing updated!"
438438
msgstr "Rien mis à jour&nbsp;!"
439439

440440
#. translators: %s: formatted number of items locked.
441-
#: includes/class-unfc-normalize.php:1827
441+
#: includes/class-unfc-normalize.php:1826
442442
msgid "%s item not normalized, somebody is editing it."
443443
msgid_plural "%s items not normalized, somebody is editing them."
444444
msgstr[0] ""
@@ -449,34 +449,34 @@ msgstr[1] ""
449449
"les modifier."
450450

451451
#. translators: %s: formatted number of items that failed to normalize.
452-
#: includes/class-unfc-normalize.php:1833
452+
#: includes/class-unfc-normalize.php:1832
453453
msgid "%s item not normalized, failed to normalize."
454454
msgid_plural "%s items not normalized, failed to normalize."
455455
msgstr[0] "%s élément n&rsquo;a pas normalisé, échoué à normaliser."
456456
msgstr[1] "%s éléments n&rsquo;ont pas normalisé, échoué à normaliser."
457457

458458
#. translators: %s: formatted number of percent-encoded items detected.
459-
#: includes/class-unfc-normalize.php:2072
459+
#: includes/class-unfc-normalize.php:2071
460460
msgid "%s non-normalized percent-encoded slug detected."
461461
msgid_plural "%s non-normalized percent-encoded slugs detected."
462462
msgstr[0] "%s identifiant pour-cent encodé non-normalisé a détecté."
463463
msgstr[1] "%s identifiants pour-cent encodés non-normalisés ont détecté."
464464

465-
#: includes/class-unfc-normalize.php:2076
465+
#: includes/class-unfc-normalize.php:2075
466466
msgid "<strong>No</strong> non-normalized percent-encoded slugs detected!"
467467
msgstr ""
468468
"<strong>Aucun</strong> identifiant pour-cent encodé non-normalisé a "
469469
"détecté&nbsp;!"
470470

471471
#. translators: %s: formatted number of slugs normalized.
472-
#: includes/class-unfc-normalize.php:2250
472+
#: includes/class-unfc-normalize.php:2249
473473
msgid "%s slug normalized."
474474
msgid_plural "%s slugs normalized."
475475
msgstr[0] "%s identifiant a normalisé."
476476
msgstr[1] "%s identifiants ont normalisé."
477477

478478
#. translators: %s: formatted number of items locked.
479-
#: includes/class-unfc-normalize.php:2257
479+
#: includes/class-unfc-normalize.php:2256
480480
msgid "%s slug not normalized, somebody is editing it."
481481
msgid_plural "%s slugs not normalized, somebody is editing them."
482482
msgstr[0] ""
@@ -487,21 +487,21 @@ msgstr[1] ""
487487
"de les modifier."
488488

489489
#. translators: %s: formatted number of slugs not found.
490-
#: includes/class-unfc-normalize.php:2263
490+
#: includes/class-unfc-normalize.php:2262
491491
msgid "%s slug not normalized, no longer exists."
492492
msgid_plural "%s slugs not normalized, no longer exist."
493493
msgstr[0] "%s identifiant n&rsquo;a pas normalisé, n&rsquo;existe plus."
494494
msgstr[1] "%s identifiants n&rsquo;ont pas normalisé, n&rsquo;existent plus."
495495

496496
#. translators: %s: formatted number of slugs not non-normalized.
497-
#: includes/class-unfc-normalize.php:2269
497+
#: includes/class-unfc-normalize.php:2268
498498
msgid "%s slug not normalized, no longer non-normalized."
499499
msgid_plural "%s slugs not normalized, no longer non-normalized."
500500
msgstr[0] "%s identifiant n&rsquo;a pas normalisé, plus non-normalisé."
501501
msgstr[1] "%s identifiants n&rsquo;ont pas normalisé, plus non-normalisé."
502502

503503
#. translators: %s: formatted number of slugs that failed to normalize.
504-
#: includes/class-unfc-normalize.php:2275
504+
#: includes/class-unfc-normalize.php:2274
505505
msgid "%s slug not normalized, failed to normalize."
506506
msgid_plural "%s slugs not normalized, failed to normalize."
507507
msgstr[0] "%s identifiant n&rsquo;a pas normalisé, échoué à normaliser."
@@ -516,8 +516,8 @@ msgstr ""
516516
"%s&nbsp;&raquo;"
517517

518518
#. translators: %s: file name
519-
#: tools/gen_mn_regex.php:31 tools/gen_mnme_regex.php:31
520-
#: tools/gen_unidata.php:74
519+
#: tools/gen_mn_regex.php:30 tools/gen_mnme_regex.php:31
520+
#: tools/gen_unidata.php:109
521521
msgid "Could not read unicode data file \"%s\""
522522
msgstr ""
523523
"Impossible de lire le fichier de données unicode &laquo;&nbsp;%s&nbsp;&raquo;"

languages/unfc-normalize.pot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is distributed under the GPLv2.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: UNFC Nörmalize 1.0.1\n"
5+
"Project-Id-Version: UNFC Nörmalize 1.0.2\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/unfc-normalize\n"
77
"POT-Creation-Date: 2016-07-30 18:01:12+00:00\n"
88
"MIME-Version: 1.0\n"
@@ -478,8 +478,8 @@ msgstr[1] ""
478478
msgid "Could not read derived combining class file \"%s\""
479479
msgstr ""
480480

481-
#: tools/gen_mn_regex.php:31 tools/gen_mnme_regex.php:31
482-
#: tools/gen_unidata.php:74
481+
#: tools/gen_mn_regex.php:30 tools/gen_mnme_regex.php:31
482+
#: tools/gen_unidata.php:109
483483
#. translators: %s: file name
484484
msgid "Could not read unicode data file \"%s\""
485485
msgstr ""

0 commit comments

Comments
 (0)