From f964827f00cbc6859faf9cf1c3aecc82ea3d16f9 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 23 Mar 2022 23:58:18 +0800 Subject: [PATCH] add src/lang/template.rs --- src/lang/template.rs | 214 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 214 insertions(+) create mode 100644 src/lang/template.rs diff --git a/src/lang/template.rs b/src/lang/template.rs new file mode 100644 index 000000000..d9a75cad7 --- /dev/null +++ b/src/lang/template.rs @@ -0,0 +1,214 @@ +lazy_static::lazy_static! { +pub static ref T: std::collections::HashMap<&'static str, &'static str> = + [ + ("Remember password", ""), + ("Installation", ""), + ("Run without install", ""), + ("Invalid format", ""), + ("Password", ""), + ("config_screen", ""), + ("Failed to connect to relay server", ""), + ("Closed manually by the peer", ""), + ("Enable TCP Tunneling", ""), + ("Connecting...", ""), + ("Do this for all conflicts", ""), + ("Invalid folder name", ""), + ("Remove from Favorites", ""), + ("File transfer", ""), + ("Note", ""), + ("Action", ""), + ("Remote desktop is offline", ""), + ("Receive", ""), + ("Cancel", ""), + ("Good image quality", ""), + ("agreement_tip", ""), + ("Connection in progress. Please wait.", ""), + ("Connected", ""), + ("Dismiss", ""), + ("not_close_tcp_tip", ""), + ("Space", ""), + ("No permission of file transfer", ""), + ("Ready", ""), + ("Enable Direct IP Access", ""), + ("Modified", ""), + ("Current Wayland display server is not supported", ""), + ("Discovered", ""), + ("Enable Keyboard/Mouse", ""), + ("Refresh", ""), + ("Install", ""), + ("Edit Tag", ""), + ("Logging in...", ""), + ("Retry", ""), + ("Add to Favorites", ""), + ("Login", ""), + ("Warning", ""), + ("Search ID", ""), + ("Relayed and encrypted connection", ""), + ("Local Computer", ""), + ("Favorites", ""), + ("Error", ""), + ("Waiting", ""), + ("Add", ""), + ("Remote Computer", ""), + ("Empty", ""), + ("Password missed", ""), + ("Transfer File", ""), + ("Enable remote configuration modification", ""), + ("Enable File Transfer", ""), + ("Too short, at least 6 characters.", ""), + ("Unselect all tags", ""), + ("About", ""), + ("The confirmation is not identical.", ""), + ("ID does not exist", ""), + ("TCP Tunneling", ""), + ("Relayed and unencrypted connection", ""), + ("Service is not running", ""), + ("Change Path", ""), + ("Start Service", ""), + ("setup_server_tip", ""), + ("whitelist_tip", ""), + ("Deleting", ""), + ("Do you want to enter again?", ""), + ("Enable RDP session sharing", ""), + ("Login screen using Wayland is not supported", ""), + ("Timeout", ""), + ("Stop service", ""), + ("Auto Login", ""), + ("Please enter your password", ""), + ("Too frequent", ""), + ("Enable Clipboard", ""), + ("Failed to make direct connection to remote desktop", ""), + ("Click to download", ""), + ("whitelist_sep", ""), + ("x11 expected", ""), + ("Network error", ""), + ("Configuration Permissions", ""), + ("Unblock user input", ""), + ("Failed to connect via rendezvous server", ""), + ("Hostname", ""), + ("Mute", ""), + ("Connection Error", ""), + ("Show remote cursor", ""), + ("Insert Lock", ""), + ("Remote Port", ""), + ("Create Desktop Shortcut", ""), + ("Address Book", ""), + ("Shrink", ""), + ("Remote Host", ""), + ("Reset by the peer", ""), + ("Paste", ""), + ("Socks5 Proxy", ""), + ("Direct and encrypted connection", ""), + ("Disconnect", ""), + ("Control Remote Desktop", ""), + ("Fix it", ""), + ("Are you sure to close the connection?", ""), + ("not_ready_status", ""), + ("Username", ""), + ("Custom Image Quality", ""), + ("Touch mode", ""), + ("Please enter the folder name", ""), + ("Are you sure you want to delete this file?", ""), + ("API Server", ""), + ("Unsupported display server ", ""), + ("Settings", ""), + ("Click to update", ""), + ("Installation Path", ""), + ("Listening ...", ""), + ("Logout", ""), + ("Set your own password", ""), + ("Balanced", ""), + ("Lock after session end", ""), + ("Close", ""), + ("OK", ""), + ("Connect", ""), + ("Port", ""), + ("Adjust Window", ""), + ("Confirm Delete", ""), + ("Local Port", ""), + ("Not available", ""), + ("Allow using clipboard", ""), + ("Always connect via relay", ""), + ("Original", ""), + ("Add Tag", ""), + ("Send", ""), + ("Insert", ""), + ("Show Hidden Files", ""), + ("Wrong credentials", ""), + ("Enter your password", ""), + ("Generating ...", ""), + ("OS Password", ""), + ("Privacy mode", ""), + ("Status", ""), + ("This function is turned off by the server", ""), + ("Please try later", ""), + ("Failed to connect via relay server", ""), + ("Accept", ""), + ("install_tip", ""), + ("Set Password", ""), + ("Optimize reaction time", ""), + ("ID Server", ""), + ("Refresh random password", ""), + ("connecting_status", ""), + ("Enable Service", ""), + ("invalid_http", ""), + ("IP Whitelisting", ""), + ("Stretch", ""), + ("Enter Remote ID", ""), + ("Installing ...", ""), + ("Invalid port", ""), + ("Finished", ""), + ("Remote ID", ""), + ("Wrong Password", ""), + ("Always connected via relay", ""), + ("Allow using keyboard and mouse", ""), + ("id_change_tip", ""), + ("Confirmation", ""), + ("Download new version", ""), + ("Invalid IP", ""), + ("Failed to connect to rendezvous server", ""), + ("Click to upgrade", ""), + ("Add ID", ""), + ("Accept and Install", ""), + ("Your installation is lower version.", ""), + ("Recent Sessions", ""), + ("Permissions", ""), + ("Username missed", ""), + ("Website", ""), + ("Configure", ""), + ("config_acc", ""), + ("Your Desktop", ""), + ("Block user input", ""), + ("Rename", ""), + ("Allow file transfer", ""), + ("End-user license agreement", ""), + ("Skip", ""), + ("Please try 1 minute later", ""), + ("Disable clipboard", ""), + ("Create desktop icon", ""), + ("Key mismatch", ""), + ("Allow hearing sound", ""), + ("Audio Input", ""), + ("Tags", ""), + ("Size", ""), + ("desk_tip", ""), + ("Login Error", ""), + ("Relay Server", ""), + ("Name", ""), + ("Unremember Password", ""), + ("Change ID", ""), + ("Custom", ""), + ("install_daemon_tip", ""), + ("Remove", ""), + ("Reset canvas", ""), + ("Successful", ""), + ("Create start menu shortcuts", ""), + ("Direct and unencrypted connection", ""), + ("Create Folder", ""), + ("files", ""), + ("ID/Relay Server", ""), + ("Reboot required", ""), + ("Password Required", ""), + ("Connected, waiting for image...", ""), +].iter().cloned().collect(); +}