Vietnamese extention for Flarum
Enabling the extension crashed the forum client-side with JS error:
Uncaught TypeError: Cannot read property 'type' of null
at t.e.pushObject (Store.js:57)
at Array.map (<anonymous>)
at t.e.pushPayload (Store.js:37)
at e.boot (Application.js:171)
at (index):223
Details:
e.pushObject @ Store.js:57
e.pushPayload @ Store.js:37
e.boot @ Application.js:171
(anonymous) @ (index):223
index.js:13 Uncaught TypeError: Cannot read property 'attribute' of null
at Object.success (index.js:13)
at c (jquery.js:3500)
at Object.fireWith [as resolveWith] (jquery.js:3630)
at S (jquery.js:9796)
at HTMLScriptElement.n (jquery.js:10180)
at HTMLScriptElement.dispatch (jquery.js:5430)
at HTMLScriptElement.v.handle (jquery.js:5234)
Details:
(anonymous) @ index.js:13
c @ jquery.js:3500
fireWith @ jquery.js:3630
S @ jquery.js:9796
n @ jquery.js:10180
dispatch @ jquery.js:5430
v.handle @ jquery.js:5234
load (async)
add @ jquery.js:5282
(anonymous) @ jquery.js:5182
each @ jquery.js:385
each @ jquery.js:207
kt @ jquery.js:5181
on @ jquery.js:5906
send @ jquery.js:10176
ajax @ jquery.js:9690
C.each.C.<computed> @ jquery.js:9846
getScript @ jquery.js:9831
(anonymous) @ index.js:12
(anonymous) @ index.js:11
(anonymous) @ Application.js:169
e.boot @ Application.js:169
(anonymous) @ (index):223
checkForApproval.js:18 Uncaught TypeError: Cannot read property 'user' of null
at checkForApproval.js:18
PHP Flarum info:
Flarum core 1.0.4
PHP version: 8.0.8
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, Zend OPcache
+-------------------------------------+--------------+--------+
| Flarum Extensions | | |
+-------------------------------------+--------------+--------+
| ID | Version | Commit |
+-------------------------------------+--------------+--------+
| flarum-flags | v1.0.0 | |
| flarum-approval | v1.0.0 | |
| flarum-tags | v1.0.3 | |
| flarum-suspend | v1.0.0 | |
| flarum-markdown | v1.0.1 | |
| flarum-nicknames | v1.0.0 | |
| fof-oauth | 1.0.1 | |
| flarum-likes | v1.0.0 | |
| askvortsov-auto-moderator | v0.1.1 | |
| fof-spamblock | 1.0.0 | |
| fof-upload | 1.0.1 | |
| fof-disposable-emails | 1.0.0 | |
| fof-byobu | 1.0.0-beta.7 | |
| clarkwinkelmann-group-list | 1.0.0 | |
| askvortsov-checklist | v1.3.1 | |
| fof-user-directory | 1.0.2 | |
| fof-reactions | 1.0.0 | |
| clarkwinkelmann-author-change | 1.0.1 | |
| askvortsov-discussion-templates | v0.8.0 | |
| fof-default-user-preferences | 1.0.0 | |
| askvortsov-categories | v3.0.0 | |
| nomiscz-auth-steam | v1.0.1 | |
| flarum-subscriptions | v1.0.0 | |
| therealsujitk-gifs | v4.0.0 | |
| askvortsov-help-tags | v1.1.0 | |
| fof-username-request | 1.0.0 | |
| malago-achievements | 0.4.1 | |
| fof-bbcode-details | 1.0.0 | |
| fof-drafts | 1.0.1 | |
| fof-best-answer | 1.0.1 | |
| fof-terms | 1.0.0 | |
| fof-pretty-mail | 1.0.1 | |
| fof-polls | 1.0.3 | |
| fof-ban-ips | 1.0.0 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
| flarum-lock | v1.0.0 | |
| antoinefr-money | v1.0.0 | |
| sycho-profile-cover | v1.3.0 | |
| fof-share-social | 1.0.0 | |
| fof-nightmode | 1.0.0 | |
| flarum-bbcode | v1.0.0 | |
| flarum-emoji | v1.0.0 | |
| flarum-mentions | v1.0.0 | |
| flarum-statistics | v1.0.0 | |
| flarum-sticky | v1.0.0 | |
| migratetoflarum-canonical | 1.0.0 | |
| v17development-seo | v1.8.0 | |
| fof-user-bio | 1.0.0 | |
| fof-ignore-users | 1.0.0 | |
| fof-socialprofile | 1.0.0 | |
| fof-profile-image-crop | 1.0.0 | |
| fof-links | 1.0.0 | |
| fof-pages | 1.0.1 | |
| fof-recaptcha | 1.0.0 | |
| fof-formatting | 1.0.0 | |
| jslirola-login2seeplus | v0.2 | |
| fof-prevent-necrobumping | 1.0.0 | |
| askvortsov-rich-text | v2.0.3 | |
| flarum-embed | v1.0.0 | |
| fof-split | 1.0.0 | |
| ianm-html-head | 1.0.0 | |
| fof-merge-discussions | 1.0.0 | |
| sycho-advanced-extension-categories | v0.1.3 | |
| clarkwinkelmann-first-post-approval | 1.0.0 | |
| flarum-pusher | v1.0.0 | |
| ianm-synopsis | 1.0.0 | |
| nearata-no-self-likes | v1.2.0 | |
| fof-webhooks | 1.0.2 | |
| askvortsov-moderator-warnings | v0.6.0 | |
| the-turk-mathren | 0.3.7 | |
| v17development-user-badges | v0.2.1 | |
| flarum-lang-english | v1.0.0 | |
| yannisme-confixtheme | 2.0.2 | |
| fof-stopforumspam | 1.0.0 | |
| fof-linguist | 1.0.0 | |
+-------------------------------------+--------------+--------+
Used Vietnamese language version v1.1.7.1
, happened on a FreeFlarum.com forum.
- Edited
V1.1.8
Fix yaml validation error
Add justoverclock/flarum-ext-feedback, the-turk/flarum-flamoji, the-turk/flarum-nodp, sycho/flarum-profile-cover, maicol07/flarum-ext-sso, sycho/flarum-advanced-extension-categories, askvortsov/flarum-rich-text, ianm/html-head,
fof/webhooks, fof/stopforumspam, fof/prevent-necrobumping, fof/ignore-users, fof/html-errors, fof/gamification, fof/filter, fof/doorman, dem13n/discussion-cards, clarkwinkelmann/flarum-ext-first-post-approval
datlechin I have some questions about the repository transfer procedure
I'm listening . But you don't need to transfer anything. I'll import existing translations from your language pack to Weblate, a since then all translation will be exported from Weblate to your language pack. So it does not change that much, you just need to use Weblate interface instead of editing YAML files directly (bot may overwrite your changes in that case, since it always uses state from template to generate YAML files in language pack and ignores any direct modifications in these files).
Transfer repository to https://github.com/flarum-lang is different story, and while it is recommended, it is not really necessary in order to use Weblate.
datlechin I would prefer to handle this through Discord or GitHub. There are also instruction on how to start on project wiki: https://github.com/rob006-software/flarum-translations/wiki/How-to-start
- Edited
V1.1.9
Update translation for validation.yml
Add michaelbelgium/mybb-to-flarum, nearata/flarum-ext-cakeday, katosdev/signature, ramesh-dada/realtime, glowingblue/redis-setup
- Edited
Locking discussion pending a new one.