Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nghyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
Cassiopée
nghyd
Commits
fd57ffc9
Commit
fd57ffc9
authored
1 year ago
by
Dorch
Browse files
Options
Downloads
Patches
Plain Diff
fix: update ServiceWorker remove version in case of failed installation
Refs
#633
parent
5fe1b20d
No related branches found
No related tags found
No related merge requests found
Pipeline
#148826
passed
1 year ago
Stage: install
Stage: build
Stage: clean-stale-branches
Stage: deploy-dev
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/app/services/service-worker-update.service.ts
+2
-3
2 additions, 3 deletions
src/app/services/service-worker-update.service.ts
src/locale/messages.en.json
+1
-1
1 addition, 1 deletion
src/locale/messages.en.json
src/locale/messages.fr.json
+1
-1
1 addition, 1 deletion
src/locale/messages.fr.json
with
4 additions
and
5 deletions
src/app/services/service-worker-update.service.ts
+
2
−
3
View file @
fd57ffc9
...
...
@@ -61,9 +61,8 @@ export class ServiceWorkerUpdateService {
break
;
case
'
VERSION_INSTALLATION_FAILED
'
:
ver
=
(
evt
as
any
).
version
?.
appData
?.
version
??
"
NA
"
;
console
.
log
(
"
ServiceWorkerUpdateService: VERSION_INSTALLATION_FAILED
"
,
ver
);
this
.
notificationService
.
notify
(
this
.
i18nService
.
localizeText
(
"
ERROR_SERVICE_WORKER_INSTALL_FAILED
"
,
{
"
ver
"
:
ver
}),
10000
);
console
.
log
(
"
ServiceWorkerUpdateService: VERSION_INSTALLATION_FAILED
"
);
this
.
notificationService
.
notify
(
this
.
i18nService
.
localizeText
(
"
ERROR_SERVICE_WORKER_INSTALL_FAILED
"
),
10000
);
break
;
}
});
...
...
This diff is collapsed.
Click to expand it.
src/locale/messages.en.json
+
1
−
1
View file @
fd57ffc9
...
...
@@ -678,7 +678,7 @@
"INFO_ESPECE_TITRE_COURT"
:
"Species"
,
"INFO_SERVICE_WORKER_VERSION_DETECTED"
:
"Downloading Cassiopée version %ver%..."
,
"INFO_SERVICE_WORKER_VERSION_READY"
:
"Cassiopée version %ver% is ready to be used, please restart."
,
"ERROR_SERVICE_WORKER_INSTALL_FAILED"
:
"Cassiopée version
%ver%
installation failed."
,
"ERROR_SERVICE_WORKER_INSTALL_FAILED"
:
"Cassiopée
new
version installation failed."
,
"ERROR_JET_SUBMERGED_NO_SOLUTION"
:
"There is no solution"
,
"WARNING_DEVER_ZDV_INF_ZR"
:
"Apron elevation of structure #%number% is below river bed elevation"
,
"WARNING_JET_START_SUBMERGED"
:
"Water elevation is greater than jet start elevation"
,
...
...
This diff is collapsed.
Click to expand it.
src/locale/messages.fr.json
+
1
−
1
View file @
fd57ffc9
...
...
@@ -679,7 +679,7 @@
"INFO_ESPECE_TITRE_COURT"
:
"Espèce"
,
"INFO_SERVICE_WORKER_VERSION_DETECTED"
:
"Téléchargement de la version %ver% de Cassiopée en cours..."
,
"INFO_SERVICE_WORKER_VERSION_READY"
:
"La version %ver% de Cassiopée est prête à être utilisée, veuillez redémarrer."
,
"ERROR_SERVICE_WORKER_INSTALL_FAILED"
:
"Erreur d'installation de
Cassiopée version %ver%
."
,
"ERROR_SERVICE_WORKER_INSTALL_FAILED"
:
"Erreur d'installation de
la nouvelle version de Cassiopée
."
,
"ERROR_JET_SUBMERGED_NO_SOLUTION"
:
"Il n'y a pas de solution"
,
"WARNING_DEVER_ZDV_INF_ZR"
:
"La cote de radier de l'ouvrage n°%number% est sous la cote de fond du lit"
,
"WARNING_JET_START_SUBMERGED"
:
"La cote de l'eau est supérieure à la cote de départ du jet"
,
...
...
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