update message id and indentation

This commit is contained in:
Daniel LaCosse 2023-12-15 12:34:18 -05:00
parent b66664cd83
commit c17ea8fd77
3 changed files with 16 additions and 16 deletions

View file

@ -8,7 +8,6 @@
"aws-lightsail-firewall-4": "Set 'Application' value to 'All TCP+UDP'.", "aws-lightsail-firewall-4": "Set 'Application' value to 'All TCP+UDP'.",
"aws-lightsail-firewall-5": "Click 'Save'.", "aws-lightsail-firewall-5": "Click 'Save'.",
"cancel": "Cancel", "cancel": "Cancel",
"outline-documentation": "Manager Resources",
"geo-amsterdam": "Amsterdam", "geo-amsterdam": "Amsterdam",
"geo-bangalore": "Bangalore", "geo-bangalore": "Bangalore",
"geo-changhua-county": "Changhua County", "geo-changhua-county": "Changhua County",
@ -144,6 +143,7 @@
"gcp-type-network-tag": "Type 'outline' in the 'Network tags' field.", "gcp-type-network-tag": "Type 'outline' in the 'Network tags' field.",
"gcp-type-outline-server": "Type 'outline-server' in the 'Name' field.", "gcp-type-outline-server": "Type 'outline-server' in the 'Name' field.",
"key": "Key {keyId}", "key": "Key {keyId}",
"manager-resources": "Manager Resources",
"manual-server-assign-firewall": "Assign firewall rule", "manual-server-assign-firewall": "Assign firewall rule",
"manual-server-assign-group": "Assign Security Group", "manual-server-assign-group": "Assign Security Group",
"manual-server-create-firewall": "Create a firewall rule", "manual-server-create-firewall": "Create a firewall rule",

View file

@ -69,10 +69,6 @@
"message": "Cancel", "message": "Cancel",
"description": "This string appears across the application as a button. Clicking it aborts the current flow." "description": "This string appears across the application as a button. Clicking it aborts the current flow."
}, },
"outline_documentation": {
"message": "Manager Resources",
"description": "This string appears within the manager sidebar as a link to the manager documentation."
},
"geo_amsterdam": { "geo_amsterdam": {
"message": "Amsterdam", "message": "Amsterdam",
"description": "Name of the city in the Netherlands." "description": "Name of the city in the Netherlands."
@ -718,6 +714,10 @@
} }
} }
}, },
"manager_resources": {
"message": "Manager Resources",
"description": "This string appears within the manager sidebar as a link to the manager documentation."
},
"manual_server_assign_firewall": { "manual_server_assign_firewall": {
"message": "Assign firewall rule", "message": "Assign firewall rule",
"description": "This string appears in the server setup view as a sub-header of a section that provides instructions to configure the server's firewall." "description": "This string appears in the server setup view as a sub-header of a section that provides instructions to configure the server's firewall."

View file

@ -274,7 +274,7 @@ export class AppRoot extends polymerElementWithLocalize {
#links-footer { #links-footer {
margin-top: 36px; margin-top: 36px;
} }
#appDrawer .documentation-link { #appDrawer .manager-resources-link {
color: var(--primary-green); color: var(--primary-green);
display: flex; display: flex;
align-items: center; align-items: center;
@ -397,13 +397,13 @@ export class AppRoot extends polymerElementWithLocalize {
<!-- Links section --> <!-- Links section -->
<paper-listbox> <paper-listbox>
<a <a
class="documentation-link" class="manager-resources-link"
hidden$="[[!shouldShowDocumentationLink]]" hidden$="[[!showManagerResourcesLink]]"
href="https://www.reddit.com/r/outlinevpn/wiki/index/"> href="https://www.reddit.com/r/outlinevpn/wiki/index/">
<span>[[localize('outline-documentation')]]</span> <span>[[localize('manager-resources')]]</span>
<iron-icon icon="open-in-new" /> <iron-icon icon="open-in-new" />
</a> </a>
<span on-tap="maybeCloseDrawer"><a href="https://support.getoutline.org/s/article/Data-collection">[[localize('nav-data-collection')]]</a></span> <span on-tap="maybeCloseDrawer"><a href="https://support.getoutline.org/s/article/Data-collection">[[localize('nav-data-collection')]]</a></span>
<span on-tap="submitFeedbackTapped">[[localize('nav-feedback')]]</span> <span on-tap="submitFeedbackTapped">[[localize('nav-feedback')]]</span>
<span on-tap="maybeCloseDrawer"><a href="https://s3.amazonaws.com/outline-vpn/index.html#/en/support/">[[localize('nav-help')]]</a></span> <span on-tap="maybeCloseDrawer"><a href="https://s3.amazonaws.com/outline-vpn/index.html#/en/support/">[[localize('nav-help')]]</a></span>
@ -710,7 +710,7 @@ export class AppRoot extends polymerElementWithLocalize {
observer: '_currentPageChanged', observer: '_currentPageChanged',
}, },
shouldShowSideBar: {type: Boolean}, shouldShowSideBar: {type: Boolean},
shouldShowDocumentationLink: {type: Boolean}, showManagerResourcesLink: {type: Boolean},
}; };
} }
@ -724,7 +724,7 @@ export class AppRoot extends polymerElementWithLocalize {
outlineVersion = ''; outlineVersion = '';
currentPage = 'intro'; currentPage = 'intro';
shouldShowSideBar = false; shouldShowSideBar = false;
shouldShowDocumentationLink = false; showManagerResourcesLink = false;
constructor() { constructor() {
super(); super();
@ -781,7 +781,7 @@ export class AppRoot extends polymerElementWithLocalize {
(this.$.sideBar as AppDrawerElement).align = alignDir; (this.$.sideBar as AppDrawerElement).align = alignDir;
this.language = language; this.language = language;
this.shouldShowDocumentationLink = this.hasTranslation('outline-documentation'); this.showManagerResourcesLink = this.hasTranslation('manager-resources');
} }
hasTranslation(key: string) { hasTranslation(key: string) {