Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit 3195ade

Browse files
author
taleksashina
committed
more localization
1 parent 99fed3e commit 3195ade

File tree

23 files changed

+254
-82
lines changed

23 files changed

+254
-82
lines changed

src/main/webapp/i18n/resources-locale_en.json

Lines changed: 89 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,6 @@
204204
},
205205

206206

207-
{
208-
"key":"_faceted-search_",
209-
"value":"Faceted Search",
210-
"description":"modal dialog title"
211-
},
212-
213-
214207
{
215208
"key":"_user-account_",
216209
"value":"User Account",
@@ -660,6 +653,11 @@
660653
"value":"Results",
661654
"description":""
662655
},
656+
{
657+
"key":"_ontology_",
658+
"value":"Ontology",
659+
"description":""
660+
},
663661

664662

665663
{
@@ -1300,6 +1298,11 @@
13001298
"value":"Choose an endpoint",
13011299
"description":"default option in select"
13021300
},
1301+
{
1302+
"key":"_module-choose-option_",
1303+
"value":"Choose a module",
1304+
"description":"default option in select"
1305+
},
13031306

13041307

13051308
{
@@ -1499,5 +1502,84 @@
14991502
"key":"_triplegeo-start_",
15001503
"value":"Start TripleGeo",
15011504
"description":""
1505+
},
1506+
1507+
1508+
{
1509+
"key":"_geolift-config_",
1510+
"value":"GeoLift Configuration",
1511+
"description":""
1512+
},
1513+
{
1514+
"key":"_geolift-start_",
1515+
"value":"Start GeoLift",
1516+
"description":""
1517+
},
1518+
1519+
1520+
{
1521+
"key":"_sparqlify-launch_",
1522+
"value":"Launch Sparqlify",
1523+
"description":""
1524+
},
1525+
1526+
1527+
{
1528+
"key":"_facete-launch_",
1529+
"value":"Launch Facete",
1530+
"description":""
1531+
},
1532+
1533+
1534+
{
1535+
"key":"_mappify-launch_",
1536+
"value":"Launch Mappify",
1537+
"description":""
1538+
},
1539+
1540+
1541+
{
1542+
"key":"_limes-config_",
1543+
"value":"LIMES Configuration",
1544+
"description":""
1545+
},
1546+
{
1547+
"key":"_upload-limes-config-file_",
1548+
"value":"Upload a LIMES Configuration File (XML)",
1549+
"description":""
1550+
},
1551+
{
1552+
"key":"_limes-start_",
1553+
"value":"Start LIMES",
1554+
"description":""
1555+
},
1556+
{
1557+
"key":"_limes-res-review_",
1558+
"value":"Results for review",
1559+
"description":"Limes"
1560+
},
1561+
{
1562+
"key":"_limes-accepted-res_",
1563+
"value":"Accepted Results",
1564+
"description":"Limes"
1565+
},
1566+
1567+
1568+
{
1569+
"key":"_save-res-in-new-graph_",
1570+
"value":"Save results in new graphs",
1571+
"description":""
1572+
},
1573+
1574+
1575+
{
1576+
"key":"_launch-virtuoso_",
1577+
"value":"Launch SPARQLEndPoint Services",
1578+
"description":"launch Virtuoso (title)"
1579+
},
1580+
{
1581+
"key":"_virtuoso-sparql-endpoint_",
1582+
"value":"Virtuoso SPARQLEndpoint",
1583+
"description":"Virtuoso"
15021584
}
15031585
]

src/main/webapp/i18n/resources-locale_ru.json

Lines changed: 102 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,52 +13,52 @@
1313
},
1414
{
1515
"key":"_geolift-description_",
16-
"value":"Framework to Enrich Geographic Content in the Semantic Web",
16+
"value":"Инструмент для расширения географических данных в Semantic Web",
1717
"description":"description shown on GeoLift page"
1818
},
1919
{
2020
"key":"_geolift-instructions_",
21-
"value":"To get started choose whether to process a file or endpoint, you can then choose an example or specify your own parameters.",
21+
"value":"Для начала работы выберите источник данных: файл или эндпоинт. Затем выберите пример конфигурации или опредилить свои собственные параметры.",
2222
"description":"instructions (how to start) shown on GeoLift page"
2323
},
2424

2525
{
2626
"key":"_sparqlify-description_",
27-
"value":"Sparqlify is a scalable SPARQL-SQL rewriter. To get started select a data set from the drop down menu.",
27+
"value":"Sparqlify - это масштабируемый инструмент для преобразования SPARQL в SQL. Для начала работы выберите набор данных.",
2828
"description":"description shown on Sparqlify page"
2929
},
3030

3131
{
3232
"key":"_triplegeo-description_",
33-
"value":"Utility for Converting Geospatial Data into Triples",
33+
"value":"Инструмент для преобразования географических данных в триплы",
3434
"description":"description shown on TripleGeo page"
3535
},
3636
{
3737
"key":"_triplegeo-instructions_",
38-
"value":"To get started choose whether to process a file or database, you can then choose an example or specify your own parameters.",
38+
"value":"Для начала работы выберите источник данных: файл или эндпоинт. Затем выберите пример конфигурации или опредилить свои собственные параметры.",
3939
"description":"instructions (how to start) shown on TripleGeo page"
4040
},
4141

4242
{
4343
"key":"_limes-description_",
44-
"value":"Link Discovery Framework for Metric Spaces",
44+
"value":"Инструмент для определения связей.",
4545
"description":"description shown on Limes page"
4646
},
4747
{
4848
"key":"_limes-instructions_",
49-
"value":"To get started either upload a configuration file, choose an example, or fill in the options form.",
49+
"value":"Для начала работы загрузите конфигурационный файл, выберите пример или заполните форму.",
5050
"description":"instructions (how to start) shown on Limes page"
5151
},
5252

5353
{
5454
"key":"_facete-description_",
55-
"value":"A tool for exploring (geographical) Linked Data datasets on the Web. To get started select a data set from the drop down menu.",
55+
"value":"Инструмент для поиска (географических) наборов связанных данных в Интернете. Для начала работы выберите набор данных.",
5656
"description":"description shown on Facete page"
5757
},
5858

5959
{
6060
"key":"_mappify-description_",
61-
"value":"A tool for exploring (geographical) Linked Data datasets on the Web. To get started select a data set from the drop down menu.",
61+
"value":"Инструмент для поиска (географических) наборов связанных данных в Интернете. Для начала работы выберите набор данных.",
6262
"description":"description shown on Mappify page"
6363
},
6464

@@ -204,13 +204,6 @@
204204
},
205205

206206

207-
{
208-
"key":"_faceted-search_",
209-
"value":"Фасетный поиск",
210-
"description":"modal dialog title"
211-
},
212-
213-
214207
{
215208
"key":"_user-account_",
216209
"value":"Аккаунт",
@@ -562,7 +555,7 @@
562555
},
563556
{
564557
"key":"_variable_",
565-
"value":"Variable",
558+
"value":"Переменная",
566559
"description":"Limes configuration"
567560
},
568561
{
@@ -572,17 +565,17 @@
572565
},
573566
{
574567
"key":"_restriction_",
575-
"value":"Restriction",
568+
"value":"Ограничение",
576569
"description":"Limes configuration"
577570
},
578571
{
579572
"key":"_source_",
580-
"value":"Source",
573+
"value":"Источник",
581574
"description":"TripleGeo configuration"
582575
},
583576
{
584577
"key":"_target_",
585-
"value":"Target",
578+
"value":"Цель",
586579
"description":"TripleGeo configuration"
587580
},
588581
{
@@ -660,6 +653,11 @@
660653
"value":"Результаты",
661654
"description":""
662655
},
656+
{
657+
"key":"_ontology_",
658+
"value":"Онтология",
659+
"description":""
660+
},
663661

664662

665663
{
@@ -1300,6 +1298,11 @@
13001298
"value":"Выберите эндпоинт",
13011299
"description":"default option in select"
13021300
},
1301+
{
1302+
"key":"_module-choose-option_",
1303+
"value":"Выберите модуль",
1304+
"description":"default option in select"
1305+
},
13031306

13041307

13051308
{
@@ -1499,5 +1502,84 @@
14991502
"key":"_triplegeo-start_",
15001503
"value":"Запустить TripleGeo",
15011504
"description":""
1505+
},
1506+
1507+
1508+
{
1509+
"key":"_geolift-config_",
1510+
"value":"Конфигурация GeoLift",
1511+
"description":""
1512+
},
1513+
{
1514+
"key":"_geolift-start_",
1515+
"value":"Запустить GeoLift",
1516+
"description":""
1517+
},
1518+
1519+
1520+
{
1521+
"key":"_sparqlify-launch_",
1522+
"value":"Запустить Sparqlify",
1523+
"description":""
1524+
},
1525+
1526+
1527+
{
1528+
"key":"_facete-launch_",
1529+
"value":"Запустить Facete",
1530+
"description":""
1531+
},
1532+
1533+
1534+
{
1535+
"key":"_mappify-launch_",
1536+
"value":"Запустить Mappify",
1537+
"description":""
1538+
},
1539+
1540+
1541+
{
1542+
"key":"_limes-config_",
1543+
"value":"Конйигурация LIMES",
1544+
"description":""
1545+
},
1546+
{
1547+
"key":"_upload-limes-config-file_",
1548+
"value":"Загрузить кофигурационный файл для LIMES (XML)",
1549+
"description":""
1550+
},
1551+
{
1552+
"key":"_limes-start_",
1553+
"value":"Запустить LIMES",
1554+
"description":""
1555+
},
1556+
{
1557+
"key":"_limes-res-review_",
1558+
"value":"Результаты для проверки",
1559+
"description":"Limes"
1560+
},
1561+
{
1562+
"key":"_limes-accepted-res_",
1563+
"value":"Принятые результаты",
1564+
"description":"Limes"
1565+
},
1566+
1567+
1568+
{
1569+
"key":"_save-res-in-new-graph_",
1570+
"value":"Сохранить результаты в новых графах",
1571+
"description":""
1572+
},
1573+
1574+
1575+
{
1576+
"key":"_launch-virtuoso_",
1577+
"value":"Запустить SPARQL эндпоинт",
1578+
"description":"launch Virtuoso (title)"
1579+
},
1580+
{
1581+
"key":"_virtuoso-sparql-endpoint_",
1582+
"value":"Virtuoso SPARQL эндпоинт",
1583+
"description":"Virtuoso"
15021584
}
15031585
]

src/main/webapp/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>Ontos Linked Data Suite</title>
5+
<title data-i18n="_home-title_"></title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
77
<meta name="description" content=""/>
88
<meta name="author" content=""/>
@@ -156,10 +156,10 @@ <h5 class="modal-title green bold" data-i18n="_request-password_"></h5>
156156
</div>
157157
<div class="modal-body">
158158
<div class="form-group">
159-
<label for="username" class="col-lg-2 control-label" data-i18n="_username-email_"></label>
160-
<div class="col-lg-10">
159+
<label for="username" class="col-lg-4 control-label" data-i18n="_username-email_"></label>
160+
<div class="col-lg-8">
161161
<input type="text" id="username" name="username" class="form-control" data-i18n-attr="_username-email_|placeholder" ng-model="restorePassword.username" required/>
162-
<div class="error" ng-show="restorePasswordForm.username.$dirty && restorePasswordForm.username.$invalid">Invalid:
162+
<div class="error" ng-show="restorePasswordForm.username.$dirty && restorePasswordForm.username.$invalid">{{'_invalid-field-message_' | i18n}}:
163163
<span ng-show="restorePasswordForm.username.$error.required" data-i18n="_username-email-missed-message_"></span>
164164
</div>
165165
</div>

src/main/webapp/js/account/account.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h5 class="modal-title green bold" data-i18n="_change-password_"></h5>
4242
<div class="form-group">
4343
<label for="oldPassword" class="col-lg-2 control-label" data-i18n="_old-password_"></label>
4444
<div class="col-lg-10">
45-
<input type="password" id="oldPassword" name="oldPassword" class="form-control" placeholder="Old password" ng-model="password.oldPassword" required/>
45+
<input type="password" id="oldPassword" name="oldPassword" class="form-control" data-i18n-attr="_old-password_|placeholder" ng-model="password.oldPassword" required/>
4646
<div class="error" ng-show="changePasswordForm.oldPassword.$dirty && changePasswordForm.oldPassword.$invalid">{{'_invalid-field-message_' | i18n}}:
4747
<span ng-show="changePasswordForm.oldPassword.$error.required" data-i18n="_old-password-missed-message_"></span>
4848
</div>
@@ -51,7 +51,7 @@ <h5 class="modal-title green bold" data-i18n="_change-password_"></h5>
5151
<div class="form-group">
5252
<label for="newPassword" class="col-lg-2 control-label" data-i18n="_new-password_"></label>
5353
<div class="col-lg-10">
54-
<input type="password" id="newPassword" name="newPassword" class="form-control" placeholder="New password" ng-model="password.newPassword" required/>
54+
<input type="password" id="newPassword" name="newPassword" class="form-control" data-i18n-attr="_new-password_|placeholder" ng-model="password.newPassword" required/>
5555
<div class="error" ng-show="changePasswordForm.newPassword.$dirty && changePasswordForm.newPassword.$invalid">{{'_invalid-field-message_' | i18n}}:
5656
<span ng-show="changePasswordForm.newPassword.$error.required" data-i18n="_new-password-missed-message_"></span>
5757
</div>

src/main/webapp/js/admin/users/users.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h5 class="modal-title green bold" data-i18n="{{modaltitle}}"></h5>
1919
<div class="form-group">
2020
<label for="username" class="col-lg-2 control-label" data-i18n="_login_"></label>
2121
<div class="col-lg-10">
22-
<input type="text" id="username" name="username" class="form-control" placeholder="Username" ng-model="user.profile.username" ng-disabled="!isNew()" required/>
22+
<input type="text" id="username" name="username" class="form-control" data-i18n-attr="_username_|placeholder" ng-model="user.profile.username" ng-disabled="!isNew()" required/>
2323
<div class="error" ng-show="userForm.username.$dirty && userForm.username.$invalid">{{'_invalid-field-message_' | i18n}}:
2424
<span ng-show="userForm.username.$error.required" data-i18n="_username-missed-message_"></span>
2525
</div>
@@ -28,7 +28,7 @@ <h5 class="modal-title green bold" data-i18n="{{modaltitle}}"></h5>
2828
<div class="form-group">
2929
<label for="email" class="col-lg-2 control-label" data-i18n="_email_"></label>
3030
<div class="col-lg-10">
31-
<input type="email" id="email" name="email" class="form-control" placeholder="E-mail" ng-model="user.profile.email" ng-disabled="!isNew()" required/>
31+
<input type="email" id="email" name="email" class="form-control" data-i18n-attr="_email_|placeholder" ng-model="user.profile.email" ng-disabled="!isNew()" required/>
3232
<div class="error" ng-show="userForm.email.$dirty && userForm.email.$invalid">{{'_invalid-field-message_' | i18n}}:
3333
<span ng-show="userForm.email.$error.required" data-i18n="_email-missed-message_"></span>
3434
<span ng-show="userForm.email.$error.email" data-i18n="_malformed-email-message_"></span>

0 commit comments

Comments
 (0)