Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Migrate more strings to translation keys #11530

Merged
merged 3 commits into from
Sep 5, 2023
Merged

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Sep 5, 2023


This change is marked as an internal change (Task), so will not be included in the changelog.

replace "Sends the given message as a spoiler" "slash_command|spoiler"
replace "Prepends ¯\\_(ツ)_/¯ to a plain-text message" "slash_command|shrug"
replace "Prepends (╯°□°)╯︵ ┻━┻ to a plain-text message" "slash_command|tableflip"
replace "Prepends ┬──┬ ノ( ゜-゜ノ) to a plain-text message" "slash_command|unflip"
replace "Prepends ( ͡° ͜ʖ ͡°) to a plain-text message" "slash_command|lenny"
replace "Sends a message as plain text, without interpreting it as markdown" "slash_command|plain"
replace "Sends a message as html, without interpreting it as markdown" "slash_command|html"
replace "Upgrades a room to a new version" "slash_command|upgraderoom"
replace "You do not have the required permissions to use this command." "slash_command|upgraderoom_permission_error"
replace "Jump to the given date in the timeline" "slash_command|jumptodate"
replace "We were unable to understand the given date (%(inputDate)s). Try using the format YYYY-MM-DD." "slash_command|jumptodate_invalid_input"
replace "Changes your display nickname" "slash_command|nick"
replace "Changes your display nickname in the current room only" "slash_command|myroomnick"
replace "Changes the avatar of the current room" "slash_command|roomavatar"
replace "Changes your profile picture in this current room only" "slash_command|myroomavatar"
replace "Changes your profile picture in all rooms" "slash_command|myavatar"
replace "Gets or sets the room topic" "slash_command|topic"
replace "Failed to get room topic: Unable to find room (%(roomId)s" "slash_command|topic_room_error"
replace "This room has no topic." "slash_command|topic_none"
replace "Sets the room name" "slash_command|roomname"
replace "Invites user with given id to current room" "slash_command|invite"
replace "Removes user with given id from this room" "slash_command|remove"
replace "Bans user with given id" "slash_command|ban"
replace "Unbans user with given ID" "slash_command|unban"
replace "Ignores a user, hiding their messages from you" "slash_command|ignore"
replace "Stops ignoring a user, showing their messages going forward" "slash_command|unignore"
replace "Opens the Developer Tools dialog" "slash_command|devtools"
replace "Adds a custom widget by URL to the room" "slash_command|addwidget"
replace "Sends the given message coloured as a rainbow" "slash_command|rainbow"
replace "Sends the given emote coloured as a rainbow" "slash_command|rainbowme"
replace "Displays list of commands with usages and descriptions" "slash_command|help"
replace "Displays information about a user" "slash_command|whois"
replace "Send a bug report with logs" "slash_command|rageshake"
replace "Sends a message to the given user" "slash_command|msg"
```
replace "%(senderName)s changed the alternative addresses for this room." "timeline|m.room.canonical_alias|changed_alternative"
replace "%(senderName)s changed the main and alternative addresses for this room." "timeline|m.room.canonical_alias|changed_main_and_alternative"
replace "%(senderName)s changed the addresses for this room." "timeline|m.room.canonical_alias|changed"
replace "%(senderName)s revoked the invitation for %(targetDisplayName)s to join the room." "timeline|m.room.third_party_invite|revoked"
replace "%(senderName)s sent an invitation to %(targetDisplayName)s to join the room." "timeline|m.room.third_party_invite|sent"
replace "%(senderName)s made future room history visible to all room members, from the point they are invited." "timeline|m.room.history_visibility|invited"
replace "%(senderName)s made future room history visible to all room members, from the point they joined." "timeline|m.room.history_visibility|joined"
replace "%(senderName)s made future room history visible to all room members." "timeline|m.room.history_visibility|shared"
replace "%(senderName)s made future room history visible to anyone." "timeline|m.room.history_visibility|world_readable"
replace "%(senderName)s made future room history visible to unknown (%(visibility)s)." "timeline|m.room.history_visibility|unknown"
replace "%(senderName)s pinned <a>a message</a> to this room. See all <b>pinned messages</b>." "timeline|m.room.pinned_events|pinned_link"
replace "%(senderName)s pinned a message to this room. See all pinned messages." "timeline|m.room.pinned_events|pinned"
replace "%(senderName)s unpinned <a>a message</a> from this room. See all <b>pinned messages</b>." "timeline|m.room.pinned_events|unpinned_link"
replace "%(senderName)s unpinned a message from this room. See all pinned messages." "timeline|m.room.pinned_events|unpinned"
replace "%(senderName)s changed the <a>pinned messages</a> for the room." "timeline|m.room.pinned_events|changed_link"
replace "%(senderName)s changed the pinned messages for the room." "timeline|m.room.pinned_events|changed"
replace "%(widgetName)s widget modified by %(senderName)s" "timeline|m.widget|modified"
replace "%(widgetName)s widget added by %(senderName)s" "timeline|m.widget|added"
replace "%(widgetName)s widget removed by %(senderName)s" "timeline|m.widget|removed"
replace "%(senderName)s has updated the room layout" "timeline|io.element.widgets.layout"
replace "%(senderName)s has shared their location" "timeline|m.location"
replace "Message deleted" "timeline|self_redaction"
replace "Message deleted by %(name)s" "timeline|redaction"
replace "%(senderName)s has started a poll - %(pollQuestion)s" "timeline|m.poll.start"
replace "%(senderName)s has ended a poll" "timeline|m.poll.end"
```
replace "%(displayName)s is typing …" "timeline|typing_indicator|one_user"
replace "%(names)s and %(lastPerson)s are typing …" "timeline|typing_indicator|two_users"
replace "%(names)s and %(count)s others are typing …" "timeline|typing_indicator|more_users"

replace "Busy" "presence|busy"
replace "Online for %(duration)s" "presence|online_for"
replace "Idle for %(duration)s" "presence|idle_for"
replace "Offline for %(duration)s" "presence|offline_for"
replace "Unknown for %(duration)s" "presence|unknown_for"
replace "Online" "presence|online"
replace "Idle" "presence|idle"
replace "Unknown" "presence|unknown"

replace "Backspace" "keyboard|backspace"

copy "presence|unknown" "Unknown"
copy "common|offline" "presence|offline"
replace "Away" "presence|away"
```
@t3chguy t3chguy added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Sep 5, 2023
@t3chguy t3chguy self-assigned this Sep 5, 2023
@t3chguy t3chguy marked this pull request as ready for review September 5, 2023 09:20
@t3chguy t3chguy requested a review from a team as a code owner September 5, 2023 09:20
Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@t3chguy t3chguy merged commit 9eda619 into develop Sep 5, 2023
23 of 24 checks passed
@t3chguy t3chguy deleted the t3chguy/localazy/keys-7 branch September 5, 2023 09:44
nurjinjafar pushed a commit to nordeck/matrix-react-sdk that referenced this pull request Sep 6, 2023
github-merge-queue bot pushed a commit that referenced this pull request Sep 7, 2023
* Implement denied request mask and logic

Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>

* refactor / fix deny requests isues

* fix tests create denied message test

Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>

* add another test for the primary action for denied request

Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>

* fix linter issues

Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>

* regenerate translation

Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>

* fix translation and minor refactoring
Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>

* segment into 4

* Remove parallel from Cypress command to avoid talking to Cypress Cloud

* Re-add --parallel flag for Percy

* Prevent event propagation when clicking icon buttons (#11515)

* Prevent event propagation when clicking icon buttons

* Inhibit view user on click behaviour for room header face pile

* Update snapshot

* Add a 'm.relates_to' to edits in receipt tests and disable failing tests (#11501)

* Add a 'm.relates_to' to edits in receipt tests

* Disable a test that fails with real edits

* Wait for the room to be read after we mark it as read

* Skip tests that are failing because of inconsistencies between local and CI behaviour

* Allow creating public knock rooms (#11481)

* Allow creating public knock rooms

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

---------

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Collect `console.debug` logs during cypress tests (#11478)

In order for the logs collected by cypress to actually be useful, we really
need `cons:debug`.

* Migrate more strings to translation keys (#11522)

* Only show Search button in RoomSummaryCard if new room UI enabled (#11524)

* Only show Search button in RoomSummaryCard if new room UI enabled

* Update snapshot

* Update vector-im (#11526)

* Update vector-im

* Update snapshots of Compound Avatars

* Update snapshots of Compound Avatars

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate more strings to translation keys (#11530)

* Fix regression around FacePile with overflow (#11527)

* Work around compound-web AvatarStack not applying overlap to non-Avatars

* Fix FacePile overflow tile not being layed out correctly

* Use RoomStateEvent.Update for knocks (#11516)

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Cypress tests for event shields (#11525)

* Factor downloadKey out to `utils.ts`

* Add a new `describe` block for event shields

* create a beforeEach block

* Cypress tests for event shields

* Document how to match the CI config for Cypress (#11531)

* Document how to match the CI config for Cypress

* Clarify language about needing Chrome

* Move Cypress info into the Cypress-specific docs

* Migrate more strings to translation keys (#11532)

---------

Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>
Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
Co-authored-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>
Co-authored-by: Kerry Archibald <kerrya@element.io>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
Co-authored-by: Johannes Marbach <johannesm@element.io>
Co-authored-by: Germain <germains@element.io>
Co-authored-by: Charly Nguyen <1422657+charlynguyen@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants