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

Merged
merged 19 commits into from
Sep 4, 2023
Merged

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Sep 1, 2023


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

replace "Send custom account data event" "devtools|send_custom_account_data_event"
replace "Send custom room account data event" "devtools|send_custom_room_account_data_event"
replace "Event Type" "devtools|event_type"
replace "State Key" "devtools|state_key"
replace "Doesn't look like valid JSON." "devtools|invalid_json"
replace "Failed to send event!" "devtools|failed_to_send"
replace "Event sent!" "devtools|event_sent"
replace "Event Content" "devtools|event_content"
replace "User read up to: " "devtools|user_read_up_to"
replace "No receipt found" "devtools|no_receipt_found"
replace "User read up to (ignoreSynthetic): " "devtools|user_read_up_to_ignore_synthetic"
replace "User read up to (m.read.private): " "devtools|user_read_up_to_private"
replace "User read up to (m.read.private;ignoreSynthetic): " "devtools|user_read_up_to_private_ignore_synthetic"
replace "Room status" "devtools|room_status"
replace "Room unread status: <strong>%(status)s</strong>, count: <strong>%(count)s</strong>" "devtools|room_unread_status_count"
replace "Notification state is <strong>%(notificationState)s</strong>" "devtools|notification_state"
replace "Room is <strong>encrypted ✅</strong>" "devtools|room_encrypted"
replace "Room is <strong>not encrypted 🚨</strong>" "devtools|room_not_encrypted"
replace "Main timeline" "devtools|main_timeline"
replace "Threads timeline" "devtools|threads_timeline"
replace "Total: " "devtools|room_notifications_total"
replace "Highlight: " "devtools|room_notifications_highlight"
replace "Dot: " "devtools|room_notifications_dot"
replace "Last event:" "devtools|room_notifications_last_event"
replace "Type: " "devtools|room_notifications_type"
replace "Sender: " "devtools|room_notifications_sender"
replace "Thread Id: " "devtools|room_notifications_thread_id"
replace "<%(count)s spaces>" "devtools|spaces"
replace "<empty string>" "devtools|empty_string"
```
replace "Room unread status: <strong>%(status)s</strong>" "devtools|room_unread_status"
replace "ID: " "devtools|id"
replace "Send custom state event" "devtools|send_custom_state_event"
replace "See history" "devtools|see_history"
replace "Capabilities" "common|capabilities"
replace "Failed to load." "devtools|failed_to_load"
replace "Client Versions" "devtools|client_versions"
replace "Server Versions" "devtools|server_versions"
replace "Server" "common|server"
replace "Number of users" "devtools|number_of_users"
replace "Failed to save settings." "devtools|failed_to_save"
replace "Save setting values" "devtools|save_setting_values"
replace "Setting:" "devtools|setting_colon"
replace "Caution:" "devtools|caution_colon"
replace "This UI does NOT check the types of the values. Use at your own risk." "devtools|use_at_own_risk"
replace "Setting definition:" "devtools|setting_definition"
replace "Level" "devtools|level"
replace "Settable at global" "devtools|settable_global"
replace "Settable at room" "devtools|settable_room"
replace "Values at explicit levels" "devtools|values_explicit"
replace "Values at explicit levels in this room" "devtools|values_explicit_room"
replace "Edit values" "devtools|edit_values"
replace "Value:" "devtools|value_colon"
replace "Value in this room:" "devtools|value_this_room_colon"
replace "Values at explicit levels:" "devtools|values_explicit_colon"
replace "Values at explicit levels in this room:" "devtools|values_explicit_this_room_colon"
replace "Setting ID" "devtools|setting_id"
replace "Value" "devtools|value"
replace "Value in this room" "devtools|value_in_this_room"
replace "Edit setting" "devtools|edit_setting"
replace "Requested" "devtools|phase_requested"
replace "Ready" "devtools|phase_ready"
replace "Started" "devtools|phase_started"
replace "Cancelled" "devtools|phase_cancelled"
replace "Transaction" "devtools|phase_transaction"
replace "Phase" "devtools|phase"
replace "Timeout" "devtools|timeout"
replace "Methods" "devtools|methods"
replace "Requester" "devtools|requester"
replace "Observe only" "devtools|observe_only"
replace "No verification requests found" "devtools|no_verification_requests_found"
replace "There was an error finding this widget." "devtools|failed_to_find_widget"
```
replace "Clear" "action|clear"
replace "Show shortcuts to recently viewed rooms above the room list" "settings|show_breadcrumbs"
replace "All rooms you're in will appear in Home." "settings|all_rooms_home_description"
replace "Use Command + F to search timeline" "settings|use_command_f_search"
replace "Use Ctrl + F to search timeline" "settings|use_control_f_search"
replace "Show timestamps in 12 hour format (e.g. 2:30pm)" "settings|use_12_hour_format"
replace "Always show message timestamps" "settings|always_show_message_timestamps"
replace "Send read receipts" "settings|send_read_receipts"
replace "Send typing notifications" "settings|send_typing_notifications"
replace "Automatically replace plain text Emoji" "settings|replace_plain_emoji"
replace "Enable Markdown" "settings|enable_markdown"
replace "Enable Emoji suggestions while typing" "settings|emoji_autocomplete"
replace "Use Command + Enter to send a message" "settings|use_command_enter_send_message"
replace "Use Ctrl + Enter to send a message" "settings|use_control_enter_send_message"
```
replace "Show all rooms in Home" "settings|all_rooms_home"
replace "Start messages with <code>/plain</code> to send without markdown." "settings|enable_markdown_description"
replace "Show stickers button" "settings|show_stickers_button"
replace "Insert a trailing colon after user mentions at the start of a message" "settings|insert_trailing_colon_mentions"
replace "Enable automatic language detection for syntax highlighting" "settings|automatic_language_detection_syntax_highlight"
replace "Expand code blocks by default" "settings|code_block_expand_default"
replace "Show line numbers in code blocks" "settings|code_block_line_numbers"
replace "Enable inline URL previews by default" "settings|inline_url_previews_default"
replace "Autoplay GIFs" "settings|autoplay_gifs"
replace "Autoplay videos" "settings|autoplay_videos"
replace "Show previews/thumbnails for images" "settings|image_thumbnails"
replace "Show typing notifications" "settings|show_typing_notifications"
replace "Show a placeholder for removed messages" "settings|show_redaction_placeholder"
replace "Show read receipts sent by other users" "settings|show_read_receipts"
replace "Show join/leave messages (invites/removes/bans unaffected)" "settings|show_join_leave"
replace "Show display name changes" "settings|show_displayname_changes"
replace "Show chat effects (animations when receiving e.g. confetti)" "settings|show_chat_effects"
replace "Show profile picture changes" "settings|show_avatar_changes"
replace "Enable big emoji in chat" "settings|big_emoji"
replace "Jump to the bottom of the timeline when you send a message" "settings|jump_to_bottom_on_send"
replace "Show current profile picture and name for users in message history" "settings|disable_historical_profile"
replace "Show NSFW content" "settings|show_nsfw_content"
replace "Prompt before sending invites to potentially invalid matrix IDs" "settings|prompt_invite"
replace "Enable hardware acceleration (restart %(appName)s to take effect)" "settings|hardware_acceleration"
replace "Start automatically after system login" "settings|start_automatically"
replace "Warn before quitting" "settings|warn_quit"
```
replace "You made it!" "onboarding|you_made_it"
replace "Find and invite your friends" "onboarding|find_friends"
replace "It’s what you’re here for, so lets get to it" "onboarding|find_friends_description"
replace "Find friends" "onboarding|find_friends_action"
replace "Find and invite your co-workers" "onboarding|find_coworkers"
replace "Get stuff done by finding your teammates" "onboarding|get_stuff_done"
replace "Find people" "onboarding|find_people"
replace "Find and invite your community members" "onboarding|find_community_members"
```
replace "Download %(brand)s" "onboarding|download_app"
replace "Don’t miss a thing by taking %(brand)s with you" "onboarding|download_app_description"
replace "Download apps" "onboarding|download_app_action"
replace "Set up your profile" "onboarding|set_up_profile"
replace "Make sure people know it’s really you" "onboarding|set_up_profile_description"
replace "Your profile" "onboarding|set_up_profile_action"
replace "Turn on notifications" "onboarding|enable_notifications"
replace "Don’t miss a reply or important message" "onboarding|enable_notifications_description"
replace "Enable notifications" "onboarding|enable_notifications_action"
```
replace "Send custom timeline event" "devtools|send_custom_timeline_event"
replace "Explore room state" "devtools|explore_room_state"
replace "Explore room account data" "devtools|explore_room_account_data"
replace "View servers in room" "devtools|view_servers_in_room"
replace "Notifications debug" "devtools|notifications_debug"
replace "Verification explorer" "devtools|verification_explorer"
replace "Active Widgets" "devtools|active_widgets"
replace "Explore account data" "devtools|explore_account_data"
replace "Settings explorer" "devtools|settings_explorer"
replace "Server info" "devtools|server_info"
replace "Toolbox" "devtools|toolbox"
replace "Developer Tools" "devtools|developer_tools"
replace "Room ID: %(roomId)s" "devtools|room_id"
replace "Thread Root ID: %(threadRootId)s" "devtools|thread_root_id"
```
@t3chguy t3chguy added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Sep 1, 2023
@t3chguy t3chguy self-assigned this Sep 1, 2023
Base automatically changed from t3chguy/localazy/keys-4 to develop September 1, 2023 09:53
replace "a few seconds ago" "time|few_seconds_ago"
replace "about a minute ago" "time|about_minute_ago"
replace "%(num)s minutes ago" "time|n_minutes_ago"
replace "about an hour ago" "time|about_hour_ago"
replace "%(num)s hours ago" "time|n_hours_ago"
replace "about a day ago" "time|about_day_ago"
replace "%(num)s days ago" "time|n_days_ago"
replace "a few seconds from now" "time|in_few_seconds"
replace "about a minute from now" "time|in_about_minute"
replace "%(num)s minutes from now" "time|in_n_minutes"
replace "about an hour from now" "time|in_about_hour"
replace "%(num)s hours from now" "time|in_n_hours"
replace "about a day from now" "time|in_about_day"
replace "%(num)s days from now" "time|in_n_days"
```
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

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

So far as I can see, looks good, thanks.

@t3chguy t3chguy merged commit a94cb8f into develop Sep 4, 2023
75 of 76 checks passed
@t3chguy t3chguy deleted the t3chguy/localazy/keys-5 branch September 4, 2023 09:20
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