|
3.3.3 - Customized Labels |
Top Previous Next |
|
Define your own labels
If you read the previous section, you should have a good understanding how custom labels works. As stated before, you can either use dynamic or static file to generate your label.
Edit the file
Edit SpeedCheck_labels.php or SpeedCheck_labels.aspx and customize your own label.
NOTE: Your text editor MUST support Unicode when saving the file. For example, using Macromedia Dreamweaver and Microsoft Visual Studio with special "Save As" option. Otherwise unicode character set will be lost.
.
Labels Syntax definition:
variable_name=[Your customized Text]
Output from script:
For example, if we access this from the web browser:
http://servername/SpeedCheck_labels.php?language=custom (PHP) http://servername/SpeedCheck_labels.aspx?language=custom (ASPX)
You will see this (VIEW SOURCE from your Internet Explorer):
label_size=L_1: label_type=L_2: label_iteration=L_3: label_status=Label_4: button_clear=Label_5 button_report=Label_6 button_start=Label_7 button_stop=Label_8 txt_download=Label_9 txt_upload=Label_10 txt_both=Label_11 txt_ready=Label_12 txt_downloading=Label_13 txt_uploading=Label_14 txt_initializing=Label_15... txt_file_size_transferred=Label_16 txt_total_time_taken=Label_17 txt_throughput=Label_18 txt_download_interrupted=Label_19 txt_upload_interrupted=Label_20 txt_server_processing_file=Label_21 stats_download_statistics=Label_22 stats_upload_statistics=Label_23 stats_best_speed=Label_24 stats_worst_speed=Label_25 stats_average_speed=Label_26 stats_average_time_taken=Label_27 filesize_megabytes=Label_28 filesize_bytes=Label_29 time_seconds=Label_30 time_milliseconds=Label_31 speed_kilobyte_per_second_short=Label_32 speed_megabyte_per_second_short=Label_33 speed_kilobit_per_second_short=Label_34 speed_megabit_per_second_short=Label_35 speed_kilobyte_per_second=Label_36 speed_megabyte_per_second=Label_37 speed_kilobit_per_second=Label_38 speed_megabit_per_second=Label_39
|