Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Sprint i18n! #94

Merged
merged 60 commits into from
Feb 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
58ba756
Layer uqam updates onto upstream-master
Mar 24, 2020
05bdeb5
Distribution of languages in different directories
michel-heon Apr 1, 2020
4c35646
Distribution of languages in different directories
michel-heon Apr 1, 2020
bb63f8c
Merge branch 'sprint-i18n' of https://github.com/UQAM-VIVO/VIVO-langu…
michel-heon Apr 7, 2020
0f441ac
Replacing *fr_CA.n3 to fr_CA.ttl to increase lisibility
michel-heon Apr 7, 2020
ea1f039
Moving to VIVO repo - must for VIVO-i18n-core
michel-heon Apr 8, 2020
e2462b9
Update minor typo in 'Prix et Distinction'
Apr 9, 2020
9c24025
Bug fix 1778 (#32)
VIVO-UQAM Apr 13, 2020
95f210e
Correct pom description + adding README.md for creating the mandatory
michel-heon Apr 14, 2020
263f633
Merge pull request #34 from UQAM-VIVO/BugFix-1790
Apr 14, 2020
f563fbb
Latest version of all German files
hauschke Apr 15, 2020
864d27c
Merge pull request #35 from VIVO-DE/sprint-i18n
Apr 15, 2020
24d7993
Update minor typo in 'Prix et Distinction' (#30)
brianjlowe Apr 15, 2020
767639d
Update typos
Apr 10, 2020
75856e0
Fixed some syntax errors (in vivo:isCorrespondingAuthor, owl:sameAs,
matthiasluehr Apr 16, 2020
7c087d8
fixed typo and unconsistent grammar
nicalico Apr 17, 2020
17e09d7
Fixed typo
nicalico Apr 17, 2020
3d19b3e
fixed syntax to account for context (#40)
nicalico Apr 20, 2020
2a8e1e1
Add language-specific modules into the core build artifact
Apr 21, 2020
f36e0a2
Merge pull request #41 from awoods/vivo-1836
brianjlowe May 1, 2020
39c54f1
Removed typos (#45)
nicalico May 11, 2020
6eeeb4d
Changed/inserted variables in .ftl files to fix French syntax problem…
nicalico May 20, 2020
089e611
Fixed typos and normalized gender related expressions
nicalico May 12, 2020
c463b62
Feature en ca (#46)
May 22, 2020
95c3eb0
Added French version of About Page
nicalico May 22, 2020
b76f557
Added missing german language file to de_DE/home/src/main/resources/r…
matthiasluehr May 22, 2020
ace7e90
Fixed typos, whitespaces and mistranslations in fr_CA ttl files (#51)
nicalico May 22, 2020
5fb35d5
Updated structure of language files (firsttime/filegraph/everytime). …
matthiasluehr Jun 24, 2020
08e6a32
i18n: title tag and headings in capability map are in english in fren…
dofeldsc Jun 25, 2020
301aaa6
[VIVO-1846] i18n: Added i18n support for Capability Map control butto…
dofeldsc Jun 26, 2020
2c47b73
removed language specific capability map templates and added the text…
dofeldsc Jul 2, 2020
d2bb770
Added initialTBoxAnnotations_fr_CA.nt (#50)
nicalico Aug 24, 2020
0fcf240
added js_string at i18n strings to handle quotes properly, ticket viv…
dofeldsc Aug 26, 2020
03613ef
add translations for form headings (#65)
wwelling Aug 26, 2020
5bcfbd1
Move files from everytime to firsttime
Aug 28, 2020
c306e2f
Merge pull request #67 from awoods/vivo-1917
gneissone Sep 3, 2020
1f1340e
vitroAnnotations: fixed missing tag in fr_Ca, fixed bug in de_DE and …
dofeldsc Sep 22, 2020
673b584
Added properties for labelling former key.png in cap map. (#70)
Sep 24, 2020
5a5363b
Fix missing quotation mark in aboutPage_pt_BR.n3 (#24)
gneissone Sep 25, 2020
9410a15
- providing german translation of ORCID and DOI claimer related mess…
matthiasluehr Sep 25, 2020
1607256
- added i18n in some freemarker templates in french language files
matthiasluehr Sep 25, 2020
4d60e78
Ensure RDF files are assembled into language-specific directories (#57)
Oct 6, 2020
685596e
Reproduce @hauschke suggestion to remove orcid confirmation text
gneissone Jan 6, 2021
a13bd00
Changed arguments of replace method to accommodate thousands separato…
nicalico Jan 12, 2021
b0ef29d
Remove fr_CA .ftl files that only differ from core by single quotes (…
Jan 12, 2021
60933a5
Update references to ResearcherID (#76)
gneissone Jan 12, 2021
9d6d3fc
Return missing period to its rightful home
gneissone Jan 26, 2021
4482c93
Modified addRoleToPersonTwoStage_fr_CA.ftl and .properties files to a…
nicalico Jan 25, 2021
a3ba7e7
[VIVO-1936] i18n: Removed language flag images
bkampe Jan 25, 2021
4a7caa6
minor french translation changes
wwelling Jan 26, 2021
ac4867e
Modifier autoCompleteObjectPropForm_fr_CA.ftl to accomodate French gr…
nicalico Jan 26, 2021
e13cf42
Added js_string method to addRoleToPersonTwoStage_fr_CA.ftl
nicalico Jan 27, 2021
fe8d53e
Remove outdated override file
gneissone Jan 27, 2021
61c06e6
Minor modifications in fr_CA RDF files
nicalico Jan 26, 2021
9c00a1c
[VIVO-1852] i18n: Minor changes to the french translation in the entr…
bkampe Jan 28, 2021
e448c48
Removed dateTimeWithPrecision_fr_CA.ftl and added properties required…
nicalico Jan 29, 2021
f67b58e
moved autoCompleteObjectPropForm_fr_CA.ftl from VIVO-languages to Vit…
dofeldsc Jan 29, 2021
45820b3
[VIVO-1798] - Internationalize first and last name validation (#84)
gneissone Jan 29, 2021
602b1a5
1928 es and pt translations 4 orcid (#93)
smierz Feb 4, 2021
ba58ada
Re-did changes on updated repo
matthiasluehr Feb 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ utilities/rdbmigration/.work
**/.idea
**/*.iml
**/target
*~

**/overlays

Expand Down
File renamed without changes.
103 changes: 103 additions & 0 deletions core/home/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages-home-core</artifactId>
<version>1.11.2-SNAPSHOT</version>
<packaging>pom</packaging>

<parent>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages-core</artifactId>
<version>1.11.2-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

<name>VIVO Languages for Home CORE</name>

<dependencies>
<dependency>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages-home-en_US</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
</dependency>
<dependency>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages-home-de_DE</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
</dependency>
<dependency>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages-home-es</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
</dependency>
<dependency>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages-home-fr_CA</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
</dependency>
<dependency>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages-home-pt_BR</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
</dependency>
<dependency>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages-home-en_CA</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<tarLongFileMode>posix</tarLongFileMode>
<descriptors>
<descriptor>src/main/assembly/home.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>target/${project.artifactId}-${project.version}.tar.gz</file>
<type>tar.gz</type>
<!-- classifier>optional</classifier -->
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
18 changes: 18 additions & 0 deletions core/home/src/main/resources/rdf/abox/filegraph/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
This directory contains "ABox" files with with RDF assertions about named individuals to be loaded by the VIVO application when it starts. There is a companion "tbox" directory that contains ontology class and property definitions.

The TBox and ABox are separated because VIVO caches ontology classes and properties in memory for improved performance. The contents of this directory will not be added to the cache.

Each file in this directory corresponds to a single graph in the VIVO graph store. For example, the contents of a file in this directory named example.owl would be loaded into graph named:

http://vitro.mannlib.cornell.edu/filegraph/abox/example.owl

At next startup, this graph will be checked against the contents of the file in the directory. If the two are not isomorphic, the graph in the store will be cleared and reloaded to match the current contents of the file. If the file no longer exists in the directory, the graph will be dropped entirely.

If a file contains any syntax errors, it will not be able to be parsed and its corresponding graph will not be updated at all. The parse error will be logged in vivo.all.log.

The following file formats are supported:

RDF/XML (.rdf or .owl)
N3 (.n3)
Turtle (.ttl)
N-triples (.nt)
22 changes: 22 additions & 0 deletions core/home/src/main/resources/rdf/tbox/filegraph/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
This directory contains ontology "TBox" files with class and property definitions to be loaded by the VIVO application when it starts. There is a companion "abox" directory that contains RDF assertions about named individuals.

The TBox and ABox are separated because VIVO caches ontology classes and properties in memory for improved performance. The contents of TBox directory will be added to this cache, while the ABox data will not.

Each file in this directory corresponds to a single graph in the VIVO graph store. For example, the contents of a file in this directory named example.owl would be loaded into graph named:

http://vitro.mannlib.cornell.edu/filegraph/tbox/example.owl

At next startup, this graph will be checked against the contents of the file in the directory. If the two are not isomorphic, the graph in the store will be cleared and reloaded to match the current contents of the file. If the file no longer exists in the directory, the graph will be dropped entirely.

If a file contains any syntax errors, it will not be able to be parsed and its corresponding graph will not be updated at all. The parse error will be logged in vivo.all.log.

The following file formats are supported:

* RDF/XML (.rdf or .owl)
* N3 (.n3)
* Turtle (.ttl)
* N-triples (.nt)

The file ontologies.owl is required and lists the ontologies that will appear in the VIVO
ontology list. Labels and prefixes for these ontologies can be found in
tbox/firsttime/vitroAnnotations.n3
6 changes: 6 additions & 0 deletions core/home/src/main/resources/rdf/tbox/firsttime/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This directory contains ontology "TBox" files with class and property definitions.
These are loaded by the VIVO application when it starts for the first time, after
the initial installation or after an upgrade installation that involves changes
to these files.

See ../filegraph/README.md for more information about "TBox" files.
233 changes: 233 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages-core</artifactId>
<version>1.11.2-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-languages</artifactId>
<version>1.11.2-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<name>VIVO Languages CORE</name>
<description>VIVO Languages</description>
<url>http://vivoweb.org/</url>

<licenses>
<license>
<name>BSD 3-Clause License</name>
<url>https://raw.github.com/vivo-project/VIVO/develop/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<name>Graham Triggs</name>
<email>gtriggs@duraspace.org</email>
<organization>DuraSpace</organization>
<organizationUrl>http://vivoweb.org/</organizationUrl>
</developer>
<developer>
<name>Jim Blake</name>
<email>jeb228@cornell.edu</email>
<organization>Cornell University Library</organization>
<organizationUrl>https://github.com/j2blake</organizationUrl>
</developer>
<developer>
<name>John Fereira</name>
<email>jaf30@cornell.edu</email>
<organization>Cornell University</organization>
<organizationUrl>https://github.com/fereira</organizationUrl>
</developer>
</developers>

<!--
The SCM repository location is used by Continuum to update against
when changes have occurred. This spawns a new build cycle and releases
snapshots into the snapshot repository below.
-->
<scm>
<connection>scm:git:git@github.com:vivo-project/VIVO-languages.git</connection>
<developerConnection>scm:git:git@github.com:vivo-project/VIVO-languages.git</developerConnection>
<url>git@github.com:vivo-project/VIVO-languages.git</url>
<tag>HEAD</tag>
</scm>

<properties>
<vitro-version>${project.version}</vitro-version>
<vivo-dir>${basedir}</vivo-dir>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
<build.timestamp>${maven.build.timestamp}</build.timestamp>
<maven-site-plugin.skip>false</maven-site-plugin.skip>
<stagingBase>/</stagingBase>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<modules>
<module>home</module>
<module>webapp</module>
</modules>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<!-- plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<quiet>true</quiet>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<shortRevisionLength>7</shortRevisionLength>
<revisionOnScmFailure>Detached</revisionOnScmFailure>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.3</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<distributionManagement>
<site>
<id>vivo-project</id>
<url>https://vivo-project.github.io/</url>
</site>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>
File renamed without changes.
File renamed without changes.
Loading