Skip to content

Commit 6450e32

Browse files
mathis-marcotteMathis Marcotte
and
Mathis Marcotte
authored
added custom image message (#281)
* added custom image message --------- Co-authored-by: Mathis Marcotte <[email protected]>
1 parent 615543a commit 6450e32

File tree

3 files changed

+32
-12
lines changed

3 files changed

+32
-12
lines changed

frontend/jupyter/i18n/fr/messages.fr.xlf

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@
621621
<target> + Ajouter un nouveau volume </target>
622622
<context-group purpose="location">
623623
<context context-type="sourcefile">src/app/pages/form/form-new/form-data-volumes/form-data-volumes.component.html</context>
624-
<context context-type="linenumber">105,107</context>
624+
<context context-type="linenumber">108,110</context>
625625
</context-group>
626626
<context-group purpose="location">
627627
<context context-type="sourcefile">src/app/pages/form/form-new/form-workspace-volume/form-workspace-volume.component.html</context>
@@ -633,7 +633,7 @@
633633
<target> + Attacher un volume existant </target>
634634
<context-group purpose="location">
635635
<context context-type="sourcefile">src/app/pages/form/form-new/form-data-volumes/form-data-volumes.component.html</context>
636-
<context context-type="linenumber">117,119</context>
636+
<context context-type="linenumber">120,122</context>
637637
</context-group>
638638
<context-group purpose="location">
639639
<context context-type="sourcefile">src/app/pages/form/form-new/form-workspace-volume/form-workspace-volume.component.html</context>
@@ -780,12 +780,20 @@
780780
<context context-type="linenumber">106</context>
781781
</context-group>
782782
</trans-unit>
783+
<trans-unit id="23b8e06185a822c1aa001bd6c7519a1407dbef5a" datatype="html">
784+
<source> The selected image will be evaluated against our allow-list. For more details on using your own custom images, follow the documentation at https://github.com/StatCan/aaw-contrib-containers. </source>
785+
<target> L'image sélectionnée sera évaluée par rapport à notre liste autorisée. Pour plus de détails sur l'utilisation de vos propres images personnalisées, suivez la documentation sur https://github.com/StatCan/aaw-contrib-containers. </target>
786+
<context-group purpose="location">
787+
<context context-type="sourcefile">src/app/pages/form/form-new/form-image-custom/form-image-custom.component.html</context>
788+
<context context-type="linenumber">107,111</context>
789+
</context-group>
790+
</trans-unit>
783791
<trans-unit id="bc3f1b44922842d10b99e579bd596fec83019a08" datatype="html">
784792
<source>Provide a custom Image</source>
785793
<target>Fournir une image personnalisée</target>
786794
<context-group purpose="location">
787795
<context context-type="sourcefile">src/app/pages/form/form-new/form-image-custom/form-image-custom.component.html</context>
788-
<context context-type="linenumber">109</context>
796+
<context context-type="linenumber">114</context>
789797
</context-group>
790798
</trans-unit>
791799
<trans-unit id="6343667331017090565" datatype="html">
@@ -969,23 +977,23 @@
969977
<target>Chemin de monture requis</target>
970978
<context-group purpose="location">
971979
<context context-type="sourcefile">src/app/pages/form/form-new/volume/mount/mount.component.ts</context>
972-
<context context-type="linenumber">83</context>
980+
<context context-type="linenumber">79</context>
973981
</context-group>
974982
</trans-unit>
975983
<trans-unit id="1381043506689898239" datatype="html">
976984
<source>The accepted locations are /home/jovyan, /opt/openmpp and any of their subdirectorie</source>
977985
<target>Les chemins acceptés sont /home/jovyan, /opt/openmpp et leurs sous-répertoires</target>
978986
<context-group purpose="location">
979987
<context context-type="sourcefile">src/app/pages/form/form-new/volume/mount/mount.component.ts</context>
980-
<context context-type="linenumber">86</context>
988+
<context context-type="linenumber">82</context>
981989
</context-group>
982990
</trans-unit>
983991
<trans-unit id="5391147126140445214" datatype="html">
984992
<source>This mount path is already in use</source>
985993
<target>Ce chemin de monture est déjà utilisé</target>
986994
<context-group purpose="location">
987995
<context context-type="sourcefile">src/app/pages/form/form-new/volume/mount/mount.component.ts</context>
988-
<context context-type="linenumber">89</context>
996+
<context context-type="linenumber">85</context>
989997
</context-group>
990998
</trans-unit>
991999
<trans-unit id="dfc76e0a631038177c1bee4388585cbd8cda5ee0" datatype="html">

frontend/jupyter/i18n/messages.xlf

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@
548548
<source> + Add new volume </source>
549549
<context-group purpose="location">
550550
<context context-type="sourcefile">src/app/pages/form/form-new/form-data-volumes/form-data-volumes.component.html</context>
551-
<context context-type="linenumber">105,107</context>
551+
<context context-type="linenumber">108,110</context>
552552
</context-group>
553553
<context-group purpose="location">
554554
<context context-type="sourcefile">src/app/pages/form/form-new/form-workspace-volume/form-workspace-volume.component.html</context>
@@ -559,7 +559,7 @@
559559
<source> + Attach existing volume </source>
560560
<context-group purpose="location">
561561
<context context-type="sourcefile">src/app/pages/form/form-new/form-data-volumes/form-data-volumes.component.html</context>
562-
<context context-type="linenumber">117,119</context>
562+
<context context-type="linenumber">120,122</context>
563563
</context-group>
564564
<context-group purpose="location">
565565
<context context-type="sourcefile">src/app/pages/form/form-new/form-workspace-volume/form-workspace-volume.component.html</context>
@@ -693,11 +693,18 @@
693693
<context context-type="linenumber">106</context>
694694
</context-group>
695695
</trans-unit>
696+
<trans-unit id="23b8e06185a822c1aa001bd6c7519a1407dbef5a" datatype="html">
697+
<source> The selected image will be evaluated against our allow-list. For more details on using your own custom images, follow the documentation at https://github.com/StatCan/aaw-contrib-containers. </source>
698+
<context-group purpose="location">
699+
<context context-type="sourcefile">src/app/pages/form/form-new/form-image-custom/form-image-custom.component.html</context>
700+
<context context-type="linenumber">107,111</context>
701+
</context-group>
702+
</trans-unit>
696703
<trans-unit id="bc3f1b44922842d10b99e579bd596fec83019a08" datatype="html">
697704
<source>Provide a custom Image</source>
698705
<context-group purpose="location">
699706
<context context-type="sourcefile">src/app/pages/form/form-new/form-image-custom/form-image-custom.component.html</context>
700-
<context context-type="linenumber">109</context>
707+
<context context-type="linenumber">114</context>
701708
</context-group>
702709
</trans-unit>
703710
<trans-unit id="6343667331017090565" datatype="html">
@@ -861,21 +868,21 @@
861868
<source>Mount path is required</source>
862869
<context-group purpose="location">
863870
<context context-type="sourcefile">src/app/pages/form/form-new/volume/mount/mount.component.ts</context>
864-
<context context-type="linenumber">83</context>
871+
<context context-type="linenumber">79</context>
865872
</context-group>
866873
</trans-unit>
867874
<trans-unit id="1381043506689898239" datatype="html">
868875
<source>The accepted locations are /home/jovyan, /opt/openmpp and any of their subdirectorie</source>
869876
<context-group purpose="location">
870877
<context context-type="sourcefile">src/app/pages/form/form-new/volume/mount/mount.component.ts</context>
871-
<context context-type="linenumber">86</context>
878+
<context context-type="linenumber">82</context>
872879
</context-group>
873880
</trans-unit>
874881
<trans-unit id="5391147126140445214" datatype="html">
875882
<source>This mount path is already in use</source>
876883
<context-group purpose="location">
877884
<context context-type="sourcefile">src/app/pages/form/form-new/volume/mount/mount.component.ts</context>
878-
<context context-type="linenumber">89</context>
885+
<context context-type="linenumber">85</context>
879886
</context-group>
880887
</trans-unit>
881888
<trans-unit id="dfc76e0a631038177c1bee4388585cbd8cda5ee0" datatype="html">

frontend/jupyter/src/app/pages/form/form-new/form-image-custom/form-image-custom.component.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@
104104
*ngIf="parentForm?.value.customImageCheck"
105105
>
106106
<mat-label i18n>Custom Image</mat-label>
107+
<mat-hint i18n>
108+
The selected image will be evaluated against our allow-list. For more
109+
details on using your own custom images, follow the documentation at
110+
https://github.com/StatCan/aaw-contrib-containers.
111+
</mat-hint>
107112
<input
108113
matInput
109114
placeholder="Provide a custom Image"

0 commit comments

Comments
 (0)