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-5": "Click 'Save'.",
"cancel": "Cancel",
"outline-documentation": "Manager Resources",
"geo-amsterdam": "Amsterdam",
"geo-bangalore": "Bangalore",
"geo-changhua-county": "Changhua County",
@ -144,6 +143,7 @@
"gcp-type-network-tag": "Type 'outline' in the 'Network tags' field.",
"gcp-type-outline-server": "Type 'outline-server' in the 'Name' field.",
"key": "Key {keyId}",
"manager-resources": "Manager Resources",
"manual-server-assign-firewall": "Assign firewall rule",
"manual-server-assign-group": "Assign Security Group",
"manual-server-create-firewall": "Create a firewall rule",

View file

@ -69,10 +69,6 @@
"message": "Cancel",
"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": {
"message": "Amsterdam",
"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": {
"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."

View file

@ -274,7 +274,7 @@ export class AppRoot extends polymerElementWithLocalize {
#links-footer {
margin-top: 36px;
}
#appDrawer .documentation-link {
#appDrawer .manager-resources-link {
color: var(--primary-green);
display: flex;
align-items: center;
@ -398,10 +398,10 @@ export class AppRoot extends polymerElementWithLocalize {
<!-- Links section -->
<paper-listbox>
<a
class="documentation-link"
hidden$="[[!shouldShowDocumentationLink]]"
class="manager-resources-link"
hidden$="[[!showManagerResourcesLink]]"
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" />
</a>
<span on-tap="maybeCloseDrawer"><a href="https://support.getoutline.org/s/article/Data-collection">[[localize('nav-data-collection')]]</a></span>
@ -710,7 +710,7 @@ export class AppRoot extends polymerElementWithLocalize {
observer: '_currentPageChanged',
},
shouldShowSideBar: {type: Boolean},
shouldShowDocumentationLink: {type: Boolean},
showManagerResourcesLink: {type: Boolean},
};
}
@ -724,7 +724,7 @@ export class AppRoot extends polymerElementWithLocalize {
outlineVersion = '';
currentPage = 'intro';
shouldShowSideBar = false;
shouldShowDocumentationLink = false;
showManagerResourcesLink = false;
constructor() {
super();
@ -781,7 +781,7 @@ export class AppRoot extends polymerElementWithLocalize {
(this.$.sideBar as AppDrawerElement).align = alignDir;
this.language = language;
this.shouldShowDocumentationLink = this.hasTranslation('outline-documentation');
this.showManagerResourcesLink = this.hasTranslation('manager-resources');
}
hasTranslation(key: string) {