forked from project-trans/MtF-wiki
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translations update from Weblate (#14)
* Update translation files Updated by "Cleanup translation files" add-on in Weblate. Update translation files Updated by "Cleanup translation files" add-on in Weblate. Update translation files Updated by "Cleanup translation files" add-on in Weblate. Update translation files Updated by "Cleanup translation files" add-on in Weblate. Update translation files Updated by "Cleanup translation files" add-on in Weblate. Update translation files Updated by "Cleanup translation files" add-on in Weblate. Merge remote-tracking branch 'origin/master' Translated using Weblate (Japanese) Currently translated at 16.6% (1 of 6 strings) Added translation using Weblate (Japanese) Co-authored-by: Lee <[email protected]> Co-authored-by: Weblate <[email protected]> Translate-URL: https://weblate.project-trans.org/projects/test/converter_index/ja/ Translate-URL: https://weblate.project-trans.org/projects/test/docs_index/ Translate-URL: https://weblate.project-trans.org/projects/test/docshrt_index/ Translate-URL: https://weblate.project-trans.org/projects/test/docsmedicinehrt-overview/ Translate-URL: https://weblate.project-trans.org/projects/test/docsmedicinemonitoring/ Translate-URL: https://weblate.project-trans.org/projects/test/docsmedicinerisk/ Translate-URL: https://weblate.project-trans.org/projects/test/docspsyco_index/ Translation: test/converter/_index Translation: test/docs/_index Translation: test/docs/hrt/_index Translation: test/docs/medicine/hrt-overview Translation: test/docs/medicine/monitoring Translation: test/docs/medicine/risk Translation: test/docs/psyco/_index * Translated using Weblate (Japanese) Currently translated at 50.0% (7 of 14 strings) Translation: test/docs/_index Translate-URL: https://weblate.project-trans.org/projects/test/docs_index/ja/ * Translated using Weblate (Japanese) Currently translated at 100.0% (14 of 14 strings) Translation: test/docs/_index Translate-URL: https://weblate.project-trans.org/projects/test/docs_index/ja/ * Translated using Weblate (Japanese) Currently translated at 100.0% (6 of 6 strings) Translation: test/docs/hrt/_index Translate-URL: https://weblate.project-trans.org/projects/test/docshrt_index/ja/ * Translated using Weblate (Japanese) Currently translated at 100.0% (40 of 40 strings) Translation: test/docs/medicine/hrt-overview Translate-URL: https://weblate.project-trans.org/projects/test/docsmedicinehrt-overview/ja/ --------- Co-authored-by: Weblate <[email protected]>
- Loading branch information
Showing
7 changed files
with
511 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
--- | ||
title: "激素の换算器" | ||
description: "激素の换算器" | ||
date: 2020-10-26T04:15:05+08:00 | ||
draft: false | ||
--- | ||
|
||
<div style="position: relative; display: flex; flex-direction: column"> | ||
<style> | ||
input { | ||
color: #495057; | ||
border: 1px solid #ced4da; | ||
border-radius: 0.25rem; | ||
/*transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;*/ | ||
padding: 1px; | ||
height: 2em; | ||
} | ||
select { | ||
color: #495057; | ||
border: 1px solid #ced4da; | ||
border-radius: 0.25rem; | ||
/*transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;*/ | ||
padding: 1px; | ||
height: 2em; | ||
} | ||
input:focus { | ||
color: #495057; | ||
outline: 0; | ||
border-image: url(/images/shadow-i.png) 30 30 stretch; | ||
border-image-width: 3px; | ||
border-image-outset: 0px; | ||
} | ||
table { | ||
box-shadow: none !important; | ||
border-collapse: collapse !important; | ||
} | ||
td { | ||
border: none !important; | ||
vertical-align: baseline !important; | ||
} | ||
</style> | ||
<table style="margin: auto;"> | ||
<tr> | ||
<td> | ||
<span>原数据:</span> | ||
</td> | ||
<td> | ||
<input type="text" id="val1" onkeyup="changed()" style="width: 10ex" /> | ||
</td> | ||
<td> | ||
<select id="in1" oninput="changed()"> | ||
<option value="1">pg</option> | ||
<option value="1000">ng</option> | ||
<option value="1000000">μg</option> | ||
<option value="mol">pmol</option> | ||
<option value="mol1000">nmol</option> | ||
<option value="mIU">mIU</option> | ||
<option value="uIU">μIU</option> | ||
</select> | ||
</td> | ||
<td> | ||
<span>/</span> | ||
</td> | ||
<td> | ||
<select id="in2" oninput="changed()"> | ||
<option value="1">mL</option> | ||
<option value="100">dL</option> | ||
<option value="1000">L</option> | ||
</select> | ||
</td> | ||
<td> | ||
<select id="in3" oninput="changed()" style="display: none;"> | ||
<option value="272.38">雌二醇</option> | ||
<option value="288.43">睾酮</option> | ||
<option value="23000">泌乳素</option> | ||
<option value="314.46">孕酮</option> | ||
</select> | ||
</td> | ||
<td> | ||
<select id="in4" oninput="changed()" style="display: none;"> | ||
<option value="47170">泌乳素</option> | ||
<option value="113880">卵泡刺激素</option> | ||
<option value="46.56">促黄体素</option> | ||
</select> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<span>转换为:</span> | ||
</td> | ||
<td> | ||
<input id="result" style="width: 10ex" value="" readonly="true" /> | ||
</td> | ||
<td> | ||
<select id="out1" oninput="changed()"> | ||
<option value="1">pg</option> | ||
<option value="1000">ng</option> | ||
<option value="1000000">μg</option> | ||
<option value="mol">pmol</option> | ||
<option value="mol1000">nmol</option> | ||
</select> | ||
</td> | ||
<td> | ||
<span>/</span> | ||
</td> | ||
<td> | ||
<select id="out2" oninput="changed()"> | ||
<option value="1">mL</option> | ||
<option value="100">dL</option> | ||
<option value="1000">L</option> | ||
</select> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<script type="text/javascript"> | ||
function changed() { | ||
var val = Number(window.document.getElementById("val1").value); | ||
var in1 = window.document.getElementById("in1").value; | ||
var in2 = window.document.getElementById("in2").value; | ||
var in3 = Number(window.document.getElementById("in3").value); | ||
var in4 = Number(window.document.getElementById("in4").value); | ||
var out1 = window.document.getElementById("out1").value; | ||
var out2 = window.document.getElementById("out2").value; | ||
window.document.getElementById("in3").style.display = "none"; | ||
window.document.getElementById("in4").style.display = "none"; | ||
switch (in1) { | ||
case "mol": | ||
window.document.getElementById("in3").style.display = "inline-block"; | ||
val = val * in3; | ||
break; | ||
case "mol1000": | ||
window.document.getElementById("in3").style.display = "inline-block"; | ||
val = val * 1000 * in3; | ||
break; | ||
case "mIU": | ||
window.document.getElementById("in4").style.display = "inline-block"; | ||
val = val * in4; | ||
break; | ||
case "uIU": | ||
window.document.getElementById("in4").style.display = "inline-block"; | ||
val = (val * in4) / 1000; | ||
break; | ||
default: | ||
//window.document.getElementById("in3").style.visibility = "hidden"; | ||
val = val * Number(in1); | ||
} | ||
switch (out1) { | ||
case "mol": | ||
window.document.getElementById("in3").style.display = "inline-block"; | ||
val = val / in3; | ||
break; | ||
case "mol1000": | ||
window.document.getElementById("in3").style.display = "inline-block"; | ||
val = (val * 0.001) / in3; | ||
break; | ||
default: | ||
//window.document.getElementById("in3").style.visibility = "hidden"; | ||
val = val / Number(out1); | ||
} | ||
val = (val * out2) / in2; | ||
if (isNaN(val)) { | ||
window.document.getElementById("result").value = "数值错误"; //输出 | ||
} else { | ||
window.document.getElementById("result").value = val; //输出 | ||
} | ||
return; | ||
} | ||
</script> | ||
|
||
| ||
|
||
| ||
|
||
--- | ||
|
||
注:部分医院可能使用[IU(国际单位)](https://zh.wikipedia.org/zh-hans/%E5%9B%BD%E9%99%85%E5%8D%95%E4%BD%8D)作为衡量激素水平的单位,但由于IU为医学效价单位,其与质量单位的换算取决于药物种类且可能随时间变化,在此仅提供部分参考。详见 [单位科普 - 国际单位(IU)]({{< ref "science-literacy#国际单位iu" >}}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,13 @@ weight: 3 | |
collapsible: true | ||
aliases: ../jp | ||
--- | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.