ysds
This commit is contained in:
25
modules/salesforce-translation-import/desktop.php
Normal file
25
modules/salesforce-translation-import/desktop.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$manifest = [];
|
||||
$manifestRaw = is_file(__DIR__ . '/module.json') ? file_get_contents(__DIR__ . '/module.json') : false;
|
||||
if ($manifestRaw !== false) {
|
||||
$decoded = json_decode($manifestRaw, true);
|
||||
$manifest = is_array($decoded) ? $decoded : [];
|
||||
}
|
||||
|
||||
return [
|
||||
'app_id' => 'salesforce-translation-import',
|
||||
'title' => (string) ($manifest['title'] ?? 'Salesforce Translation Import'),
|
||||
'icon' => 'SF',
|
||||
'entry_route' => '/apps/salesforce-translation-import',
|
||||
'window_mode' => 'window',
|
||||
'content_mode' => 'iframe',
|
||||
'default_width' => 1180,
|
||||
'default_height' => 820,
|
||||
'supports_widget' => false,
|
||||
'supports_tray' => false,
|
||||
'module_name' => 'integration',
|
||||
'summary' => (string) ($manifest['description'] ?? 'Import-Werkzeug fuer Salesforce-XLIFF-Dateien und Zieluebersetzungen aus Excel oder CSV.'),
|
||||
];
|
||||
14
modules/salesforce-translation-import/docs/README.md
Normal file
14
modules/salesforce-translation-import/docs/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Salesforce Translation Import
|
||||
|
||||
Desktop-App fuer den Import von Salesforce-XLIFF-Dateien mit Zieluebersetzungen aus Excel oder CSV.
|
||||
|
||||
## Einbindung
|
||||
|
||||
- Desktop-App ueber `modules/salesforce-translation-import/desktop.php`
|
||||
- oeffentlicher App-Einstieg ueber `public/apps/salesforce-translation-import/index.php`
|
||||
- Darstellung als isolierte Fensterseite per `iframe`, damit die Import-Logik und die Formularstruktur stabil bleiben
|
||||
|
||||
## Hinweis
|
||||
|
||||
- die bestehende HTML-/JS-Logik aus `Customimport/salesforcelanguageimport.html` wurde als App-Seite uebernommen
|
||||
- vorhandene Inline-CSS bleibt weitgehend erhalten, weil die App in einer isolierten Fensterseite laeuft und dadurch das globale Desktop-UI nicht direkt stoert
|
||||
12
modules/salesforce-translation-import/module.json
Normal file
12
modules/salesforce-translation-import/module.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "salesforce-translation-import",
|
||||
"title": "Salesforce Translation Import",
|
||||
"version": "0.1.0",
|
||||
"description": "Import-Werkzeug fuer Salesforce-XLIFF-Dateien und Zieluebersetzungen aus Excel oder CSV.",
|
||||
"enabled_by_default": true,
|
||||
"auth": {
|
||||
"required": true,
|
||||
"users": [],
|
||||
"groups": []
|
||||
}
|
||||
}
|
||||
1008
modules/salesforce-translation-import/pages/index.php
Normal file
1008
modules/salesforce-translation-import/pages/index.php
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user