Skip to content

Commit dcb2b01

Browse files
committed
Fix wrong label
- remove empty he.xml file - remove he as language since there are no translations
1 parent 97b9fa9 commit dcb2b01

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

_locales/_languages.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"fi": "Suomi",
1919
"fr": "Français",
2020
"gl": "Galego",
21-
"he": { "name": "עברית", "dir": "rtl" },
2221
"hr": "Hrvatski",
2322
"hu": "Magyar nyelv",
2423
"id": "Bahasa Indonesia",

_locales/he.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

bin/find_complete_translations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
# checks if there are any new translations which reached the threshold to be included in the language selection
4+
# deletes files which are below the threshold
45

56
threshold=150
67

@@ -17,9 +18,8 @@ process.stdin.on('data', (d) => {
1718
// remove non lang file entries
1819
list.pop()
1920
list.pop()
20-
// delete xml files below threshold (except he.xml - hebrew should stay just to show the hebrew date label)
2121
for (const [n, l] of list) {
22-
if (l && l !== 'he' && n < $threshold) {
22+
if (l && n < $threshold) {
2323
unlinkSync('_locales/' + l + '.xml')
2424
console.log('deleted _locales/' + l + '.xml (only ' + n + ' lines)')
2525
}

packages/e2e-tests/tests/group-tests.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ test('Add group description', async () => {
447447
.getByRole('list', { name: 'Messages' })
448448
.getByRole('listitem')
449449
.filter({
450-
hasText: `[Chat description changed. To see this and other new features, please update the app]`,
450+
hasText: `You changed the chat description.`,
451451
})
452452
await expect(infoMsg).toBeVisible()
453453

0 commit comments

Comments
 (0)