mirror of
https://github.com/documize/community.git
synced 2025-07-25 08:09:43 +02:00
i18n strings
This commit is contained in:
parent
59dc6ea991
commit
38c9a94a9c
7 changed files with 45 additions and 28 deletions
|
@ -10,9 +10,12 @@
|
|||
// https://documize.com
|
||||
|
||||
import Route from '@ember/routing/route';
|
||||
import { inject as service } from '@ember/service';
|
||||
|
||||
export default Route.extend({
|
||||
i18n: service(),
|
||||
|
||||
activate() {
|
||||
this.get('browser').setTitle('Product News');
|
||||
this.get('browser').setTitle(this.i18n.localize('product_news'));
|
||||
}
|
||||
});
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="zone-1" />
|
||||
<div class="zone-2">
|
||||
<div class="label color-gray-700">
|
||||
Documize {{appMeta.edition}} Edition {{appMeta.version}} (build {{appMeta.revision}})
|
||||
Documize {{appMeta.edition}} {{appMeta.version}} ({{appMeta.revision}})
|
||||
</div>
|
||||
</div>
|
||||
<div class="zone-3" />
|
||||
|
@ -13,27 +13,24 @@
|
|||
<Layout::Grid::Sidebar>
|
||||
<div class="sidebar-content">
|
||||
<div class="section">
|
||||
<div class="title">ABOUT</div>
|
||||
<div class="title">{{localize 'about'}}</div>
|
||||
<div class="text"></div>
|
||||
<div class="text">
|
||||
Documize product updates are released frequently for both
|
||||
cloud and self-hosted customers.
|
||||
</div>
|
||||
<div class="text">
|
||||
Have an idea, suggestion or some feedback? <a href="mailto:support@documize.com">Get in touch.</a>
|
||||
{{localize 'product_feedback'}} <a href="mailto:support@documize.com">{{localize 'get_in_touch'}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Layout::Grid::Sidebar>
|
||||
<Layout::Grid::Content>
|
||||
{{layout/logo-heading
|
||||
title="Product News"
|
||||
desc="Latest product news and updates"
|
||||
title=(localize 'product_news')
|
||||
desc=(localize 'product_news_explain')
|
||||
icon=constants.Icon.Announce}}
|
||||
|
||||
<div class="product-news">
|
||||
{{{newsContent}}}
|
||||
<div class="action">
|
||||
Have an idea? Suggestion or feedback? <a href="mailto:support@documize.com">Get in touch!</a>
|
||||
{{localize 'product_feedback'}} <a href="mailto:support@documize.com">{{localize 'get_in_touch'}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</Layout::Grid::Content>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue