Browse Source

Add app type/layout fields; proofread English and complete translations

- Working Mode tab: numeric fields for system_props.type (new opcode 14)
  and system_props.app_layout (opcode 2), negatives clamped to 0
- 1.json: grammar and typo fixes, new _APP_TYPE_ / _APP_LAYOUT_ labels
- 2-7.json: full translations (ru, he, fr, ja, zh-Hans, ro) with the same
  key set as 1.json; no ASCII quotes so GetLabel output stays valid JS
- defines.php: language 6 name is now 简体中文

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16
pull/3/head
Claude 4 hours ago
parent
commit
dcb2ec3cf5
Failed to extract signature
  1. 2
      lib/1.json
  2. 2
      lib/2.json
  3. 2
      lib/3.json
  4. 2
      lib/4.json
  5. 2
      lib/5.json
  6. 2
      lib/6.json
  7. 2
      lib/7.json
  8. 9
      lib/controller/doApplicationOperation.php
  9. 1028
      lib/controller/getApplicationSettings.php
  10. 2
      lib/defines.php

2
lib/1.json
File diff suppressed because it is too large
View File

2
lib/2.json
File diff suppressed because it is too large
View File

2
lib/3.json
File diff suppressed because it is too large
View File

2
lib/4.json
File diff suppressed because it is too large
View File

2
lib/5.json
File diff suppressed because it is too large
View File

2
lib/6.json
File diff suppressed because it is too large
View File

2
lib/7.json
File diff suppressed because it is too large
View File

9
lib/controller/doApplicationOperation.php

@ -20,6 +20,7 @@
};
case 2:{//Layout
$PARAM = intval( $_POST['OPCODE'] );
if( $PARAM < 0 ) $PARAM = 0;
$QS = "UPDATE `system_props` SET `app_layout`={$PARAM} WHERE `id`=1";
$DATABASE->Query( $QS );
$Data['q'] = $QS;
@ -118,6 +119,14 @@
$DATABASE->Query( $QS );
break;
};
case 14:{//Application Type
$PARAM = intval( $_POST['OPCODE'] );
if( $PARAM < 0 ) $PARAM = 0;
$QS = "UPDATE `system_props` SET `type`={$PARAM} WHERE `id`=1";
$DATABASE->Query( $QS );
$Data['success'] = true;
break;
};
};
} else {
$Data['msg']='Wrong Parameters!';

1028
lib/controller/getApplicationSettings.php
File diff suppressed because it is too large
View File

2
lib/defines.php

@ -41,7 +41,7 @@ $Site_Languages = array(
array( 'id'=>3, 'name'=>'עברית', 'rtl'=>true ),
array( 'id'=>4, 'name'=>'Français', 'rtl'=>false ),
array( 'id'=>5, 'name'=>'日本語', 'rtl'=>false ),
array( 'id'=>6, 'name'=>'中国人', 'rtl'=>false ),
array( 'id'=>6, 'name'=>'简体中文', 'rtl'=>false ),
array( 'id'=>7, 'name'=>'Română', 'rtl'=>false ),
);

Loading…
Cancel
Save