Chore: Converting all text("[]", foo) to "[foo]" (#5549)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

I did this because some of the old text() uses would cause BYOND Beta
version 515.1607 to no longer compile. (Which is a bug but still an
excuse to finally deal with this)


## Beware

I hastily did this.


## Changelog

🆑
code: Converted all text("[]", foo) to "[foo]"
/🆑
This commit is contained in:
Zandario
2023-06-01 14:25:27 -07:00
committed by GitHub
parent 0446d7ee61
commit 23e3591023
111 changed files with 512 additions and 587 deletions
@@ -155,7 +155,7 @@
<br>
[data_core ? data_core.get_manifest(0) : ""]
"}
if(!computer.nano_printer.print_text(contents,text("crew manifest ([])", stationtime2text())))
if(!computer.nano_printer.print_text(contents, "crew manifest ([stationtime2text()])"))
to_chat(usr, "<span class='notice'>Hardware error: Printer was unable to print the file. It may be out of paper.</span>")
return
else
@@ -219,7 +219,7 @@
if(!access_allowed)
id_card.access += access_type
if(id_card)
id_card.name = text("[id_card.registered_name]'s ID Card ([id_card.assignment])")
id_card.name = "[id_card.registered_name]'s ID Card ([id_card.assignment])"
SSnanoui.update_uis(NM)
return 1