mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 09:47:56 +08:00
- Migrate layer_viewer panel to use Localization V2 APIs. - Removed layer_viewer grdps Tested with en-XL.json https://imgur.com/a/nYe4KRL Bug: 1136655 Change-Id: Iebcb0c125a73b6eab6a24ff91f2a39440155e768 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2546322 Commit-Queue: Vidal Diazleal <vidorteg@microsoft.com> Reviewed-by: Peter Marshall <petermarshall@chromium.org>
49 lines
1.6 KiB
JavaScript
49 lines
1.6 KiB
JavaScript
// Copyright 2020 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.
|
|
|
|
import * as i18n from '../i18n/i18n.js';
|
|
export const UIStrings = {
|
|
/**
|
|
*@description Title of the Layers tool
|
|
*/
|
|
layers: 'Layers',
|
|
/**
|
|
*@description Text in the Shortcuts page to explain a keyboard shortcut (reset view in Layers Panel)
|
|
*/
|
|
resetView: 'Reset view',
|
|
/**
|
|
*@description Text in the Shortcuts page to explain a keyboard shortcut (switch to pan in Layers Panel)
|
|
*/
|
|
switchToPanMode: 'Switch to pan mode',
|
|
/**
|
|
*@description Text in the Shortcuts page to explain a keyboard shortcut (switch to rotate mode in Layers Panel)
|
|
*/
|
|
switchToRotateMode: 'Switch to rotate mode',
|
|
/**
|
|
*@description Text in the Shortcuts page to explain a keyboard shortcut (zoom in)
|
|
*/
|
|
zoomIn: 'Zoom in',
|
|
/**
|
|
*@description Text in the Shortcuts page to explain a keyboard shortcut (zoom out)
|
|
*/
|
|
zoomOut: 'Zoom out',
|
|
/**
|
|
*@description Description of a shortcut that pans or rotates the layer viewer up
|
|
*/
|
|
panOrRotateUp: 'Pan or rotate up',
|
|
/**
|
|
*@description Description of a shortcut that pans or rotates the layer viewer down
|
|
*/
|
|
panOrRotateDown: 'Pan or rotate down',
|
|
/**
|
|
*@description Description of a shortcut that pans or rotates the layer viewer left
|
|
*/
|
|
panOrRotateLeft: 'Pan or rotate left',
|
|
/**
|
|
*@description Description of a shortcut that pans or rotates the layer viewer right
|
|
*/
|
|
panOrRotateRight: 'Pan or rotate right',
|
|
};
|
|
i18n.i18n.registerUIStrings('layer_viewer/ModuleUIStrings.js', UIStrings);
|