Commit 5ebab2b0e36349e89b52cf1a89616e3b2a653dfb

Authored by kevin_fourie
1 parent d2686e98

Merged in from DEV trunk...

KTS-3315
"Remove hardcoded APP_NAME's"
Fixed. Changed hard coded KnowledgeTree to APP_NAME where found.

Committed By: Jonathan Byrne
Reviewed By: Jalaloedien Abrahams


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.2c-Release-Branch@8422 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/KTCorePlugin.php
... ... @@ -295,7 +295,7 @@ class KTCorePlugin extends KTPlugin {
295 295  
296 296 //Search and Indexing
297 297 $this->registerAdminPage('managemimetypes', 'ManageMimeTypesDispatcher', 'search',
298   - _kt('Mime Types'), _kt('This report lists all mime types and extensions that can be identified by KnowledgeTree.'),
  298 + _kt('Mime Types'), sprintf(_kt('This report lists all mime types and extensions that can be identified by %s.'), APP_NAME),
299 299 '../search2/reporting/ManageMimeTypes.php', null);
300 300  
301 301 $this->registerAdminPage('extractorinfo', 'ExtractorInfoDispatcher', 'search',
... ...
plugins/search2/reporting/templates/managemimetypes.smarty
1 1 <h2>{i18n}Manage Mime Types{/i18n}</h2>
2   -<p class="descriptiveText">{i18n}This report lists all mime types and extensions that can be identified by KnowledgeTree.{/i18n}</p>
  2 +<p class="descriptiveText">{i18n arg_appname="$appname"}This report lists all mime types and extensions that can be identified by #appname#.{/i18n}</p>
3 3  
4 4  
5 5 {if $mime_types}
... ...
templates/ktcore/support.smarty
... ... @@ -6,22 +6,22 @@
6 6 to the version you are using &mdash; we may already have found the problem you're referring to,
7 7 and may have fixed it in a newer version. {/i18n}</p>
8 8 <p class="descriptiveText">
9   -{i18n}The following download action allows you to download a zip archive of information that may assist the KnowledgeTree team to diagnose problems on your system. This archive contains:{/i18n}
  9 +{i18n arg_appname="$appname"} The following download action allows you to download a zip archive of information that may assist the #appname# team to diagnose problems on your system. This archive contains:{/i18n}
10 10  
11 11 <br>*
12 12 {i18n}PHP Information{/i18n}
13 13 <br>*
14   -{i18n}Log Files (KnowledgeTree, Apache, Mysql){/i18n}
  14 +{i18n arg_appname="$appname"} Log Files (#appname#, Apache, Mysql){/i18n}
15 15 <br>*
16   -{i18n}KnowledgeTree System Settings{/i18n}
  16 +{i18n arg_appname="$appname"} #appname# System Settings{/i18n}
17 17 <br>*
18   -{i18n}KnowledgeTree Version Files{/i18n}
  18 +{i18n arg_appname="$appname"} #appname# Version Files{/i18n}
19 19 <br>*
20   -{i18n}KnowledgeTree Database Schema (the structure of the database only){/i18n}
  20 +{i18n arg_appname="$appname"} #appname# Database Schema (the structure of the database only){/i18n}
21 21 <br>*
22   -{i18n}KnowledgeTree Database Counters Report{/i18n}
  22 +{i18n arg_appname="$appname"} #appname# Database Counters Report{/i18n}
23 23 <br>*
24   -{i18n}KnowledgeTree Database Storage Engine Report{/i18n}
  24 +{i18n arg_appname="$appname"} #appname# Database Storage Engine Report{/i18n}
25 25 <br>*
26 26 {i18n}System Information (Disk Usage, Process List, if easily detectable){/i18n}
27 27 <br>*
... ...