File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ export function getCommentSubject(
18
18
? "incoming"
19
19
: "outgoing" ;
20
20
21
- const titleEndGerman = `${ directionString } Anruf (CLINQ )` ;
22
- const titleEndEnglish = `${ directionString } Call (CLINQ )` ;
21
+ const titleEndGerman = `${ directionString } Anruf (${ getProductName ( ) } )` ;
22
+ const titleEndEnglish = `${ directionString } Call (${ getProductName ( ) } )` ;
23
23
24
24
switch ( state ) {
25
25
case CallState . CONNECTED :
@@ -41,9 +41,14 @@ export function getCommentSubject(
41
41
}
42
42
}
43
43
44
+ function getProductName ( ) {
45
+ const productName = process . env . PRODUCT_NAME ;
46
+ return productName || "CLINQ" ;
47
+ }
48
+
44
49
export function getCommentHeader ( locale : string ) {
45
50
const isGerman = locale . startsWith ( "de" ) ;
46
- return `<h1>${ isGerman ? "Notizen" : "Note" } (CLINQ ):</h1>` ;
51
+ return `<h1>${ isGerman ? "Notizen" : "Note" } (${ getProductName ( ) } ):</h1>` ;
47
52
}
48
53
49
54
export function getCommentContent ( note : string , locale : string ) {
You can’t perform that action at this time.
0 commit comments