File tree 3 files changed +44
-1
lines changed
3 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 31
31
"NEED_HELP" : " Help needed ?" ,
32
32
"READ_MORE" : " Read more" ,
33
33
"BACK" : " Return" ,
34
+ "LEGAL_NOTICE" : " Legal notice" ,
35
+ "PRIVACY_POLICY" : " Privacy policy" ,
34
36
"layout" : {
35
37
"SETTINGS" : " My settings" ,
36
38
"ABOUT" : " About" ,
Original file line number Diff line number Diff line change 31
31
"NEED_HELP" : " Besoin d'aide ?" ,
32
32
"READ_MORE" : " En savoir plus" ,
33
33
"BACK" : " Retour" ,
34
+ "LEGAL_NOTICE" : " Mentions légales" ,
35
+ "PRIVACY_POLICY" : " Politique de confidentialité" ,
34
36
"layout" : {
35
37
"SETTINGS" : " Mes paramètres" ,
36
38
"ABOUT" : " A propos" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,46 @@ module.exports = {
31
31
component : 'app/KAbout' , title : 'ABOUT' , okAction : 'CLOSE'
32
32
}
33
33
} ,
34
- onlineHelp : ( url ) => {
34
+ PLATFORM_INFO : {
35
+ id : 'platform-info' ,
36
+ icon : 'las la-desktop' ,
37
+ label : 'KAbout.PLATFORM_INFO' ,
38
+ stack : true ,
39
+ dialog : {
40
+ title : 'KAbout.PLATFORM_INFO' ,
41
+ component : 'app/KPlatform' ,
42
+ okAction : 'CLOSE' ,
43
+ widthPolicy : 'narrow'
44
+ }
45
+ } ,
46
+ REPORT_BUG : {
47
+ id : 'report-bug' ,
48
+ icon : 'las la-bug' ,
49
+ label : 'KAbout.BUG_REPORT' ,
50
+ stack : true ,
51
+ component : 'action/KBugReportAction'
52
+ } ,
53
+ legalNotice : ( options ) => {
54
+ return Object . assign ( {
55
+ id : 'legal-notice' ,
56
+ icon : 'las la-gavel' ,
57
+ label : 'LEGAL_NOTICE' ,
58
+ dialog : {
59
+ title : 'LEGAL_NOTICE' ,
60
+ component : 'document/KHtml' ,
61
+ 'component.url' : 'legal-notice.html' ,
62
+ okAction : 'CLOSE'
63
+ }
64
+ } , options )
65
+ } ,
66
+ privacyPolicy : ( options ) => {
67
+ return Object . assign ( {
68
+ id : 'privacy-policy' ,
69
+ icon : 'las la-shield-alt' ,
70
+ label : 'PRIVACY_POLICY'
71
+ } , options )
72
+ } ,
73
+ onlineHelp : ( options ) => {
35
74
return {
36
75
id : 'online-help-action' ,
37
76
icon : 'las la-book' ,
You can’t perform that action at this time.
0 commit comments