discourse/config/locales
Joffrey JAFFEUX cbc0ece6e8
DEV: <DSelect /> (#30224)
`<DSelect />` is a wrapper similar to our existing `<DButton />` over the html element `<select>`. The code is ported from form kit which is now directly using `<DSelect />`. Note this component has also been used in edit topic timer modal.

This component is recommended for a small list of text items (no icons, no rich formatting...).

Usage:

```gjs
<DSelect class="my-select" @onChange={{this.handleChange}} as |select|>
  <select.Option @value="foo" class="my-favorite-option">Foo</select.Option>
  <select.Option @value="bar">Bar</select.Option>
</DSelect>
```

This commit comes with a set of assertions:

```gjs
import dselect from "discourse/tests/helpers/d-select-helper";
import { select } from "@ember/test-helpers";

assert
  .dselect(".my-select")
  .hasOption({ value: "bar", label: "Bar" })
  .hasOption({ value: "foo", label: "Foo" })
  .hasNoOption("baz");

await select(".my-select", "foo");

assert.dselect(".my-select").hasSelectedOption({value: "foo", label: "Foo"});
```
2024-12-13 10:40:06 +01:00
..
client.ar.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.be.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.bg.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.bs_BA.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.ca.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.cs.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.da.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.de.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.el.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.en_GB.yml Update translations (#29715) 2024-11-12 14:54:38 +01:00
client.en.yml DEV: <DSelect /> (#30224) 2024-12-13 10:40:06 +01:00
client.es.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.et.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.fa_IR.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.fi.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.fr.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.gl.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.he.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.hr.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.hu.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.hy.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.id.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.it.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.ja.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.ko.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.lt.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.lv.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.nb_NO.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.nl.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.pl_PL.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.pt_BR.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.pt.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.ro.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.ru.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.sk.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.sl.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.sq.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.sr.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.sv.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.sw.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.te.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.th.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.tr_TR.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.ug.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.uk.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.ur.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.vi.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
client.zh_CN.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
client.zh_TW.yml Update translations (#30148) 2024-12-06 18:04:53 +01:00
names.yml DEV: Add missing Chinese simplified to names.yml (#27847) 2024-07-11 07:54:45 -07:00
plurals.rb DEV: Update Ruby I18n pluralization rules 2024-07-29 15:44:52 +02:00
server.ar.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.be.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.bg.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.bs_BA.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.ca.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.cs.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.da.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.de.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.el.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.en_GB.yml Update translations (#28577) 2024-08-29 15:37:52 -04:00
server.en.yml UX: Rename private to personal messages in the interface (#29679) 2024-12-12 11:44:19 +11:00
server.es.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.et.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.fa_IR.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.fi.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.fr.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.gl.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.he.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.hr.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.hu.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.hy.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.id.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.it.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.ja.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.ko.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.lt.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.lv.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.nb_NO.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.nl.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.pl_PL.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.pt_BR.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.pt.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.ro.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.ru.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.sk.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.sl.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.sq.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.sr.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.sv.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.sw.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.te.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.th.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.tr_TR.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.ug.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.uk.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.ur.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.vi.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.zh_CN.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
server.zh_TW.yml Update translations (#30202) 2024-12-10 20:16:34 +01:00
transliterate.ar.yml
transliterate.bg.yml
transliterate.de.yml
transliterate.el.yml
transliterate.en.yml
transliterate.ru.yml
transliterate.ug.yml FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
transliterate.vi.yml