A previous commit[1] attempted to prevent "How to Connect"
section string from being translated twice[2].
Desktop Sharing and Remote Login pages have this same
string, but the latter was missing a period at the
end of the phrase, which caused the duplicated issue.
The commit[1] didn't fix the issue entirely, because
the string from the Desktop Sharing page was using
a different apostrophe symbol than the Remote Login page
counterpart (which is the recommended apostrophe symbol
acc. to HIG[3]).
Fix the issue by using the same apostrophe symbol mentioned
above in the string from the Remote Login page. This will
cause the translation from the Desktop Sharing string to be
reused, thus a string freeze break won't happen.
See also: https://gitlab.gnome.org/Teams/Translation/Coordination/-/issues/133
[1] b4131d3b0a
[2] https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2936
[3] https://developer.gnome.org/hig/guidelines/typography.html
157 lines
8.1 KiB
XML
157 lines
8.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<interface>
|
||
<template class="CcRemoteSessionPage" parent="AdwBin">
|
||
<child>
|
||
<object class="AdwToastOverlay" id="toast_overlay">
|
||
<property name="child">
|
||
<object class="GtkBox">
|
||
<property name="orientation">vertical</property>
|
||
<child>
|
||
<object class="CcPermissionInfobar" id="permission_infobar"/>
|
||
</child>
|
||
<child>
|
||
<object class="AdwPreferencesPage">
|
||
<child>
|
||
<object class="AdwPreferencesGroup">
|
||
<child>
|
||
<object class="GtkLabel">
|
||
<property name="label" translatable="yes">Remotely connect to your user account when it isn’t being used. The display resolution can be set from the remote.</property>
|
||
<property name="hexpand">True</property>
|
||
<property name="justify">center</property>
|
||
<property name="wrap">True</property>
|
||
<style>
|
||
<class name="dim-label"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="AdwPreferencesGroup">
|
||
<child>
|
||
<object class="AdwSwitchRow" id="remote_session_row">
|
||
<property name="title" translatable="yes">Remote Login</property>
|
||
<property name="use-underline">True</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="AdwPreferencesGroup">
|
||
<property name="title" translatable="yes">How to Connect</property>
|
||
<property name="description" translatable="yes">Use a remote desktop app to connect using the RDP protocol. Additional information about the device’s network location may also be required.</property>
|
||
<child>
|
||
<object class="AdwActionRow" id="hostname_row">
|
||
<property name="title" translatable="yes">_Hostname</property>
|
||
<property name="use-underline">True</property>
|
||
<property name="activatable-widget">copy_address_button</property>
|
||
<style>
|
||
<class name="property"/>
|
||
</style>
|
||
<child type="suffix">
|
||
<object class="GtkButton" id="copy_address_button">
|
||
<property name="tooltip-text" translatable="yes">Copy</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">edit-copy-symbolic</property>
|
||
<signal name="clicked" handler="on_address_copy_clicked" swapped="yes"/>
|
||
<style>
|
||
<class name="flat"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="AdwActionRow" id="port_row">
|
||
<property name="title" translatable="yes">_Port</property>
|
||
<property name="use-underline">True</property>
|
||
<property name="activatable-widget">copy_port_button</property>
|
||
<style>
|
||
<class name="property"/>
|
||
</style>
|
||
<child type="suffix">
|
||
<object class="GtkButton" id="copy_port_button">
|
||
<property name="tooltip-text" translatable="yes">Copy</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">edit-copy-symbolic</property>
|
||
<signal name="clicked" handler="on_port_copy_clicked" swapped="yes"/>
|
||
<style>
|
||
<class name="flat"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="AdwPreferencesGroup" id="credentials_group">
|
||
<property name="title" translatable="yes">Login Details</property>
|
||
<child>
|
||
<object class="AdwEntryRow" id="username_entry">
|
||
<property name="title" translatable="yes">Username</property>
|
||
<child type="suffix">
|
||
<object class="GtkButton">
|
||
<property name="tooltip-text" translatable="yes">Copy</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">edit-copy-symbolic</property>
|
||
<signal name="clicked" handler="on_username_copy_clicked" swapped="yes"/>
|
||
<style>
|
||
<class name="flat"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="AdwPasswordEntryRow" id="password_entry">
|
||
<property name="title" translatable="yes">Password</property>
|
||
<child type="suffix">
|
||
<object class="GtkButton">
|
||
<property name="tooltip-text" translatable="yes">Copy</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">edit-copy-symbolic</property>
|
||
<signal name="clicked" handler="on_password_copy_clicked" swapped="yes"/>
|
||
<style>
|
||
<class name="flat"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkBox">
|
||
<property name="margin-top">24</property>
|
||
<property name="spacing">10</property>
|
||
<child>
|
||
<object class="GtkButton" id="generate_password_button">
|
||
<property name="sensitive">False</property>
|
||
<property name="can-shrink">True</property>
|
||
<property name="label" translatable="yes">_Generate New Password</property>
|
||
<property name="use-underline">True</property>
|
||
<signal name="clicked" handler="on_generate_password_button_clicked" swapped="yes"/>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkButton" id="verify_encryption_button">
|
||
<property name="sensitive">False</property>
|
||
<property name="hexpand">True</property>
|
||
<property name="halign">end</property>
|
||
<property name="can-shrink">True</property>
|
||
<property name="label" translatable="yes">_Verify Encryption</property>
|
||
<property name="use-underline">True</property>
|
||
<signal name="clicked" handler="on_verify_encryption_button_clicked" swapped="yes"/>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</property>
|
||
</object>
|
||
</child>
|
||
</template>
|
||
</interface>
|