fix: merge error missing %s in right place catched by tests

This commit is contained in:
rugk 2026-07-11 17:41:25 +00:00
parent 1db5205de3
commit 89e5853197

View file

@ -2003,7 +2003,7 @@ window.PrivateBin = (function () {
const hotkey = isMac ? I18n._('Cmd') : I18n._('Ctrl');
I18n._(
document.getElementById('pastelink'),
'Your document is <a id="pasteurl" href="%s">%s</a> <span id="copyhint">(Hit <kbd>Ctrl</kbd>+<kbd>c</kbd> to copy)</span>',
'Your document is <a id="pasteurl" href="%s">%s</a> <span id="copyhint">(Hit <kbd>%s</kbd>+<kbd>c</kbd> to copy)</span>',
url, url, hotkey
);
// save newly created element