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 #11532

Merged
merged 3 commits into from
Sep 5, 2023
Merged

Commits on Sep 5, 2023

  1. ```

    replace "Usage" "slash_command|usage"
    replace "Messages" "slash_command|category_messages"
    replace "Actions" "slash_command|category_actions"
    replace "Admin" "slash_command|category_admin"
    replace "Advanced" "slash_command|category_advanced"
    replace "Effects" "slash_command|category_effects"
    replace "Other" "slash_command|category_other"
    
    replace "You joined the call" "event_preview|m.call.answer|you"
    replace "%(senderName)s joined the call" "event_preview|m.call.answer|user"
    replace "Call in progress" "event_preview|m.call.answer|dm"
    replace "You ended the call" "event_preview|m.call.hangup|you"
    replace "%(senderName)s ended the call" "event_preview|m.call.hangup|user"
    replace "Call ended" "event_preview|m.call.hangup|dm"
    replace "You started a call" "event_preview|m.call.invite|you"
    replace "%(senderName)s started a call" "event_preview|m.call.invite|user"
    replace "Waiting for answer" "event_preview|m.call.invite|dm_send"
    replace "%(senderName)s is calling" "event_preview|m.call.invite|dm_receive"
    replace "* %(senderName)s %(emote)s" "event_preview|m.emote"
    replace "%(senderName)s: %(message)s" "event_preview|m.text"
    replace "You reacted %(reaction)s to %(message)s" "event_preview|m.reaction|you"
    replace "%(sender)s reacted %(reaction)s to %(message)s" "event_preview|m.reaction|user"
    replace "%(senderName)s: %(stickerName)s" "event_preview|m.sticker"
    
    replace "Collecting app version information" "bug_reporting|collecting_information"
    replace "Collecting logs" "bug_reporting|collecting_logs"
    replace "Uploading logs" "bug_reporting|uploading_logs"
    replace "Downloading logs" "bug_reporting|downloading_logs"
    
    replace "Stickerpack" "common|stickerpack"
    replace "System Alerts" "common|system_alerts"
    replace "Secure Backup" "common|secure_backup"
    replace "Cross-signing" "common|cross_signing"
    
    # These 4 get clobbered to DRY
    replace "Mute the microphone" "voip|disable_microphone"
    replace "Unmute the microphone" "voip|enable_microphone"
    replace "Stop the camera" "voip|disable_camera"
    replace "Start the camera" "voip|enable_camera"
    
    replace "Audio devices" "voip|audio_devices"
    replace "Mute microphone" "voip|disable_microphone"
    replace "Unmute microphone" "voip|enable_microphone"
    replace "Video devices" "voip|video_devices"
    replace "Turn off camera" "voip|disable_camera"
    replace "Turn on camera" "voip|enable_camera"
    replace "Dial" "voip|dial"
    replace "You are presenting" "voip|you_are_presenting"
    replace "%(sharerName)s is presenting" "voip|user_is_presenting"
    replace "Your camera is turned off" "voip|camera_disabled"
    replace "Your camera is still enabled" "voip|camera_enabled"
    replace "Consulting with %(transferTarget)s. <a>Transfer to %(transferee)s</a>" "voip|consulting"
    replace "You held the call <a>Switch</a>" "voip|call_held_switch"
    replace "You held the call <a>Resume</a>" "voip|call_held_resume"
    replace "%(peerName)s held the call" "voip|call_held"
    replace "Dialpad" "voip|dialpad"
    replace "Stop sharing your screen" "voip|stop_screenshare"
    replace "Start sharing your screen" "voip|start_screenshare"
    replace "Hangup" "voip|hangup"
    replace "Fill screen" "voip|maximise"
    replace "Return to call" "voip|expand"
    replace "%(name)s on hold" "voip|on_hold"
    
    replace "Voice call" "voip|voice_call"
    replace "Video call" "voip|video_call"
    replace "Video call started" "voip|video_call_started"
    replace "Sound on" "voip|unsilence"
    replace "Silence call" "voip|silence"
    replace "Notifications silenced" "voip|silenced"
    replace "Unknown caller" "voip|unknown_caller"
    copy "common|room" "devtools|category_room"
    copy "slash_command|category_messages" "Messages"
    copy "slash_command|category_other" "devtools|category_other"
    copy "slash_command|category_other" "Other"
    copy "slash_command|category_advanced" "Advanced"
    replace "event_preview|m.call.hangup|dm" "timeline|m.call.hangup|dm"
    ```
    t3chguy committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    25ca73c View commit details
    Browse the repository at this point in the history
  2. ```

    replace "Send message" "composer|send_button_title"
    replace "Reply to encrypted thread…" "composer|placeholder_thread_encrypted"
    replace "Reply to thread…" "composer|placeholder_thread"
    replace "Send an encrypted reply…" "composer|placeholder_reply_encrypted"
    replace "Send a reply…" "composer|placeholder_reply"
    replace "Send an encrypted message…" "composer|placeholder_encrypted"
    replace "Send a message…" "composer|placeholder"
    
    replace "Change space avatar" "room_settings|permissions|m.room.avatar_space"
    replace "Change room avatar" "room_settings|permissions|m.room.avatar"
    replace "Change space name" "room_settings|permissions|m.room.name_space"
    replace "Change room name" "room_settings|permissions|m.room.name"
    replace "Change main address for the space" "room_settings|permissions|m.room.canonical_alias_space"
    replace "Change main address for the room" "room_settings|permissions|m.room.canonical_alias"
    replace "Manage rooms in this space" "room_settings|permissions|m.space.child"
    replace "Change history visibility" "room_settings|permissions|m.room.history_visibility"
    replace "Change permissions" "room_settings|permissions|m.room.power_levels"
    replace "Change description" "room_settings|permissions|m.room.topic_space"
    replace "Change topic" "room_settings|permissions|m.room.topic"
    replace "Upgrade the room" "room_settings|permissions|m.room.tombstone"
    replace "Enable room encryption" "room_settings|permissions|m.room.encryption"
    replace "Change server ACLs" "room_settings|permissions|m.room.server_acl"
    replace "Send reactions" "room_settings|permissions|m.reaction"
    replace "Remove messages sent by me" "room_settings|permissions|m.room.redaction"
    replace "Modify widgets" "room_settings|permissions|m.widget"
    replace "Voice broadcasts" "room_settings|permissions|io.element.voice_broadcast_info"
    replace "Manage pinned events" "room_settings|permissions|m.room.pinned_events"
    replace "Start %(brand)s calls" "room_settings|permissions|m.call"
    replace "Join %(brand)s calls" "room_settings|permissions|m.call.member"
    replace "Default role" "room_settings|permissions|users_default"
    replace "Send messages" "room_settings|permissions|events_default"
    replace "Invite users" "room_settings|permissions|invite"
    replace "Change settings" "room_settings|permissions|state_default"
    replace "Remove users" "room_settings|permissions|kick"
    replace "Ban users" "room_settings|permissions|ban"
    replace "Remove messages sent by others" "room_settings|permissions|redact"
    replace "Notify everyone" "room_settings|permissions|notifications.room"
    
    replace "Call Failed" "voip|call_failed"
    replace "Unable to access microphone" "voip|unable_to_access_microphone"
    replace "Call failed because microphone could not be accessed. Check that a microphone is plugged in and set up correctly." "voip|call_failed_microphone"
    replace "Unable to access webcam / microphone" "voip|unable_to_access_media"
    replace "Call failed because webcam or microphone could not be accessed. Check that:" "voip|call_failed_media"
    replace "A microphone and webcam are plugged in and set up correctly" "voip|call_failed_media_connected"
    replace "Permission is granted to use the webcam" "voip|call_failed_media_permissions"
    replace "No other application is using the webcam" "voip|call_failed_media_applications"
    replace "Already in call" "voip|already_in_call"
    replace "You're already in a call with this person." "voip|already_in_call_person"
    replace "Calls are unsupported" "voip|unsupported"
    replace "You cannot place calls in this browser." "voip|unsupported_browser"
    ```
    t3chguy committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    94b23a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    493fa39 View commit details
    Browse the repository at this point in the history