aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-02 11:54:29 +0200
committerGitHub <noreply@github.com>2023-05-02 05:54:29 -0400
commitd6f82384920e16ead14dd916fa38d49281678a35 (patch)
tree5001259ce82a1401af827c544e264c22e730a182 /web_src/js
parentdf00ccacc9a4840fe86bed75a77841f8801d11d2 (diff)
downloadgitea-d6f82384920e16ead14dd916fa38d49281678a35.tar.gz
gitea-d6f82384920e16ead14dd916fa38d49281678a35.zip
Replace `N/A` with `-` everywhere (#24474)
Followup to https://github.com/go-gitea/gitea/pull/24427. Reasoning is that `N/A` is specific to english while `-` is language-neutral and does not need translation. Before: <img width="891" alt="Screenshot 2023-05-01 at 20 58 20" src="https://user-images.githubusercontent.com/115237/235511592-8a36d0f2-34ff-4dbe-b642-67c0ade644fe.png"> After: <img width="901" alt="Screenshot 2023-05-01 at 20 59 59" src="https://user-images.githubusercontent.com/115237/235511594-d49f6d09-92e8-4e99-be7b-2a37f5d24129.png">
Diffstat (limited to 'web_src/js')
-rw-r--r--web_src/js/features/repo-settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/repo-settings.js b/web_src/js/features/repo-settings.js
index 9f094cd2d1..7105a14b30 100644
--- a/web_src/js/features/repo-settings.js
+++ b/web_src/js/features/repo-settings.js
@@ -32,7 +32,7 @@ export function initRepoSettingsCollaboration() {
if ($item) {
$dropdown.dropdown('set selected', $dropdown.attr('data-last-value'));
} else {
- $text.text('(N/A)'); // prevent from misleading users when the access mode is undefined
+ $text.text('(none)'); // prevent from misleading users when the access mode is undefined
}
}, 0);
}