Skip to content

New Crowdin updates #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e7b2f0b
New translations rest_messages.properties (French)
lutece-crowdin Jun 12, 2023
5d1c34c
New translations rest_messages.properties (Spanish)
lutece-crowdin Jun 12, 2023
6ab5333
New translations rest_messages.properties (Czech)
lutece-crowdin Jun 12, 2023
17cc7aa
New translations rest_messages.properties (German)
lutece-crowdin Jun 12, 2023
2465fe2
New translations rest_messages.properties (Finnish)
lutece-crowdin Jun 12, 2023
194025a
New translations rest_messages.properties (Italian)
lutece-crowdin Jun 12, 2023
264a446
New translations rest_messages.properties (Dutch)
lutece-crowdin Jun 12, 2023
da47af4
New translations rest_messages.properties (Portuguese)
lutece-crowdin Jun 12, 2023
d3a954b
New translations rest_messages.properties (Swedish)
lutece-crowdin Jun 12, 2023
e4bdc71
New translations rest_messages.properties (English)
lutece-crowdin Jun 12, 2023
27d6886
New translations index.xml (French)
lutece-crowdin Jun 12, 2023
2ccd97d
New translations index.xml (Spanish)
lutece-crowdin Jun 12, 2023
07d534f
New translations index.xml (Czech)
lutece-crowdin Jun 12, 2023
c6edab5
New translations index.xml (German)
lutece-crowdin Jun 12, 2023
ec6904a
New translations index.xml (Finnish)
lutece-crowdin Jun 12, 2023
0d28087
New translations index.xml (Italian)
lutece-crowdin Jun 12, 2023
20e6b7a
New translations index.xml (Dutch)
lutece-crowdin Jun 12, 2023
95e9d00
New translations index.xml (Portuguese)
lutece-crowdin Jun 12, 2023
37a3aca
New translations index.xml (Swedish)
lutece-crowdin Jun 12, 2023
851c425
New translations index.xml (English)
lutece-crowdin Jun 12, 2023
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugin.description=REST services provider
plugin.provider=Mairie de Paris
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugin.description=REST services provider
plugin.provider=Mairie de Paris
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugin.description=REST services provider
plugin.provider=Mairie de Paris
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugin.description=REST services provider
plugin.provider=Mairie de Paris
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugin.description=REST services provider
plugin.provider=Mairie de Paris
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
plugin.description=Fournisseur de services REST
plugin.description=Fournisseur de services REST
plugin.provider=Mairie de Paris
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugin.description=REST services provider
plugin.provider=Mairie de Paris
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugin.description=REST services provider
plugin.provider=Mairie de Paris
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugin.description=REST services provider
plugin.provider=Mairie de Paris
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugin.description=REST services provider
plugin.provider=Mairie de Paris
60 changes: 60 additions & 0 deletions src/site/cs/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin REST</title>
</properties>
<body>
<section name="Plugin REST">
<subsection name="Introduction">
This plugin allows you to develop JAXRS REST services.
</subsection>
<subsection name="Configuration">
<p>This plugin uses Jersey 2.</p>
<p>Singleton Root resources need the @component (
org.springframework.stereotype.Component ) annotation in addition to
@path</p>

<p>Warning : This version 3.0.0 is not fully backwards compatible with oldest implementations. </p>
<ul>
<li> Jersey will not use the spring bean without @component annotation and will instantiate the
bean itself (the scope can be controller through annotations:
prototype, request, singleton).
</li>
<li>Spring Root resources with scope session or request are no longer
supported</li>
</ul>

</subsection>
<subsection name="Usage">
<p>Example of REST implementation : </p>
<div class="source">
<pre>
@Path( SERVICE_PATH )
public class MyRest {

@GET
@Path( Constants.SEARCH_PATH )
@Component
@Produces( MediaType.APPLICATION_JSON )
public Response getItemsList( )
{
// search...

return Response.status( Response.Status.NOT_FOUND )
.entity( JsonUtil.buildJsonResponse( new ErrorJsonResponse( Response.Status.NOT_FOUND.name( ), Constants.ERROR_NOT_FOUND_VERSION ) ) )
.build( );
}
}
</pre>
</div>
<p> The Rest classes should be declared in plugin context :</p>
<div class="source">
<pre>
&lt;bean id="my-app.restService"
class="fr.paris.lutece.plugins.myapp.modules.rest.service.myappRest"&gt;
</pre>
</div>
</subsection>
</section>
</body>
</document>
60 changes: 60 additions & 0 deletions src/site/de/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin REST</title>
</properties>
<body>
<section name="Plugin REST">
<subsection name="Introduction">
This plugin allows you to develop JAXRS REST services.
</subsection>
<subsection name="Configuration">
<p>This plugin uses Jersey 2.</p>
<p>Singleton Root resources need the @component (
org.springframework.stereotype.Component ) annotation in addition to
@path</p>

<p>Warning : This version 3.0.0 is not fully backwards compatible with oldest implementations. </p>
<ul>
<li> Jersey will not use the spring bean without @component annotation and will instantiate the
bean itself (the scope can be controller through annotations:
prototype, request, singleton).
</li>
<li>Spring Root resources with scope session or request are no longer
supported</li>
</ul>

</subsection>
<subsection name="Usage">
<p>Example of REST implementation : </p>
<div class="source">
<pre>
@Path( SERVICE_PATH )
public class MyRest {

@GET
@Path( Constants.SEARCH_PATH )
@Component
@Produces( MediaType.APPLICATION_JSON )
public Response getItemsList( )
{
// search...

return Response.status( Response.Status.NOT_FOUND )
.entity( JsonUtil.buildJsonResponse( new ErrorJsonResponse( Response.Status.NOT_FOUND.name( ), Constants.ERROR_NOT_FOUND_VERSION ) ) )
.build( );
}
}
</pre>
</div>
<p> The Rest classes should be declared in plugin context :</p>
<div class="source">
<pre>
&lt;bean id="my-app.restService"
class="fr.paris.lutece.plugins.myapp.modules.rest.service.myappRest"&gt;
</pre>
</div>
</subsection>
</section>
</body>
</document>
60 changes: 60 additions & 0 deletions src/site/en/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin REST</title>
</properties>
<body>
<section name="Plugin REST">
<subsection name="Introduction">
This plugin allows you to develop JAXRS REST services.
</subsection>
<subsection name="Configuration">
<p>This plugin uses Jersey 2.</p>
<p>Singleton Root resources need the @component (
org.springframework.stereotype.Component ) annotation in addition to
@path</p>

<p>Warning : This version 3.0.0 is not fully backwards compatible with oldest implementations. </p>
<ul>
<li> Jersey will not use the spring bean without @component annotation and will instantiate the
bean itself (the scope can be controller through annotations:
prototype, request, singleton).
</li>
<li>Spring Root resources with scope session or request are no longer
supported</li>
</ul>

</subsection>
<subsection name="Usage">
<p>Example of REST implementation : </p>
<div class="source">
<pre>
@Path( SERVICE_PATH )
public class MyRest {

@GET
@Path( Constants.SEARCH_PATH )
@Component
@Produces( MediaType.APPLICATION_JSON )
public Response getItemsList( )
{
// search...

return Response.status( Response.Status.NOT_FOUND )
.entity( JsonUtil.buildJsonResponse( new ErrorJsonResponse( Response.Status.NOT_FOUND.name( ), Constants.ERROR_NOT_FOUND_VERSION ) ) )
.build( );
}
}
</pre>
</div>
<p> The Rest classes should be declared in plugin context :</p>
<div class="source">
<pre>
&lt;bean id="my-app.restService"
class="fr.paris.lutece.plugins.myapp.modules.rest.service.myappRest"&gt;
</pre>
</div>
</subsection>
</section>
</body>
</document>
60 changes: 60 additions & 0 deletions src/site/es/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin REST</title>
</properties>
<body>
<section name="Plugin REST">
<subsection name="Introduction">
This plugin allows you to develop JAXRS REST services.
</subsection>
<subsection name="Configuration">
<p>This plugin uses Jersey 2.</p>
<p>Singleton Root resources need the @component (
org.springframework.stereotype.Component ) annotation in addition to
@path</p>

<p>Warning : This version 3.0.0 is not fully backwards compatible with oldest implementations. </p>
<ul>
<li> Jersey will not use the spring bean without @component annotation and will instantiate the
bean itself (the scope can be controller through annotations:
prototype, request, singleton).
</li>
<li>Spring Root resources with scope session or request are no longer
supported</li>
</ul>

</subsection>
<subsection name="Usage">
<p>Example of REST implementation : </p>
<div class="source">
<pre>
@Path( SERVICE_PATH )
public class MyRest {

@GET
@Path( Constants.SEARCH_PATH )
@Component
@Produces( MediaType.APPLICATION_JSON )
public Response getItemsList( )
{
// search...

return Response.status( Response.Status.NOT_FOUND )
.entity( JsonUtil.buildJsonResponse( new ErrorJsonResponse( Response.Status.NOT_FOUND.name( ), Constants.ERROR_NOT_FOUND_VERSION ) ) )
.build( );
}
}
</pre>
</div>
<p> The Rest classes should be declared in plugin context :</p>
<div class="source">
<pre>
&lt;bean id="my-app.restService"
class="fr.paris.lutece.plugins.myapp.modules.rest.service.myappRest"&gt;
</pre>
</div>
</subsection>
</section>
</body>
</document>
60 changes: 60 additions & 0 deletions src/site/fi/xdoc/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Plugin REST</title>
</properties>
<body>
<section name="Plugin REST">
<subsection name="Introduction">
This plugin allows you to develop JAXRS REST services.
</subsection>
<subsection name="Configuration">
<p>This plugin uses Jersey 2.</p>
<p>Singleton Root resources need the @component (
org.springframework.stereotype.Component ) annotation in addition to
@path</p>

<p>Warning : This version 3.0.0 is not fully backwards compatible with oldest implementations. </p>
<ul>
<li> Jersey will not use the spring bean without @component annotation and will instantiate the
bean itself (the scope can be controller through annotations:
prototype, request, singleton).
</li>
<li>Spring Root resources with scope session or request are no longer
supported</li>
</ul>

</subsection>
<subsection name="Usage">
<p>Example of REST implementation : </p>
<div class="source">
<pre>
@Path( SERVICE_PATH )
public class MyRest {

@GET
@Path( Constants.SEARCH_PATH )
@Component
@Produces( MediaType.APPLICATION_JSON )
public Response getItemsList( )
{
// search...

return Response.status( Response.Status.NOT_FOUND )
.entity( JsonUtil.buildJsonResponse( new ErrorJsonResponse( Response.Status.NOT_FOUND.name( ), Constants.ERROR_NOT_FOUND_VERSION ) ) )
.build( );
}
}
</pre>
</div>
<p> The Rest classes should be declared in plugin context :</p>
<div class="source">
<pre>
&lt;bean id="my-app.restService"
class="fr.paris.lutece.plugins.myapp.modules.rest.service.myappRest"&gt;
</pre>
</div>
</subsection>
</section>
</body>
</document>
Loading