Skip to content

Commit

Permalink
Show whether running portable or not in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartondock committed May 13, 2020
1 parent 9d9f92f commit d236ada
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/lang/english/langData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ export const EnglishLang: languageContainer = {
selectLanguage: 'Select language:',
resetFuzzy_desc: 'Reset fuzzy list:',
resetFuzzy_btn: 'Reset',
showSteamImages: 'Show current Steam images',
showSteamImages: 'Show current Steam images by default',
deleteDisabledShortcuts: 'Remove shortcuts for disabled parsers',
clearLogOnTest: 'Automatically clear log when before testing parser'
clearLogOnTest: 'Automatically clear log before testing parsers'
},
placeholder: {
noProviders: 'None'
Expand Down Expand Up @@ -320,7 +320,8 @@ export const EnglishLang: languageContainer = {
]
},
info: {
testStarting__i: 'Testing "${title}" parser (SRM version - ${version}).',
testStarting__i: 'Testing "${title}" parser (SRM version - ${version} ${portable}).',
opSys__i: 'Operating system is "${os}"',
testCompleted: 'Parser test is completed.',
nothingWasFound: 'Parser found nothing.',
copiedToClipboard: 'Configuration copied to clipboard',
Expand Down
3 changes: 2 additions & 1 deletion src/models/language.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ export interface languageStruct {
localIcons: string[]
},
info: {
testStarting__i: string, //${title}, ${version}
testStarting__i: string, //${title}, ${version}, ${portable}
opSys__i: string, //${os}
testCompleted: string,
nothingWasFound: string,
copiedToClipboard: string,
Expand Down
6 changes: 5 additions & 1 deletion src/renderer/components/parsers.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -944,8 +944,12 @@ export class ParsersComponent implements AfterViewInit, OnDestroy {
});
this.loggerService.info(this.lang.info.testStarting__i.interpolate({
title: config.configTitle || this.lang.text.noTitle,
version: APP.version
version: APP.version,
portable: APP.srmdir ? "Portable" : "Non-Portable"
}));
this.loggerService.info(this.lang.info.opSys__i.interpolate({
os: APP.os
}))
this.router.navigateByUrl('/logger');
}
else
Expand Down

0 comments on commit d236ada

Please sign in to comment.