summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-09-28 17:50:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-09-28 17:50:55 -0400
commit23e3787fb3c7627d3c374e3378288f529796b28e (patch)
tree6cb0020e6496747d166569040e3fa70acc75db1f
parent9be65b9b377567dc5578757a3d9541ef08833f19 (diff)
downloadtranslate-23e3787fb3c7627d3c374e3378288f529796b28e.tar.gz
translate-23e3787fb3c7627d3c374e3378288f529796b28e.zip
Add in a special case for VOICE_NUMERIC_TENS_SWAP_SEPARATOR
-rw-r--r--edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/edit.php b/edit.php
index 22c03d7..04c0460 100644
--- a/edit.php
+++ b/edit.php
@@ -115,6 +115,8 @@ END;
// If english voice is either unset, '' or none
(!isset($english[$id]['voice'][$target]) || $english[$id]['voice'][$target] == '' || $english[$id]['voice'][$target] == 'none')
&&
+ ($id != 'VOICE_NUMERIC_TENS_SWAP_SEPARATOR')
+ &&
// And voice is not set, or set to '' or none
(!isset($phrase['voice'][$target]) || ($phrase['voice'][$target] == '' || $phrase['voice'][$target] == 'none'))
) {