Spaces:
Sleeping
Sleeping
some text updates
Browse files
app.py
CHANGED
|
@@ -164,8 +164,8 @@ def main():
|
|
| 164 |
|
| 165 |
st.write("### Older / Related Codes")
|
| 166 |
|
| 167 |
-
st.write(f"ISO 639-
|
| 168 |
-
st.write(f"ISO 639-
|
| 169 |
|
| 170 |
# ethnologue prefers T for german (deu), and T for French
|
| 171 |
st.write(f"If it exists, the ISO 639 Code Tables entry for the T variant would be at https://iso639-3.sil.org/code/{t_variant}. That is also the code variant that typically has a working link to Ethnologue.")
|
|
@@ -177,10 +177,10 @@ def main():
|
|
| 177 |
t_obsolete_codes = pull_obsolete_codes(t_variant)
|
| 178 |
b_obsolete_codes = pull_obsolete_codes(b_variant)
|
| 179 |
if t_obsolete_codes:
|
| 180 |
-
st.write(f"
|
| 181 |
st.write(t_obsolete_codes)
|
| 182 |
elif b_obsolete_codes:
|
| 183 |
-
st.write(f"
|
| 184 |
st.write(b_obsolete_codes)
|
| 185 |
|
| 186 |
st.write(f"### Glottolog")
|
|
|
|
| 164 |
|
| 165 |
st.write("### Older / Related Codes")
|
| 166 |
|
| 167 |
+
st.write(f"ISO 639-2 'alpha3' code, 'terminology' or 'T' variant (deprecated): {t_variant}")
|
| 168 |
+
st.write(f"ISO 639-2 'alpha3' code, 'bibliographic' or 'B' variant (deprecated): {b_variant}")
|
| 169 |
|
| 170 |
# ethnologue prefers T for german (deu), and T for French
|
| 171 |
st.write(f"If it exists, the ISO 639 Code Tables entry for the T variant would be at https://iso639-3.sil.org/code/{t_variant}. That is also the code variant that typically has a working link to Ethnologue.")
|
|
|
|
| 177 |
t_obsolete_codes = pull_obsolete_codes(t_variant)
|
| 178 |
b_obsolete_codes = pull_obsolete_codes(b_variant)
|
| 179 |
if t_obsolete_codes:
|
| 180 |
+
st.write(f"Older codes from previous ISO-639 iterations, pulled from https://iso639-3.sil.org/code/{t_variant}:")
|
| 181 |
st.write(t_obsolete_codes)
|
| 182 |
elif b_obsolete_codes:
|
| 183 |
+
st.write(f"Older codes from previous ISO-639 iterations, pulled from https://iso639-3.sil.org/code/{b_variant}:")
|
| 184 |
st.write(b_obsolete_codes)
|
| 185 |
|
| 186 |
st.write(f"### Glottolog")
|