Revert t function to returning the plain string by default

Add `t.html` function for getting the string with the `lang` attribute
This commit is contained in:
Quincy Morgan
2020-09-22 12:03:29 -04:00
parent a3549f9a76
commit 5435082d9c
132 changed files with 597 additions and 580 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ export function operationCircularize(context, selectedIDs) {
operation.id = 'circularize';
operation.keys = [t('operations.circularize.key', { html: false })];
operation.keys = [t('operations.circularize.key')];
operation.title = t('operations.circularize.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -65,7 +65,7 @@ export function operationContinue(context, selectedIDs) {
operation.id = 'continue';
operation.keys = [t('operations.continue.key', { html: false })];
operation.keys = [t('operations.continue.key')];
operation.title = t('operations.continue.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -183,7 +183,7 @@ export function operationDisconnect(context, selectedIDs) {
operation.id = 'disconnect';
operation.keys = [t('operations.disconnect.key', { html: false })];
operation.keys = [t('operations.disconnect.key')];
operation.title = t('operations.disconnect.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -84,7 +84,7 @@ export function operationExtract(context, selectedIDs) {
operation.id = 'extract';
operation.keys = [t('operations.extract.key', { html: false })];
operation.keys = [t('operations.extract.key')];
operation.title = t('operations.extract.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -88,7 +88,7 @@ export function operationMerge(context, selectedIDs) {
};
operation.id = 'merge';
operation.keys = [t('operations.merge.key', { html: false })];
operation.keys = [t('operations.merge.key')];
operation.title = t('operations.merge.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -72,7 +72,7 @@ export function operationMove(context, selectedIDs) {
operation.id = 'move';
operation.keys = [t('operations.move.key', { html: false })];
operation.keys = [t('operations.move.key')];
operation.title = t('operations.move.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -130,7 +130,7 @@ export function operationOrthogonalize(context, selectedIDs) {
operation.id = 'orthogonalize';
operation.keys = [t('operations.orthogonalize.key', { html: false })];
operation.keys = [t('operations.orthogonalize.key')];
operation.title = t('operations.orthogonalize.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -69,7 +69,7 @@ export function operationReverse(context, selectedIDs) {
operation.id = 'reverse';
operation.keys = [t('operations.reverse.key', { html: false })];
operation.keys = [t('operations.reverse.key')];
operation.title = t('operations.reverse.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -72,7 +72,7 @@ export function operationRotate(context, selectedIDs) {
operation.id = 'rotate';
operation.keys = [t('operations.rotate.key', { html: false })];
operation.keys = [t('operations.rotate.key')];
operation.title = t('operations.rotate.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -63,7 +63,7 @@ export function operationSplit(context, selectedIDs) {
operation.id = 'split';
operation.keys = [t('operations.split.key', { html: false })];
operation.keys = [t('operations.split.key')];
operation.title = t('operations.split.title');
operation.behavior = behaviorOperation(context).which(operation);
+1 -1
View File
@@ -135,7 +135,7 @@ export function operationStraighten(context, selectedIDs) {
operation.id = 'straighten';
operation.keys = [t('operations.straighten.key', { html: false })];
operation.keys = [t('operations.straighten.key')];
operation.title = t('operations.straighten.title');
operation.behavior = behaviorOperation(context).which(operation);