Commit Graph

131 Commits

Author SHA1 Message Date
9c29d688e7 FEATURE: Add word count and indicator when exceeded max (#19367)
**This PR creates a new core reusable component wraps a character counter around any input.**

The component accepts the arguments: `max` (the maximum character limit), `value` (the value of text to be monitored).

It can be used for example, like so:
```hbs
  <CharCounter @max="50" @value={{this.charCounterContent}}>
    <textarea
      placeholder={{i18n "styleguide.sections.char_counter.placeholder"}}
      {{on "input" (action (mut this.charCounterContent) value="target.value")}}
      class="styleguide--char-counter"></textarea>
  </CharCounter>
```

**This PR also:**
1. Applies this component to the chat plugins edit channel's *Edit Description** modal, thereby replacing the simple text area which provided no visual indication when text exceeded the max allowed characters.
2. Adds an example to the `/styleguide` route
2023-02-20 12:06:43 +01:00
055310cea4 DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
58ffa06d4a Update translations (#19340) 2022-12-06 16:22:23 +01:00
2eee6fb644 Update translations (#19150) 2022-11-22 15:01:19 +01:00
33f601c8ad Update translations (#19033) 2022-11-16 11:39:47 +01:00
d7844a797f Update translations (#18948) 2022-11-09 00:00:28 +01:00
82425b23ee Update translations (#18813) 2022-11-02 15:13:47 +01:00
5f02f11acc Update translations (#18740) 2022-10-25 17:00:49 +02:00
0af2837b73 Update translations (#18642) 2022-10-19 15:19:28 +02:00
5dea425ee9 Update translations (#18381) 2022-09-27 19:07:56 +02:00
d00cd3295e Update translations (#18183) 2022-09-13 16:04:18 +02:00
d7ce2d40dd Update translations (#18053) 2022-08-23 17:24:36 +02:00
f06e586c19 Update translations (#17756) 2022-08-02 16:54:12 +02:00
023835cdad DEV: a new d-tooltip component (#17513) 2022-07-28 18:33:20 +04:00
7ac485fb9f FEATURE: Add Croatian language (#17130)
Co-authored-by: Gerhard Schlager <gerhard.schlager@discourse.org>
2022-06-18 00:18:22 +02:00
e0364cf228 Update translations (#17087) 2022-06-14 16:57:33 +02:00
41fa278c00 Update translations (#16958) 2022-05-31 16:14:37 +02:00
d303466c30 Update translations (#16902) 2022-05-24 16:03:04 +02:00
51e29d3ca8 Update translations (#16608) 2022-05-03 15:30:59 +02:00
adfa4ebed8 Update translations (#16566) 2022-04-27 14:42:11 +02:00
4ec6af064a Update translations (#16505) 2022-04-19 15:45:09 +02:00
a1d7e77967 Update translations (#16456) 2022-04-12 21:04:30 +02:00
fe689115d4 Update translations (#16378) 2022-04-05 15:28:19 +02:00
12423b56cb Update translations (#15928) 2022-02-15 15:10:10 +01:00
0dfaaf49a5 Update translations (#15816) 2022-02-04 16:23:45 +00:00
022480b461 Update translations (#15763) 2022-02-01 16:15:18 +01:00
5fd13380d8 Update translations (#15705) 2022-01-25 14:27:05 +01:00
f0435ca1a7 Update translations (#15673) 2022-01-23 11:14:20 +01:00
bcc148556f DEV: add empty state placeholder to styleguide (#15617) 2022-01-18 17:52:48 +04:00
14b8cd5e17 Update translations (#15637) 2022-01-18 14:41:41 +01:00
2976b63094 Update translations (#15540) 2022-01-11 14:21:34 +01:00
4afd6f0189 Update translations (#15292) 2021-12-14 14:53:35 +01:00
3fec579ede Update translations (#15210) 2021-12-07 16:19:44 +01:00
b12f89e351 Update translations (#15140) 2021-11-30 21:06:39 +01:00
8420cf047e Update translations (#14970) 2021-11-16 16:17:10 +01:00
6894b3f3af Update translations (#14792) 2021-11-02 18:49:00 +01:00
25097fa0af Update translations (#14648) 2021-10-19 15:23:54 +02:00
b44119cdb2 Update translations (#14579) 2021-10-12 16:00:22 +02:00
0f5d737a61 Update translations (#14513) 2021-10-05 15:59:26 +02:00
c995b20ca4 Update translations (#14063) 2021-08-24 15:25:44 +02:00
6b87ae3d4c Update translations (#13929) 2021-08-04 14:14:52 +02:00
0c422cff1e Update translations (#13898) 2021-07-30 11:30:10 +02:00
e951cb9aef Update translations (#13860) 2021-07-27 15:24:03 +02:00
3667cc6447 Update translations (#13821) 2021-07-22 12:31:19 +02:00
28b5e6e47d Update translations (#13796) 2021-07-21 10:30:34 +02:00
ec9a2a04f3 Fix i18n issues reported on Crowdin (#13769)
* Removes unused strings
* Clarifies some of the strings
* Fixes typos

@discourse-translator-bot keep_translations_and_approvals
2021-07-19 09:30:48 +08:00
53fe8b2e77 Update translations (#13647) 2021-07-13 20:30:09 +02:00
23930738a7 Update translations (#13565) 2021-06-29 16:02:02 +02:00
252dd169a4 Update translations (#13476) 2021-06-22 15:21:20 +02:00
f941bbc147 Update translations (#13327) 2021-06-08 16:32:36 +02:00