Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web-app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
custom-apps
web-app
Commits
165aa8d1
Commit
165aa8d1
authored
5 years ago
by
ext.sopra.ncastejon
Browse files
Options
Downloads
Patches
Plain Diff
Add translation for the 'url too long' message.
parent
936c1504
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!73
Development
Pipeline
#5237
passed
5 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/app/datasets/components/results/results.component.ts
+2
-2
2 additions, 2 deletions
src/app/datasets/components/results/results.component.ts
src/i18n/traductions.fr.ts
+1
-0
1 addition, 0 deletions
src/i18n/traductions.fr.ts
src/i18n/traductions.ts
+1
-0
1 addition, 0 deletions
src/i18n/traductions.ts
with
4 additions
and
2 deletions
src/app/datasets/components/results/results.component.ts
+
2
−
2
View file @
165aa8d1
...
@@ -3,7 +3,7 @@ import { Component, OnDestroy, OnInit } from '@angular/core';
...
@@ -3,7 +3,7 @@ import { Component, OnDestroy, OnInit } from '@angular/core';
import
{
Meta
}
from
'
@angular/platform-browser
'
;
import
{
Meta
}
from
'
@angular/platform-browser
'
;
import
{
ActivatedRoute
}
from
'
@angular/router
'
;
import
{
ActivatedRoute
}
from
'
@angular/router
'
;
import
{
Subscription
}
from
'
rxjs
'
;
import
{
Subscription
}
from
'
rxjs
'
;
import
{
metaDescription
}
from
'
../../../../i18n/traductions
'
;
import
{
metaDescription
,
notificationMessages
}
from
'
../../../../i18n/traductions
'
;
import
{
Notification
}
from
'
../../../core/models
'
;
import
{
Notification
}
from
'
../../../core/models
'
;
import
{
NotificationService
}
from
'
../../../core/services
'
;
import
{
NotificationService
}
from
'
../../../core/services
'
;
import
{
CMSContent
}
from
'
../../../editorialisation/models
'
;
import
{
CMSContent
}
from
'
../../../editorialisation/models
'
;
...
@@ -55,7 +55,7 @@ export class ResultsComponent implements OnInit, OnDestroy {
...
@@ -55,7 +55,7 @@ export class ResultsComponent implements OnInit, OnDestroy {
if
(
location
.
href
.
length
>
2000
)
{
if
(
location
.
href
.
length
>
2000
)
{
this
.
_researchUrlService
.
reset
();
this
.
_researchUrlService
.
reset
();
this
.
_notificationService
.
notify
(
new
Notification
({
this
.
_notificationService
.
notify
(
new
Notification
({
message
:
'
The url was too long bro. Have a join to feel better.
'
,
message
:
notificationMessages
.
general
.
urlToolLong
,
type
:
'
warning
'
,
type
:
'
warning
'
,
}));
}));
}
else
{
}
else
{
...
...
This diff is collapsed.
Click to expand it.
src/i18n/traductions.fr.ts
+
1
−
0
View file @
165aa8d1
...
@@ -73,6 +73,7 @@ export const notificationMessages = {
...
@@ -73,6 +73,7 @@ export const notificationMessages = {
failedDownloadFile
:
'
Désolé, il n
\'
a pas été possible de télécharger le fichier. Essayez plus tard !
'
,
failedDownloadFile
:
'
Désolé, il n
\'
a pas été possible de télécharger le fichier. Essayez plus tard !
'
,
failedDownloadFileUnauthorized
:
'
Vous n
\'
avez pas les droits nécéssaires pour télécharger ce fichier.
'
,
failedDownloadFileUnauthorized
:
'
Vous n
\'
avez pas les droits nécéssaires pour télécharger ce fichier.
'
,
failedDownloadFileUnauthenticated
:
'
Vous devez être connecté pour accéder à ce fichier.
'
,
failedDownloadFileUnauthenticated
:
'
Vous devez être connecté pour accéder à ce fichier.
'
,
urlToolLong
:
'
L
\'
url est trop longue, elle ne peut pas être utilisée.
'
,
},
},
userPasswordForgotten
:
{
userPasswordForgotten
:
{
failed
:
'
Une erreur s
\'
est produite lors du lancement de la procédure de réinitialisation du mot de passe.
'
,
failed
:
'
Une erreur s
\'
est produite lors du lancement de la procédure de réinitialisation du mot de passe.
'
,
...
...
This diff is collapsed.
Click to expand it.
src/i18n/traductions.ts
+
1
−
0
View file @
165aa8d1
...
@@ -74,6 +74,7 @@ export const notificationMessages = {
...
@@ -74,6 +74,7 @@ export const notificationMessages = {
failedDownloadFile
:
'
Sorry, it was not possible to download the file. Try later !
'
,
failedDownloadFile
:
'
Sorry, it was not possible to download the file. Try later !
'
,
failedDownloadFileUnauthorized
:
'
You don
\'
t have the necessary rights to download this file.
'
,
failedDownloadFileUnauthorized
:
'
You don
\'
t have the necessary rights to download this file.
'
,
failedDownloadFileUnauthenticated
:
'
You need to be authenticated to download this file.
'
,
failedDownloadFileUnauthenticated
:
'
You need to be authenticated to download this file.
'
,
urlToolLong
:
'
The url is too long, it can not be used.
'
,
},
},
userPasswordForgotten
:
{
userPasswordForgotten
:
{
failed
:
'
An error occured while initiating the password reset procedure
'
,
failed
:
'
An error occured while initiating the password reset procedure
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment