mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
[DOWNSTREAM] Cyrillic Support v2 (#24075)
* cyrillic fixes https://github.com/ss220club/Paradise/commit/cbdad6f11f0e0e16694cdb60f8ccb3d6dd23fe92 * fix: remove control characters * utf-8 support * more fixes * spellbook to utf8 * Update code/modules/research/server.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/research/server.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/paperwork/paper.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/paperwork/folders.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/mob/mob_say_base.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * update formatting * fix ai alerts * fix spaceheater * fix noticeboard --------- Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
/obj/item/areaeditor/attack_self(mob/user as mob)
|
||||
add_fingerprint(user)
|
||||
var/text = "<BODY><HTML><head><title>[src]</title></head> \
|
||||
var/text = "<BODY><HTML><meta charset='utf-8'><head><title>[src]</title></head> \
|
||||
<h2>[station_name()] [src.name]</h2> \
|
||||
<small>[fluffnotice]</small><hr>"
|
||||
switch(get_area_type())
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
user.set_machine(src)
|
||||
var/dat = {"
|
||||
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
|
||||
<html>
|
||||
<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
body {
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
to_chat(user, "<span class='notice'>You are now mimicking the voice on your ID card.</span>")
|
||||
return
|
||||
|
||||
voice = sanitize(copytext(chosen_voice, 1, MAX_MESSAGE_LEN))
|
||||
voice = sanitize(copytext_char(chosen_voice, 1, MAX_MESSAGE_LEN))
|
||||
to_chat(user, "<span class='notice'>You are now mimicking <b>[voice]</b>.</span>")
|
||||
|
||||
/obj/item/voice_changer/voice_modulator
|
||||
|
||||
@@ -360,7 +360,7 @@
|
||||
var/answer = params["answer"]
|
||||
if(!answer)
|
||||
return
|
||||
door_name = sanitize(copytext(answer, 1, UI_MODAL_INPUT_MAX_LENGTH_NAME))
|
||||
door_name = sanitize(copytext_char(answer, 1, UI_MODAL_INPUT_MAX_LENGTH_NAME))
|
||||
else
|
||||
return FALSE
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
icon_state ="bookDetective"
|
||||
author = "Nanotrasen"
|
||||
title = "The Film Noir: Proper Procedures for Investigations"
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -75,7 +75,7 @@
|
||||
author = "Engineering Encyclopedia"
|
||||
title = "Particle Accelerator User's Guide"
|
||||
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -158,7 +158,7 @@
|
||||
icon_state = "pipingbook"
|
||||
author = "Maria Crash, Senior Atmospherics Technician"
|
||||
title = "Pipes and You: Getting To Know Your Scary Tools"
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -245,7 +245,7 @@
|
||||
icon_state = "evabook"
|
||||
author = "Maria Crash, Senior Atmospherics Technician"
|
||||
title = "EVA Gear and You: Not Spending All Day Inside"
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -306,7 +306,7 @@
|
||||
author = "Engineering Encyclopedia"
|
||||
title = "Singularity Safety in Special Circumstances"
|
||||
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -354,7 +354,7 @@
|
||||
author = "Medical Journal, volume 3"
|
||||
title = "Cloning techniques of the 26th century"
|
||||
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -431,7 +431,7 @@
|
||||
author = "Weyland-Yutani Corp"
|
||||
title = "APLU \"Ripley\" Construction and Operation Manual"
|
||||
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -506,7 +506,7 @@
|
||||
author = "Dr. L. Ight"
|
||||
title = "Research and Development 101"
|
||||
pages = list({"
|
||||
<html>
|
||||
<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -556,7 +556,7 @@
|
||||
icon_state = "barbook"
|
||||
author = "Sir John Rose"
|
||||
title = "Barman Recipes"
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -600,7 +600,7 @@
|
||||
author = "Syndicate"
|
||||
protected = TRUE
|
||||
title = "Fission Mailed: Nuclear Sabotage 101"
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
Nuclear Explosives 101:<br>
|
||||
Hello and thank you for choosing the Syndicate for your nuclear information needs.<br>
|
||||
Today's crash course will deal with the operation of a Fusion Class Nanotrasen made Nuclear Device.<br>
|
||||
@@ -636,7 +636,7 @@
|
||||
icon_state ="bookHydroponicsPodPeople"
|
||||
author = "Farmer John"
|
||||
title = "The Human Harvest - From seed to market"
|
||||
pages = list({"<html>
|
||||
pages = list({"<html><meta charset='utf-8'>
|
||||
<head>
|
||||
<style>
|
||||
h1 {font-size: 18px; margin: 15px 0px 5px;}
|
||||
@@ -692,7 +692,7 @@
|
||||
/obj/item/book/manual/wiki/Initialize()
|
||||
. = ..()
|
||||
pages = list({"
|
||||
<html><head></head><body bgcolor='[book_bgcolor]'>
|
||||
<html><meta charset='utf-8'><head></head><body bgcolor='[book_bgcolor]'>
|
||||
<iframe width='100%' height='97%' src="[GLOB.configuration.url.wiki_url]/index.php/[wiki_article_title]?action=render" frameborder="0" id="main_frame"></iframe>
|
||||
</body></html>"})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user