discourse/config/locales
Alan Guo Xiang Tan cac60a2c6b
DEV: Support category type in theme setting object schema ()
Why this change?

This change supports a property of `type: category` in the schema that
is declared for a theme setting object. Example:

```
sections:
  type: objects
  schema:
    name: section
    properties:
      category_property:
        type: category
```

The value of a property declared as `type: category` will have to be a
valid id of a row in the `categories` table.

What does this change do?

Adds a property value validation step for `type: category`. Care has
been taken to ensure that we do not spam the database with a ton of
requests if there are alot of category typed properties. This is done by
walking through the entire object and collecting all the values for
properties typed category. After which, a single database query is
executed to validate which values are valid.
2024-02-21 08:11:15 +08:00
..
client.ar.yml Update translations () 2024-02-20 09:42:19 -05:00
client.be.yml Update translations () 2024-02-20 09:42:19 -05:00
client.bg.yml Update translations () 2024-02-20 09:42:19 -05:00
client.bs_BA.yml Update translations () 2024-02-20 09:42:19 -05:00
client.ca.yml Update translations () 2024-02-20 09:42:19 -05:00
client.cs.yml Update translations () 2024-02-20 09:42:19 -05:00
client.da.yml Update translations () 2024-02-20 09:42:19 -05:00
client.de.yml Update translations () 2024-02-20 09:42:19 -05:00
client.el.yml Update translations () 2024-02-20 09:42:19 -05:00
client.en_GB.yml Update translations () 2024-02-20 09:42:19 -05:00
client.en.yml FEATURE: Back button for schema theme settings () 2024-02-20 13:43:18 +03:00
client.es.yml Update translations () 2024-02-20 09:42:19 -05:00
client.et.yml Update translations () 2024-02-20 09:42:19 -05:00
client.fa_IR.yml Update translations () 2024-02-20 09:42:19 -05:00
client.fi.yml Update translations () 2024-02-20 09:42:19 -05:00
client.fr.yml Update translations () 2024-02-20 09:42:19 -05:00
client.gl.yml Update translations () 2024-02-20 09:42:19 -05:00
client.he.yml Update translations () 2024-02-20 09:42:19 -05:00
client.hr.yml Update translations () 2024-02-20 09:42:19 -05:00
client.hu.yml Update translations () 2024-02-20 09:42:19 -05:00
client.hy.yml Update translations () 2024-02-20 09:42:19 -05:00
client.id.yml Update translations () 2024-02-20 09:42:19 -05:00
client.it.yml Update translations () 2024-02-20 09:42:19 -05:00
client.ja.yml Update translations () 2024-02-20 09:42:19 -05:00
client.ko.yml Update translations () 2024-02-20 09:42:19 -05:00
client.lt.yml Update translations () 2024-02-20 09:42:19 -05:00
client.lv.yml Update translations () 2024-02-20 09:42:19 -05:00
client.nb_NO.yml Update translations () 2024-02-20 09:42:19 -05:00
client.nl.yml Update translations () 2024-02-20 09:42:19 -05:00
client.pl_PL.yml Update translations () 2024-02-20 09:42:19 -05:00
client.pt_BR.yml Update translations () 2024-02-20 09:42:19 -05:00
client.pt.yml Update translations () 2024-02-20 09:42:19 -05:00
client.ro.yml Update translations () 2024-02-20 09:42:19 -05:00
client.ru.yml Update translations () 2024-02-20 09:42:19 -05:00
client.sk.yml Update translations () 2024-02-20 09:42:19 -05:00
client.sl.yml Update translations () 2024-02-20 09:42:19 -05:00
client.sq.yml Update translations () 2024-02-20 09:42:19 -05:00
client.sr.yml Update translations () 2024-02-20 09:42:19 -05:00
client.sv.yml Update translations () 2024-02-20 09:42:19 -05:00
client.sw.yml Update translations () 2024-02-20 09:42:19 -05:00
client.te.yml Update translations () 2024-02-20 09:42:19 -05:00
client.th.yml Update translations () 2024-02-20 09:42:19 -05:00
client.tr_TR.yml Update translations () 2024-02-20 09:42:19 -05:00
client.uk.yml Update translations () 2024-02-20 09:42:19 -05:00
client.ur.yml Update translations () 2024-02-20 09:42:19 -05:00
client.vi.yml Update translations () 2024-02-20 09:42:19 -05:00
client.zh_CN.yml Update translations () 2024-02-20 09:42:19 -05:00
client.zh_TW.yml Update translations () 2024-02-20 09:42:19 -05:00
names.yml FIX: Vietnamese language native name 2023-12-21 18:03:57 +01:00
plurals.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
server.ar.yml Update translations () 2024-02-20 09:42:19 -05:00
server.be.yml Update translations () 2024-02-20 09:42:19 -05:00
server.bg.yml Update translations () 2024-02-20 09:42:19 -05:00
server.bs_BA.yml Update translations () 2024-02-20 09:42:19 -05:00
server.ca.yml Update translations () 2024-02-20 09:42:19 -05:00
server.cs.yml Update translations () 2024-02-20 09:42:19 -05:00
server.da.yml Update translations () 2024-02-20 09:42:19 -05:00
server.de.yml Update translations () 2024-02-20 09:42:19 -05:00
server.el.yml Update translations () 2024-02-20 09:42:19 -05:00
server.en_GB.yml Update translations () 2024-01-16 14:54:32 +01:00
server.en.yml DEV: Support category type in theme setting object schema () 2024-02-21 08:11:15 +08:00
server.es.yml Update translations () 2024-02-20 09:42:19 -05:00
server.et.yml Update translations () 2024-02-20 09:42:19 -05:00
server.fa_IR.yml Update translations () 2024-02-20 09:42:19 -05:00
server.fi.yml Update translations () 2024-02-20 09:42:19 -05:00
server.fr.yml Update translations () 2024-02-20 09:42:19 -05:00
server.gl.yml Update translations () 2024-02-20 09:42:19 -05:00
server.he.yml Update translations () 2024-02-20 09:42:19 -05:00
server.hr.yml Update translations () 2024-02-20 09:42:19 -05:00
server.hu.yml Update translations () 2024-02-20 09:42:19 -05:00
server.hy.yml Update translations () 2024-02-20 09:42:19 -05:00
server.id.yml Update translations () 2024-02-20 09:42:19 -05:00
server.it.yml Update translations () 2024-02-20 09:42:19 -05:00
server.ja.yml Update translations () 2024-02-20 09:42:19 -05:00
server.ko.yml Update translations () 2024-02-20 09:42:19 -05:00
server.lt.yml Update translations () 2024-02-20 09:42:19 -05:00
server.lv.yml Update translations () 2024-01-30 17:05:37 +01:00
server.nb_NO.yml Update translations () 2024-02-20 09:42:19 -05:00
server.nl.yml Update translations () 2024-02-20 09:42:19 -05:00
server.pl_PL.yml Update translations () 2024-02-20 09:42:19 -05:00
server.pt_BR.yml Update translations () 2024-02-20 09:42:19 -05:00
server.pt.yml Update translations () 2024-02-20 09:42:19 -05:00
server.ro.yml Update translations () 2024-02-20 09:42:19 -05:00
server.ru.yml Update translations () 2024-02-20 09:42:19 -05:00
server.sk.yml Update translations () 2024-02-20 09:42:19 -05:00
server.sl.yml Update translations () 2024-02-20 09:42:19 -05:00
server.sq.yml Update translations () 2024-02-20 09:42:19 -05:00
server.sr.yml Update translations () 2024-02-20 09:42:19 -05:00
server.sv.yml Update translations () 2024-02-20 09:42:19 -05:00
server.sw.yml Update translations () 2024-02-20 09:42:19 -05:00
server.te.yml Update translations () 2024-02-20 09:42:19 -05:00
server.th.yml Update translations () 2024-01-30 17:05:37 +01:00
server.tr_TR.yml Update translations () 2024-02-20 09:42:19 -05:00
server.uk.yml Update translations () 2024-02-20 09:42:19 -05:00
server.ur.yml Update translations () 2024-02-20 09:42:19 -05:00
server.vi.yml Update translations () 2024-02-20 09:42:19 -05:00
server.zh_CN.yml Update translations () 2024-02-20 09:42:19 -05:00
server.zh_TW.yml Update translations () 2024-02-20 09:42:19 -05:00
transliterate.ar.yml Create transliterate.ar.yml () 2018-07-31 14:41:49 +10:00
transliterate.bg.yml FEATURE: Add Bulgarian language 2018-05-29 21:07:17 +02:00
transliterate.de.yml FEATURE: Adds transliteration of German umlauts in slugs 2015-02-27 23:53:58 +01:00
transliterate.el.yml UX: Add transliteration support for the Greek language 2019-04-25 22:49:21 +02:00
transliterate.en.yml FEATURE: Adds transliteration of German umlauts in slugs 2015-02-27 23:53:58 +01:00
transliterate.ru.yml FEATURE: Adds transliteration of German umlauts in slugs 2015-02-27 23:53:58 +01:00
transliterate.vi.yml FIX: i18n integrity specs 2017-02-24 11:35:33 +01:00