| // Copyright 2021 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| /** |
| * All string resources in resources.h |
| * @enum {string} |
| */ |
| export const I18nString = { |
| ARIA_GRID_3X3: 'aria_grid_3x3', |
| ARIA_GRID_4X4: 'aria_grid_4x4', |
| BACK_BUTTON: 'back_button', |
| BANNER_CLOSE_BUTTON: 'banner_close_button', |
| BANNER_MSG: 'banner_msg', |
| BANNER_TITLE: 'banner_title', |
| BARCODE_COPY_LINK_BUTTON: 'barcode_copy_link_button', |
| BARCODE_COPY_TEXT_BUTTON: 'barcode_copy_text_button', |
| BARCODE_LINK_DETECTED: 'barcode_link_detected', |
| BARCODE_TEXT_DETECTED: 'barcode_text_detected', |
| CAMERA_RESOLUTION_BUTTON: 'camera_resolution_button', |
| CANCEL_REVIEW_BUTTON: 'cancel_review_button', |
| CONFIRM_REVIEW_BUTTON: 'confirm_review_button', |
| DELETE_BUTTON: 'delete_button', |
| DELETE_CONFIRMATION_MSG: 'delete_confirmation_msg', |
| DELETE_MULTI_CONFIRMATION_MSG: 'delete_multi_confirmation_msg', |
| DESCRIPTION: 'description', |
| DIALOG_CANCEL_BUTTON: 'dialog_cancel_button', |
| DIALOG_OK_BUTTON: 'dialog_ok_button', |
| ERROR_MSG_CAMERA_PAUSED: 'error_msg_camera_paused', |
| ERROR_MSG_EMPTY_RECORDING: 'error_msg_empty_recording', |
| ERROR_MSG_EXPERT_MODE_NOT_SUPPORTED: 'error_msg_expert_mode_not_supported', |
| ERROR_MSG_FILE_SYSTEM_FAILED: 'error_msg_file_system_failed', |
| ERROR_MSG_GALLERY_EXPORT_FAILED: 'error_msg_gallery_export_failed', |
| ERROR_MSG_NO_CAMERA: 'error_msg_no_camera', |
| ERROR_MSG_RECORD_START_FAILED: 'error_msg_record_start_failed', |
| ERROR_MSG_SAVE_FILE_FAILED: 'error_msg_save_file_failed', |
| ERROR_MSG_TAKE_PHOTO_FAILED: 'error_msg_take_photo_failed', |
| ERROR_MSG_TAKE_PORTRAIT_BOKEH_PHOTO_FAILED: |
| 'error_msg_take_portrait_bokeh_photo_failed', |
| ERROR_MSG_VIDEO_TOO_SHORT: 'error_msg_video_too_short', |
| EXPERT_CUSTOM_VIDEO_PARAMETERS: 'expert_custom_video_parameters', |
| EXPERT_ENABLE_DOCUMENT_MODE_ON_ALL_CAMERAS: |
| 'expert_enable_document_mode_on_all_cameras', |
| EXPERT_ENABLE_EXPERT_MODE: 'expert_enable_expert_mode', |
| EXPERT_MODE_BUTTON: 'expert_mode_button', |
| EXPERT_PREVIEW_METADATA: 'expert_preview_metadata', |
| EXPERT_PRINT_PERFORMANCE_LOGS: 'expert_print_performance_logs', |
| EXPERT_SAVE_METADATA: 'expert_save_metadata', |
| EXPERT_SCAN_BARCODE: 'expert_scan_barcode', |
| EXPORT_BUTTON: 'export_button', |
| FEEDBACK_BUTTON: 'feedback_button', |
| FEEDBACK_DESCRIPTION_PLACEHOLDER: 'feedback_description_placeholder', |
| GALLERY_BUTTON: 'gallery_button', |
| GALLERY_IMAGES: 'gallery_images', |
| GRID_TYPE_BUTTON: 'grid_type_button', |
| HELP_BUTTON: 'help_button', |
| LABEL_30FPS: 'label_30fps', |
| LABEL_60FPS: 'label_60fps', |
| LABEL_BACK_CAMERA: 'label_back_camera', |
| LABEL_DETAIL_PHOTO_RESOLUTION: 'label_detail_photo_resolution', |
| LABEL_EXTERNAL_CAMERA: 'label_external_camera', |
| LABEL_FRONT_CAMERA: 'label_front_camera', |
| LABEL_GRID_3X3: 'label_grid_3x3', |
| LABEL_GRID_4X4: 'label_grid_4x4', |
| LABEL_GRID_GOLDEN: 'label_grid_golden', |
| LABEL_NEW_CONTROL_TOAST: 'label_new_control_toast', |
| LABEL_PHOTO_RESOLUTION: 'label_photo_resolution', |
| LABEL_SCAN_QRCODE_OPTION: 'label_scan_qrcode_option', |
| LABEL_SWITCH_RECORD_VIDEO_BUTTON: 'label_switch_record_video_button', |
| LABEL_SWITCH_SCANNER_MODE_BUTTON: 'label_switch_scanner_mode_button', |
| LABEL_SWITCH_TAKE_PHOTO_BUTTON: 'label_switch_take_photo_button', |
| LABEL_SWITCH_TAKE_PORTRAIT_BOKEH_PHOTO_BUTTON: |
| 'label_switch_take_portrait_bokeh_photo_button', |
| LABEL_SWITCH_TAKE_SQUARE_PHOTO_BUTTON: |
| 'label_switch_take_square_photo_button', |
| LABEL_TIMER_10S: 'label_timer_10s', |
| LABEL_TIMER_3S: 'label_timer_3s', |
| LABEL_VIDEO_RESOLUTION: 'label_video_resolution', |
| MIGRATE_PICTURES_MSG: 'migrate_pictures_msg', |
| NAME: 'name', |
| NEW_CONTROL_TOAST: 'new_control_toast', |
| OPEN_PTZ_PANEL_BUTTON: 'open_ptz_panel_button', |
| PAN_LEFT_BUTTON: 'pan_left_button', |
| PAN_RIGHT_BUTTON: 'pan_right_button', |
| PHOTO_RESOLUTION_BUTTON: 'photo_resolution_button', |
| PLAY_RESULT_VIDEO_BUTTON: 'play_result_video_button', |
| PRINT_BUTTON: 'print_button', |
| PTZ_RESET_ALL_BUTTON: 'ptz_reset_all_button', |
| RECORD_VIDEO_PAUSE_BUTTON: 'record_video_pause_button', |
| RECORD_VIDEO_PAUSED_MSG: 'record_video_paused_msg', |
| RECORD_VIDEO_RESUME_BUTTON: 'record_video_resume_button', |
| RECORD_VIDEO_START_BUTTON: 'record_video_start_button', |
| RECORD_VIDEO_STOP_BUTTON: 'record_video_stop_button', |
| SCAN_QRCODE_OPTION: 'scan_qrcode_option', |
| SETTINGS_BUTTON: 'settings_button', |
| SNACKBAR_LINK_COPIED: 'snackbar_link_copied', |
| SNACKBAR_TEXT_COPIED: 'snackbar_text_copied', |
| STATUS_MSG_CAMERA_PLUGGED: 'status_msg_camera_plugged', |
| STATUS_MSG_CAMERA_SWITCHED: 'status_msg_camera_switched', |
| STATUS_MSG_CAMERA_UNPLUGGED: 'status_msg_camera_unplugged', |
| STATUS_MSG_RECORDING_STOPPED: 'status_msg_recording_stopped', |
| SWITCH_CAMERA_BUTTON: 'switch_camera_button', |
| SWITCH_RECORD_VIDEO_BUTTON: 'switch_record_video_button', |
| SWITCH_SCANNER_MODE_BUTTON: 'switch_scanner_mode_button', |
| SWITCH_TAKE_PHOTO_BUTTON: 'switch_take_photo_button', |
| SWITCH_TAKE_PORTRAIT_BOKEH_PHOTO_BUTTON: |
| 'switch_take_portrait_bokeh_photo_button', |
| SWITCH_TAKE_SQUARE_PHOTO_BUTTON: 'switch_take_square_photo_button', |
| TAKE_PHOTO_BUTTON: 'take_photo_button', |
| TAKE_PHOTO_CANCEL_BUTTON: 'take_photo_cancel_button', |
| TAKE_VIDEO_SNAPSHOT_BUTTON: 'take_video_snapshot_button', |
| TILT_DOWN_BUTTON: 'tilt_down_button', |
| TILT_UP_BUTTON: 'tilt_up_button', |
| TIMER_DURATION_BUTTON: 'timer_duration_button', |
| TOGGLE_60FPS_BUTTON: 'toggle_60fps_button', |
| TOGGLE_BARCODE_BUTTON: 'toggle_barcode_button', |
| TOGGLE_GRID_BUTTON: 'toggle_grid_button', |
| TOGGLE_MIC_BUTTON: 'toggle_mic_button', |
| TOGGLE_MIRROR_BUTTON: 'toggle_mirror_button', |
| TOGGLE_TIMER_10S_BUTTON: 'toggle_timer_10s_button', |
| TOGGLE_TIMER_3S_BUTTON: 'toggle_timer_3s_button', |
| VIDEO_RESOLUTION_BUTTON: 'video_resolution_button', |
| ZOOM_IN_BUTTON: 'zoom_in_button', |
| ZOOM_OUT_BUTTON: 'zoom_out_button', |
| }; |