Commit 1b750771 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'change-var-to-variable' into 'master'

Change type options text in Variable dialog

See merge request gitlab-org/gitlab!30878
parents ccd02e1a 1840b1f2
...@@ -4,7 +4,7 @@ import { __ } from '~/locale'; ...@@ -4,7 +4,7 @@ import { __ } from '~/locale';
export const ADD_CI_VARIABLE_MODAL_ID = 'add-ci-variable'; export const ADD_CI_VARIABLE_MODAL_ID = 'add-ci-variable';
export const displayText = { export const displayText = {
variableText: __('Var'), variableText: __('Variable'),
fileText: __('File'), fileText: __('File'),
allEnvironmentsText: __('All (default)'), allEnvironmentsText: __('All (default)'),
}; };
......
---
title: Change Var to Variable text
merge_request: 30878
author:
type: changed
...@@ -23340,7 +23340,7 @@ msgstr "" ...@@ -23340,7 +23340,7 @@ msgstr ""
msgid "Value Stream Analytics gives an overview of how much time it takes to go from idea to production in your project." msgid "Value Stream Analytics gives an overview of how much time it takes to go from idea to production in your project."
msgstr "" msgstr ""
msgid "Var" msgid "Variable"
msgstr "" msgstr ""
msgid "Variable will be masked in job logs." msgid "Variable will be masked in job logs."
......
...@@ -8,7 +8,7 @@ export default { ...@@ -8,7 +8,7 @@ export default {
protected: false, protected: false,
secret_value: 'test_val', secret_value: 'test_val',
value: 'test_val', value: 'test_val',
variable_type: 'Var', variable_type: 'Variable',
}, },
], ],
...@@ -44,7 +44,7 @@ export default { ...@@ -44,7 +44,7 @@ export default {
protected: false, protected: false,
secret_value: 'test_val', secret_value: 'test_val',
value: 'test_val', value: 'test_val',
variable_type: 'Var', variable_type: 'Variable',
}, },
{ {
environment_scope: 'All (default)', environment_scope: 'All (default)',
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
id: 28, id: 28,
key: 'goku_var', key: 'goku_var',
value: 'goku_val', value: 'goku_val',
variable_type: 'Var', variable_type: 'Variable',
protected: true, protected: true,
masked: true, masked: true,
environment_scope: 'staging', environment_scope: 'staging',
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
id: 25, id: 25,
key: 'test_var_4', key: 'test_var_4',
value: 'test_val_4', value: 'test_val_4',
variable_type: 'Var', variable_type: 'Variable',
protected: false, protected: false,
masked: false, masked: false,
environment_scope: 'production', environment_scope: 'production',
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
id: 24, id: 24,
key: 'test_var_3', key: 'test_var_3',
value: 'test_val_3', value: 'test_val_3',
variable_type: 'Var', variable_type: 'Variable',
protected: false, protected: false,
masked: false, masked: false,
environment_scope: 'All (default)', environment_scope: 'All (default)',
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
id: 26, id: 26,
key: 'test_var_5', key: 'test_var_5',
value: 'test_val_5', value: 'test_val_5',
variable_type: 'Var', variable_type: 'Variable',
protected: false, protected: false,
masked: false, masked: false,
environment_scope: 'production', environment_scope: 'production',
......
...@@ -47,7 +47,7 @@ describe('CI variable list mutations', () => { ...@@ -47,7 +47,7 @@ describe('CI variable list mutations', () => {
describe('CLEAR_MODAL', () => { describe('CLEAR_MODAL', () => {
it('should clear modal state ', () => { it('should clear modal state ', () => {
const modalState = { const modalState = {
variable_type: 'Var', variable_type: 'Variable',
key: '', key: '',
secret_value: '', secret_value: '',
protected: false, protected: false,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment