Skip to content

Commit

Permalink
Preserve some messages after commit 05960f8
Browse files Browse the repository at this point in the history
The column labels for languages and scripts were exposed to admins only
and thus would be removed from translations after commit 05960f8.

However those will likely be needed again after resolving MBS-11178.

This patch preserves column labels and their translations by temporarily
defining these in a unused file until MBS-11178 gets resolved.
  • Loading branch information
yvanzo committed Dec 5, 2023
1 parent 7e2e74e commit 280947f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions root/futureColumnLabels.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* @flow strict
* Copyright (C) 2023 MetaBrainz Foundation
*
* This file is part of MusicBrainz, the open internet music database,
* and is licensed under the GPL version 2, or (at your option) any
* later version: http://www.gnu.org/licenses/gpl-2.0.txt
*/

/*
* This file just keeps some messages and their translations until
* https://tickets.metabrainz.org/browse/MBS-11178 gets resolved.
*/

const languageColumnLabels = [
N_l('ID'),
N_l('Name'),
N_l('ISO 639-1'),
N_l('ISO 639-2/B'),
N_l('ISO 639-2/T'),
N_l('ISO 639-3'),
N_l('Frequency'),
N_l('Actions'),
];

const scriptColumnLabels = [
N_l('ID'),
N_l('Name'),
N_l('ISO code'),
N_l('ISO number'),
N_l('Frequency'),
N_l('Actions'),
];

0 comments on commit 280947f

Please sign in to comment.