-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[i18n sprint] moving translations for map of science from ftl files t…
…o property files (#3778) * replacing language specific ftl files for MapOfScience with a generic one * small fix of layouting
- Loading branch information
Showing
2 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
webapp/src/main/webapp/templates/freemarker/visualization/mapOfScience/aboutMapOfScience.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<#-- $This file is distributed under the terms of the license in LICENSE$ --> | ||
|
||
<#assign aboutImagesRoot = '${urls.images}/visualization/mapofscience/about/'> | ||
|
||
<h2>${i18n().about_map_of_science_heading}</h2> | ||
<h3>${i18n().reference_basemap_heading}</h3> | ||
<p>${i18n().reference_basemap_description}</p> | ||
|
||
<h3>${i18n().data_overlay_heading}</h3> | ||
<p>${i18n().data_overlay_description}</p> | ||
|
||
<img src="${aboutImagesRoot}/scimap_discipline.jpg" width="450" height="327" /> | ||
<img src="${aboutImagesRoot}/scimap_subdiscipline.jpg" width="450" height="327" /> | ||
|
||
<h3>${i18n().expertise_profile_comparision_map_heading}</h3> | ||
<p>${i18n().expertise_profile_comparision_map_description}</p> | ||
|
||
<img src="${aboutImagesRoot}/scimap_comparison.jpg" width="803" height="781" style= | ||
"margin-left: 50px;"/> | ||
|
||
<h3>${i18n().interactivity_heading}</h3> | ||
<p>${i18n().interactivity_description}</p> | ||
|
||
<h3>${i18n().links_heading}</h3> | ||
<p> | ||
${i18n().links_description_the_first_part} | ||
<a href="https://doi.org/10.1371/journal.pone.0039464" target="_blank">https://doi.org/10.1371/journal.pone.0039464</a>. | ||
${i18n().links_description_the_introduction_part} | ||
<a href="http://scimaps.org" target="_blank">http://scimaps.org</a> ${i18n().and} | ||
<a href="http://mapofscience.com" target="_blank">http://mapofscience.com</a>. | ||
</p> |
51 changes: 51 additions & 0 deletions
51
.../src/main/webapp/templates/freemarker/visualization/mapOfScience/mapOfScienceTooltips.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<#-- $This file is distributed under the terms of the license in LICENSE$ --> | ||
|
||
<#-- START TOOLTIP TEXT --> | ||
|
||
<div id="toolTipOne" style="display:none;"> | ||
${i18n().map_of_science_visualization_tool_tip_one(entityLabel)} <br /><br /> | ||
|
||
<a href='${subEntityMapOfScienceCommonURL}about'>${i18n().map_of_science_visualization_learn_more}</a> | ||
</div> | ||
|
||
<div id="toolTipTwo" style="display:none;"> | ||
${i18n().map_of_science_visualization_tool_tip_two_the_first_part} <br /><br /> | ||
|
||
${i18n().map_of_science_visualization_tool_tip_two_the_second_part} <br /><br /> | ||
|
||
${i18n().map_of_science_visualization_tool_tip_two_the_third_part} | ||
</div> | ||
|
||
<div id="toolTipThree" style="display:none;"> | ||
${i18n().map_of_science_visualization_tool_tip_three_the_first_part(entityLabel)} <br /><br /> | ||
|
||
${i18n().map_of_science_visualization_tool_tip_three_the_second_part} | ||
</div> | ||
|
||
<div id="exploreTooltipText" style="display:none;"> | ||
${i18n().explore_tool_tip_text} | ||
</div> | ||
|
||
<div id="compareTooltipText" style="display:none;"> | ||
${i18n().compare_tool_tip_text_the_first_part} | ||
</div> | ||
|
||
<div id="searchInfoTooltipText" style="display:none;"> | ||
${i18n().search_info_tool_tip_text_the_first_part} | ||
</div> | ||
|
||
|
||
<#-- COMPARISON TOOLTIP TEXT --> | ||
|
||
<div id="comparisonToolTipTwo" style="display:none;"> | ||
${i18n().compare_tool_tip_text_the_second_part(entityLabel)} <br /><br /> | ||
|
||
${i18n().compare_tool_tip_text_the_third_part} <br /><br /> | ||
|
||
${i18n().compare_tool_tip_text_the_fourth_part} | ||
</div> | ||
|
||
<div id="comparisonSearchInfoTooltipText" style="display:none;"> | ||
${i18n().search_info_tool_tip_text_the_second_part} | ||
</div> | ||
<#-- END TOOLTIP TEXT --> |