ReFlar / polls

[ABANDONED] See https://github.com/FriendsOfFlarum/polls
MIT License
14 stars 14 forks source link

Locale: Remove Unwanted/Uneeded Colon in EN and FR YML Locale Files #35

Closed Ralkage closed 6 years ago

Ralkage commented 6 years ago

As per research/results/analysis from MigrateToFlarum Lab, both en.yml and fr.yml have an unwanted/uneeded colon that should either be removed or wrapped in double quotes (IF possible).

Warning from MigrateToFlarum Lab:

We found issues with the locale files provided by this extension:

Could not parse file /locale/en.yml: A colon cannot be used in an unquoted mapping value at line 2333 (near "public_poll: Public poll: Click to view voters").

Ignore the line number, the issue lies within both translation files where a colon exists after "Public poll" and before "Click to view voters". See suggestion from my intro.

Flarum/Server/Client Information

Technical Details

Flarum Info

Flarum core 0.1.0-beta.7
PHP 7.0.28-0ubuntu0.16.04.1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, json, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, Zend OPcache
EXT flarum-approval v0.1.0-beta.7
EXT flarum-bbcode v0.1.0-beta.5
EXT flarum-emoji v0.1.0-beta.6
EXT flarum-english v0.1.0-beta.7
EXT flagrow-bazaar 0.2.4
EXT flarum-flags v0.1.0-beta.7
EXT flarum-likes v0.1.0-beta.6
EXT flarum-lock v0.1.0-beta.7
EXT flarum-markdown v0.1.0-beta.5
EXT flarum-mentions v0.1.0-beta.7
EXT reflar-polls 1.2.2
EXT flarum-sticky v0.1.0-beta.7
EXT flarum-subscriptions v0.1.0-beta.6
EXT flarum-suspend v0.1.0-beta.7
EXT flarum-tags v0.1.0-beta.8
Base URL: https://reflar.redevs.org/demo
Installation path: Omitted due to security issues.

Log Files

N/A