Merge branch 'master' into l10n_master
This commit is contained in:
commit
d34e8940a7
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -18,4 +18,5 @@ app/view/de
|
||||||
app/view/bg
|
app/view/bg
|
||||||
app/view/cs
|
app/view/cs
|
||||||
app/view/ps
|
app/view/ps
|
||||||
|
app/view/es-AR
|
||||||
app/git
|
app/git
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
const JSON5 = require('json5')
|
|
||||||
const fs = require("fs")
|
|
||||||
fs.writeFileSync("main.json", JSON.stringify(JSON5.parse(fs.readFileSync("lang." + process.argv[2] + ".js", 'utf8').replace("var lang = ", ""))))
|
|
|
@ -1,250 +0,0 @@
|
||||||
var lang = {
|
|
||||||
"language": "es-AR",
|
|
||||||
"lang_toot": "Toot",
|
|
||||||
"lang_there": "Sí",
|
|
||||||
"lang_nothing": "Ninguno",
|
|
||||||
"lang_yesno": "Sí",
|
|
||||||
"lang_no": "No",
|
|
||||||
"lang_progress": "Esperá…",
|
|
||||||
"lang_edit": "Editar",
|
|
||||||
"lang_del": "Eliminar",
|
|
||||||
"lang_add": "Agregar",
|
|
||||||
"lang_fatalerroroccured": "Ocurrieron algunos errores. Por favor, reiniciá TheDesk.",
|
|
||||||
"lang_speech": "Inglés de Estados Unidos por Google",
|
|
||||||
"lang_lang": "Idioma",
|
|
||||||
"lang_langlocale": "Español",
|
|
||||||
"lang_back": "Volver",
|
|
||||||
"lang_set": "Establecer",
|
|
||||||
"lang_langadd": "Localizá TheDesk a otros idiomas o revisá sus traducciones en <a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\">GitHub</a>. TheDesk necesita tu ayuda.",
|
|
||||||
"lang_time_prefixAgo": null,
|
|
||||||
"lang_time_prefixFromNow": null,
|
|
||||||
"lang_time_suffixAgo": null,
|
|
||||||
"lang_time_suffixFromNow": null,
|
|
||||||
"lang_time_inPast": null,
|
|
||||||
"lang_time_seconds": "%d s",
|
|
||||||
"lang_time_minute": "1 m",
|
|
||||||
"lang_time_minutes": "%d m",
|
|
||||||
"lang_time_hour": "1 h",
|
|
||||||
"lang_time_hours": "%d m",
|
|
||||||
"lang_time_day": "1 d",
|
|
||||||
"lang_time_days": "%d d",
|
|
||||||
"lang_time_month": "1 mes",
|
|
||||||
"lang_time_months": "%d meses",
|
|
||||||
"lang_time_year": "a",
|
|
||||||
"lang_time_years": "%d a",
|
|
||||||
"lang_version_usever": "No se encontró ninguna actualización ({{ver}})",
|
|
||||||
"lang_version_skipver": "Se ignoró la actualización.",
|
|
||||||
"lang_version_platform": "¿Querés actualizaciones automáticas? (quienes instalaron TheDesk desde Microsoft Store tienen que seleccionar \"No\")",
|
|
||||||
"lang_version_platform_linux": "¿Querés actualizaciones automáticas? (quienes instalaron TheDesk desde Snapcraft tienen que seleccionar \"No\")",
|
|
||||||
"lang_version_platform_mac": "¿Querés actualizaciones automáticas? (quienes instalaron TheDesk desde Homebrew Cask tienen que seleccionar \"No\")",
|
|
||||||
"lang_login_noauth": "Mostrar línea temporal de cuentas sin inicios de sesiones",
|
|
||||||
"lang_manager_info": "Acerca de esta instancia",
|
|
||||||
"lang_manager_refresh": "Refrescar",
|
|
||||||
"lang_manager_delete": "Cerrar sesión",
|
|
||||||
"lang_manager_color": "Color de cuenta",
|
|
||||||
"lang_manager_confirm": "está a punto de cerrar sesión. ¿Querés continuar?",
|
|
||||||
"lang_manager_mainAcct": "Listo, elegí la cuenta principal",
|
|
||||||
"lang_manager_def": "Predeterminado",
|
|
||||||
"lang_manager_none": "Nada",
|
|
||||||
"lang_manager_godev": "Abrí DevCenter de Misskey. También mostramos documentos oficiales como referencia.",
|
|
||||||
"lang_manager_logout": "Cerrar sesión",
|
|
||||||
"lang_bbmd_misskey": "TheDesk considera \"@\" como respuesta, pero podés poner otro parámetro. \"No listado\" en Mastodon significa \"Principal\" en Misskey.",
|
|
||||||
"lang_emoji_get": "Obtené emojis",
|
|
||||||
"lang_emoji_custom": "Emojis personalizados",
|
|
||||||
"lang_defaultemojis_text": "Emojis de {{cat}}",
|
|
||||||
"lang_postimg_previewdis": "no se puede previsualizar",
|
|
||||||
"lang_postimg_aftupload": "No podés cambiar cuentas después de subir.",
|
|
||||||
"lang_postimg_failupload": "Falló",
|
|
||||||
"lang_postimg_delete": "Eliminar esta imagen.",
|
|
||||||
"lang_post_tagTL": "Este toot no contiene una etiqueta predeterminada. Este toot no se mostrará en la línea temporal local. ¿Querés continuar?",
|
|
||||||
"lang_post_tagVis": "Este toot (toot no público) no se muestra en la línea temporal de esta etiqueta.",
|
|
||||||
"lang_post_cwtitle": "Alerta automática de Advertencia de contenido",
|
|
||||||
"lang_post_cwtxt": "Estás a punto de enviar un toot más largo de lo establecido.\nTexto de advertencia:",
|
|
||||||
"lang_post_btn1": "Cancelar (no se enviará)",
|
|
||||||
"lang_post_btn2": "Crear el texto oculto automáticamente",
|
|
||||||
"lang_post_btn3": "Continuar con el envío",
|
|
||||||
"lang_status_favWarn": "Llevará un minuto marcar un toot remoto como favorito.",
|
|
||||||
"lang_status_btWarn": "Llevará un minuto retootear un toot remoto.",
|
|
||||||
"lang_status_follow": "Seguir",
|
|
||||||
"lang_status_unfollow": "Dejar de seguir",
|
|
||||||
"lang_status_block": "Bloquear",
|
|
||||||
"lang_status_unblock": "Desbloquear",
|
|
||||||
"lang_status_mute": "Silenciar",
|
|
||||||
"lang_status_unmute": "Dejar de silenciar",
|
|
||||||
"lang_status_redraftTitle": "Eliminar toot original y editarlo",
|
|
||||||
"lang_status_redraft": "¿Querés continuar para eliminar el toot original y redactarlo de nuevo? Vas a perder toda la interacción acumulada en el mismo. Esta opción puede contener algunos errores. Las imágenes de este toot se eliminarán en versiones de Mastodon anteriores a la 2.4.1.",
|
|
||||||
"lang_status_emphas": "- los toots de este usuario están resaltados. Por favor, recargá luego de esta acción.",
|
|
||||||
"lang_status_unemphas": "- los toots de este usuario no están resaltados. Por favor, recargá luego de esta acción.",
|
|
||||||
"lang_status_unendorse": "No destacado en el perfil",
|
|
||||||
"lang_status_endorse": "Destacado en el perfil",
|
|
||||||
"lang_status_followers": "Seguidores",
|
|
||||||
"lang_status_active": "Último estado",
|
|
||||||
"lang_suggest_nodata": "Por favor, obtené la lista de emojis para mostrar sugerencias.",
|
|
||||||
"lang_usetxtbox_reply": "Modo de respuesta. \"Ctrl\" + \"Mayús\" + \"C\" para limpiar.",
|
|
||||||
"lang_cards_check": " comprobado",
|
|
||||||
"lang_cards_pip": "Modo de pantalla en pantalla",
|
|
||||||
"lang_details_nodata": "Sin datos",
|
|
||||||
"lang_details_filtered": "Toot filtrado",
|
|
||||||
"lang_details_embed": "El código HTML de inserción se copió al portapapeles.",
|
|
||||||
"lang_details_url": "La dirección web de este toot se copió al portapapeles.",
|
|
||||||
"lang_details_txt": "El contenido de este toot se copió al portapapeles.",
|
|
||||||
"lang_filter_nodata": "Sin datos",
|
|
||||||
"lang_filter_errordegree": "Por favor, comprobá un contexto",
|
|
||||||
"lang_list_nodata": "Sin datos",
|
|
||||||
"lang_list_show": "Mostrar",
|
|
||||||
"lang_list_users": "Lista de usuarios",
|
|
||||||
"lang_list_nouser": "No hay usuarios en esta lista.",
|
|
||||||
"lang_list_add": "Agregar a la lista",
|
|
||||||
"lang_list_add_misskey": "(tal vez este usuario fue enlistado)",
|
|
||||||
"lang_list_remove": "Quitar de la lista",
|
|
||||||
"lang_notf_new": " nuevas notificaciones",
|
|
||||||
"lang_speech_refresh": "Guardar valor sobre la configuración de texto hablado",
|
|
||||||
"lang_src_ts": "orden cronológico",
|
|
||||||
"lang_src_people": " toot de persona",
|
|
||||||
"lang_tags_always": "Siempre toots con ",
|
|
||||||
"lang_tags_realtime": "Toot de la línea temporal de etiqueta",
|
|
||||||
"lang_tags_tagunpin": "Desfijar {{tag}}",
|
|
||||||
"lang_tags_unrealtime": "Deshabilitar TsT",
|
|
||||||
"lang_tags_tagwarn": "Completar automáticamente {{tag}}, si el toot no tiene {{tag}}",
|
|
||||||
"lang_tl_media": "Medios",
|
|
||||||
"lang_tl_reconnect": "Reconectar a la API de streaming",
|
|
||||||
"lang_tl_postmarkers_title": "Procesando…",
|
|
||||||
"lang_tl_postmarkers": "Datos de marcadores POST. Por favor, esperá.",
|
|
||||||
"lang_img_DLDone": "Descargado:",
|
|
||||||
"lang_layout_gotop": "Ir al comienzo de esta columna. Cuando el ícono está rojo, esta columna no se puede conectar a la API del streaming. En ese caso, por favor, refrescá.",
|
|
||||||
"lang_layout_thisacct": "{{notf}} de esta cuenta",
|
|
||||||
"lang_layout_delthis": "Quitar esta columna",
|
|
||||||
"lang_layout_setthis": "Configuración de esta columna",
|
|
||||||
"lang_layout_mediafil": "Filtro de medio",
|
|
||||||
"lang_layout_linkana": "Analizador automático de enlace",
|
|
||||||
"lang_layout_linkanades": "Analizador automático de enlace",
|
|
||||||
"lang_layout_tts": "Texto hablado ",
|
|
||||||
"lang_layout_reconnect": "Refrescar esta columna",
|
|
||||||
"lang_layout_headercolor": "Color del encabezado de esta columna",
|
|
||||||
"lang_layout_nodata": "[Sin datos]<br>F5/⌘+R para refrescar",
|
|
||||||
"lang_layout_dm": "Mensaje directo",
|
|
||||||
"lang_layout_webviewmode": "Preferir WebView",
|
|
||||||
"lang_excluded": "Tipo de notificación excluida",
|
|
||||||
"lang_layout_excludingbt": "Mostrar modo de retoot (DESACTIVADO / Excluir retoots / Sólo retoots)",
|
|
||||||
"lang_layout_leftFold": "Pegar a la izquierda",
|
|
||||||
"lang_layout_leftUnfold": "Colocar en la derecha",
|
|
||||||
"lang_layout_deleteColumn": "Eliminar esta columna",
|
|
||||||
"lang_layout_deleteColumnDesc": "Eliminar esta columna",
|
|
||||||
"lang_layout_unread": "Sin leer",
|
|
||||||
"lang_sort_gothis": "Ir a esta columna",
|
|
||||||
"lang_sort_remthis": "Eliminar esta columna",
|
|
||||||
"lang_spotify_img": "Adjuntar la tapa del álbum",
|
|
||||||
"lang_spotify_imgno": "No adjuntar la tapa del álbum",
|
|
||||||
"lang_spotify_acct": "Conectar TheDesk a Spotify",
|
|
||||||
"lang_spotify_np": "Listo, plantilla de Ahora suena",
|
|
||||||
"lang_setting_npprovide": "Proveedor de Ahora suena: {{set}}",
|
|
||||||
"lang_hisdata_frcreq": "Se requiere Mastodon 2.4.3 o superior",
|
|
||||||
"lang_hisdata_frcwarn": "Se mostrarán cuentas que no se siguen.",
|
|
||||||
"lang_hisdata_taketime": "Tomará entre 30 segundos a varios minutos",
|
|
||||||
"lang_hisdata_notonmisskey": "Misskey no pudo responder.",
|
|
||||||
"lang_hisdata_key": "Este usuario está verificado por {{set}}",
|
|
||||||
"lang_showontl_movetxt": "Se mudó esta cuenta",
|
|
||||||
"lang_showontl_movebtn": "Continuar en la nueva cuenta",
|
|
||||||
"lang_showontl_botacct": "[bot]",
|
|
||||||
"lang_showontl_followed": "Te sigue",
|
|
||||||
"lang_showontl_notf": "Notificación ",
|
|
||||||
"lang_showontl_domain": "Dominio ",
|
|
||||||
"lang_showontl_listwarn": "Seguí a este usuario para agregarlo a las listas.",
|
|
||||||
"lang_showontl_verified": "Este sitio web está verificado por su propietario en ",
|
|
||||||
"lang_parse_mentioned": " te respondió",
|
|
||||||
"lang_parse_faved": " marcó tu toot como favorito",
|
|
||||||
"lang_parse_bted": " retooteó tu toot",
|
|
||||||
"lang_parse_btedsimple": " retooteado",
|
|
||||||
"lang_parse_polled": " hizo una encuesta",
|
|
||||||
"lang_parse_notftime": "Enviado el",
|
|
||||||
"lang_parse_cwshow": "Mostrar",
|
|
||||||
"lang_parse_fulltext": "Tamaño de texto:",
|
|
||||||
"lang_parse_autofold": "Colapsado automáticamente",
|
|
||||||
"lang_parse_more": "Más",
|
|
||||||
"lang_parse_url": "Analizador de direcciones web",
|
|
||||||
"lang_parse_tagTL": "Línea temporal de {{tag}}",
|
|
||||||
"lang_parse_tagtoot": "Toot con {{tag}}",
|
|
||||||
"lang_parse_tagpin": "Pin {{tag}}",
|
|
||||||
"lang_parse_public": "Público",
|
|
||||||
"lang_parse_unlisted": "Sin listar",
|
|
||||||
"lang_parse_private": "Privado",
|
|
||||||
"lang_parse_direct": "Mensaje directo",
|
|
||||||
"lang_parse_clickcopy": "Hacé clic para copiar el texto de este toot",
|
|
||||||
"lang_parse_clickcopyurl": "Hacé clic para copiar la dirección web de este toot",
|
|
||||||
"lang_parse_trans": "Traducir al japonés",
|
|
||||||
"lang_parse_replyto": "Responder este toot",
|
|
||||||
"lang_parse_bt": "Retootear este toot",
|
|
||||||
"lang_parse_fav": "Marcar como favorito este toot",
|
|
||||||
"lang_parse_quote": "Citar este toot",
|
|
||||||
"lang_parse_del": "Eliminar este toot",
|
|
||||||
"lang_parse_pin": "Fijar este toot",
|
|
||||||
"lang_parse_det": "Detalles vía tu cuenta principal.",
|
|
||||||
"lang_parse_redraft": "Eliminar toot original y editarlo",
|
|
||||||
"lang_parse_followed": "Te sigue",
|
|
||||||
"lang_parse_clientop": "Función de este cliente",
|
|
||||||
"lang_parse_clienttxt": " hará lo siguiente",
|
|
||||||
"lang_parse_clientno": "nada",
|
|
||||||
"lang_parse_clientemp": "resaltar / no resaltar",
|
|
||||||
"lang_parse_clientmute": "silenciar",
|
|
||||||
"lang_parse_mute": " será silenciado. Lo podés quitar en la configuración.",
|
|
||||||
"lang_parse_voted": "Votado",
|
|
||||||
"lang_parse_vote": "Votar",
|
|
||||||
"lang_parse_unvoted": "Mostrar el resultado sin votar",
|
|
||||||
"lang_parse_endedvote": "Venció",
|
|
||||||
"lang_parse_thread": "Mostrar hilo",
|
|
||||||
"lang_parse_unknown": "Archivo adjunto",
|
|
||||||
"lang_parse_nsfw": "medios sensibles",
|
|
||||||
"lang_parse_notffilter": "Mostrar notificaciones de este usuario",
|
|
||||||
"lang_misskeyparse_renote": "Republicar",
|
|
||||||
"lang_misskeyparse_renoteqt": "Renovar",
|
|
||||||
"lang_misskeyparse_reaction": "Reacción",
|
|
||||||
"lang_misskeyparse_tagnostr": "No hay API de streaming en las líneas temporales de la etiqueta",
|
|
||||||
"lang_misskeyparse_listnostr": "No hay API de streaming en las líneas temporales de la lista",
|
|
||||||
"lang_misskeyparse_home": "Principal",
|
|
||||||
"lang_misskeyparse_followers": "Seguidor",
|
|
||||||
"lang_misskeyparse_specified": "Usuario específico",
|
|
||||||
"lang_misskeyparse_qt": "Modo de renovación de Misskey (cita): \"Ctrl\" + \"Mayús\" + \"Intro\" para limpiar",
|
|
||||||
"lang_misskeyparse_renoted": " renovó tu siguiente entrada.",
|
|
||||||
"lang_misskeyparse_quoted": " citó tu siguiente entrada.",
|
|
||||||
"lang_misskeyparse_reacted": " reaccionó a tu siguiente entrada.",
|
|
||||||
"lang_setting_time": "Formato de tiempo: {{set}}",
|
|
||||||
"lang_setting_theme": "Tema: {{set}}",
|
|
||||||
"lang_setting_nsfw": "Medios sensibles: {{set}}",
|
|
||||||
"lang_setting_cw": "Advertencia de contenido: {{set}}",
|
|
||||||
"lang_setting_cwtext": "Texto predeterminado de advertencia de contenido: {{set}}",
|
|
||||||
"lang_setting_cws": "Advertencia de contenido siempre activa: {{set}}",
|
|
||||||
"lang_setting_rp": "Contador de respuestas: {{set}}",
|
|
||||||
"lang_setting_vis": "Visibilidad predeterminada: {{set}}",
|
|
||||||
"lang_setting_popup": "Ventana emergente de notificación: {{set}}",
|
|
||||||
"lang_setting_off": "Desactivado",
|
|
||||||
"lang_setting_s": "s",
|
|
||||||
"lang_setting_box": "Acción predeterminada de la caja de toot: {{set}}",
|
|
||||||
"lang_setting_gif": "GIF: {{set}}",
|
|
||||||
"lang_setting_selt": "Colapso automático: {{set1}} líneas y más, {{set2}} letras y más",
|
|
||||||
"lang_setting_autocw": "Advertencia de contenido automático: {{set1}} líneas y más, {{set2}} letras y más",
|
|
||||||
"lang_setting_width": "Ancho mínimo: {{set}}",
|
|
||||||
"lang_setting_fixwidth": "Ancho fijo de TweetDeck: {{set}} px",
|
|
||||||
"lang_setting_img": "Luego de enviar una imagen: {{set}}",
|
|
||||||
"lang_setting_font": "Tipografía: {{set}}",
|
|
||||||
"lang_setting_default": "tipografía predeterminada",
|
|
||||||
"lang_setting_size": "Tamaño de tipografía: {{set}} px",
|
|
||||||
"lang_setting_imgheight": "Altura de imagen: {{set}} px",
|
|
||||||
"lang_setting_ticker": "#InstanceTicker: {{set}} px",
|
|
||||||
"lang_setting_animation": "Animación: {{set}}",
|
|
||||||
"lang_setting_tag": "Línea temporal de etiqueta: {{set}}",
|
|
||||||
"lang_setting_boxConfirm": "Caja de toot: {{set}}",
|
|
||||||
"lang_setting_ul": "Local nativo: {{set}}",
|
|
||||||
"lang_setting_notf": "Notificación nativa: {{set}}",
|
|
||||||
"lang_setting_quote": "Formato de cita: {{set}}",
|
|
||||||
"lang_setting_via": "Vía: {{set}}",
|
|
||||||
"lang_setting_mov": "Ocultamiento de los botones de acción: {{set}}",
|
|
||||||
"lang_setting_setasread": "Marcadores de notificación: {{set}}",
|
|
||||||
"lang_setting_main": "Cuenta predeterminada: {{set}}",
|
|
||||||
"lang_setting_sec": "Botón de toot secundario: {{set}}",
|
|
||||||
"lang_setting_ksref": "Se actualizaron los atajos de teclado.",
|
|
||||||
"lang_setting_nomuting": "Ningún usuario está silenciado.",
|
|
||||||
"lang_setting_notftest": " Prueba de notificación ",
|
|
||||||
"lang_setting_notftestprof": "Se muestra el ícono.",
|
|
||||||
"lang_setting_exportwarn": "Sólo se exportará los datos importantes. Tenés que guardar esto en un lugar seguro.",
|
|
||||||
"lang_setting_importwarn": "Todos los datos serán eliminados."
|
|
||||||
}
|
|
|
@ -398,6 +398,8 @@ function ckdb(acct_id) {
|
||||||
}
|
}
|
||||||
if (json["urls"]["streaming_api"]) {
|
if (json["urls"]["streaming_api"]) {
|
||||||
localStorage.setItem("streaming_" + acct_id, json["urls"]["streaming_api"]);
|
localStorage.setItem("streaming_" + acct_id, json["urls"]["streaming_api"]);
|
||||||
|
}else{
|
||||||
|
localStorage.removeItem("streaming_" + acct_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -289,6 +289,7 @@ function clear() {
|
||||||
$("#post-acct-sel").val(localStorage.getItem("main"));
|
$("#post-acct-sel").val(localStorage.getItem("main"));
|
||||||
}
|
}
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
|
mdCheck()
|
||||||
$("#left-side").show();
|
$("#left-side").show();
|
||||||
$("#default-emoji").show();
|
$("#default-emoji").show();
|
||||||
$("#unreact").show();
|
$("#unreact").show();
|
||||||
|
|
|
@ -295,7 +295,9 @@ function redraft(id, acct_id) {
|
||||||
show();
|
show();
|
||||||
del(id, acct_id);
|
del(id, acct_id);
|
||||||
$("#post-acct-sel").prop("disabled", true);
|
$("#post-acct-sel").prop("disabled", true);
|
||||||
|
$("#post-acct-sel").val(acct_id);
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
|
mdCheck()
|
||||||
var medias = $("[toot-id=" + id + "]").attr("data-medias");
|
var medias = $("[toot-id=" + id + "]").attr("data-medias");
|
||||||
var vismode = $("[toot-id=" + id + "] .vis-data").attr("data-vis");
|
var vismode = $("[toot-id=" + id + "] .vis-data").attr("data-vis");
|
||||||
vis(vismode);
|
vis(vismode);
|
||||||
|
|
|
@ -16,6 +16,7 @@ function re(id, ats_cm, acct_id, mode) {
|
||||||
$("#post-acct-sel").val(acct_id);
|
$("#post-acct-sel").val(acct_id);
|
||||||
$("#post-acct-sel").prop("disabled", true);
|
$("#post-acct-sel").prop("disabled", true);
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
|
mdCheck()
|
||||||
$("#textarea").attr("placeholder", lang.lang_usetxtbox_reply);
|
$("#textarea").attr("placeholder", lang.lang_usetxtbox_reply);
|
||||||
$("#textarea").focus();
|
$("#textarea").focus();
|
||||||
var profimg = localStorage.getItem("prof_" + acct_id);
|
var profimg = localStorage.getItem("prof_" + acct_id);
|
||||||
|
@ -75,5 +76,6 @@ function qt(id, acct_id, at, url) {
|
||||||
}
|
}
|
||||||
$("#post-acct-sel").val(acct_id);
|
$("#post-acct-sel").val(acct_id);
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
|
mdCheck()
|
||||||
$("#textarea").focus();
|
$("#textarea").focus();
|
||||||
}
|
}
|
|
@ -264,7 +264,21 @@ function notfWS(misskey, acct_id, tlid, domain, at) {
|
||||||
}
|
}
|
||||||
websocketNotf[acct_id].onerror = function (error) {
|
websocketNotf[acct_id].onerror = function (error) {
|
||||||
console.error('WebSocket Error ' + error);
|
console.error('WebSocket Error ' + error);
|
||||||
notfWS(misskey, acct_id, tlid, domain, at)
|
errorct++;
|
||||||
|
console.log(errorct)
|
||||||
|
if (errorct < 3) {
|
||||||
|
notfWS(misskey, acct_id, tlid, domain, at)
|
||||||
|
}
|
||||||
|
|
||||||
|
};
|
||||||
|
websocketNotf[acct_id].onclose = function (error) {
|
||||||
|
console.error('WebSocket Close ' + error);
|
||||||
|
errorct++;
|
||||||
|
console.log(errorct)
|
||||||
|
if (errorct < 3) {
|
||||||
|
notfWS(misskey, acct_id, tlid, domain, at)
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -361,23 +375,23 @@ function notfToggle(acct, tlid) {
|
||||||
$("#notf-box_" + tlid).animate({
|
$("#notf-box_" + tlid).animate({
|
||||||
'height': '400px'
|
'height': '400px'
|
||||||
}, {
|
}, {
|
||||||
'duration': 300,
|
'duration': 300,
|
||||||
'complete': function () {
|
'complete': function () {
|
||||||
$("#notf-box_" + tlid).css("overflow-y", "scroll")
|
$("#notf-box_" + tlid).css("overflow-y", "scroll")
|
||||||
$("#notf-box_" + tlid).removeClass("column-hide")
|
$("#notf-box_" + tlid).removeClass("column-hide")
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
$("#notf-box_" + tlid).css("overflow-y", "hidden")
|
$("#notf-box_" + tlid).css("overflow-y", "hidden")
|
||||||
$("#notf-box_" + tlid).animate({
|
$("#notf-box_" + tlid).animate({
|
||||||
'height': '0'
|
'height': '0'
|
||||||
}, {
|
}, {
|
||||||
'duration': 300,
|
'duration': 300,
|
||||||
'complete': function () {
|
'complete': function () {
|
||||||
$("#notf-box_" + tlid).addClass("column-hide")
|
$("#notf-box_" + tlid).addClass("column-hide")
|
||||||
$("#notf-box_" + tlid).css("display", "none")
|
$("#notf-box_" + tlid).css("display", "none")
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
notfCanceler(acct)
|
notfCanceler(acct)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
//TL取得
|
//TL取得
|
||||||
moreloading = false;
|
moreloading = false;
|
||||||
|
var errorct=0;
|
||||||
function tl(type, data, acct_id, tlid, delc, voice, mode) {
|
function tl(type, data, acct_id, tlid, delc, voice, mode) {
|
||||||
scrollevent();
|
scrollevent();
|
||||||
$("#unread_" + tlid + " .material-icons").removeClass("teal-text")
|
$("#unread_" + tlid + " .material-icons").removeClass("teal-text")
|
||||||
|
@ -230,6 +231,7 @@ function reload(type, cc, acct_id, tlid, data, mute, delc, voice, mode) {
|
||||||
websocket[wsid] = new WebSocket(start);
|
websocket[wsid] = new WebSocket(start);
|
||||||
websocket[wsid].onopen = function (mess) {
|
websocket[wsid].onopen = function (mess) {
|
||||||
console.table({ "tlid": tlid, "type": "Connect Streaming API" + type, "domain": domain, "message": [mess] })
|
console.table({ "tlid": tlid, "type": "Connect Streaming API" + type, "domain": domain, "message": [mess] })
|
||||||
|
errorct=0
|
||||||
$("#notice_icon_" + tlid).removeClass("red-text")
|
$("#notice_icon_" + tlid).removeClass("red-text")
|
||||||
}
|
}
|
||||||
websocket[wsid].onmessage = function (mess) {
|
websocket[wsid].onmessage = function (mess) {
|
||||||
|
@ -317,8 +319,8 @@ function reload(type, cc, acct_id, tlid, data, mute, delc, voice, mode) {
|
||||||
$("#notice_icon_" + tlid).addClass("red-text")
|
$("#notice_icon_" + tlid).addClass("red-text")
|
||||||
todo('WebSocket Error ' + error);
|
todo('WebSocket Error ' + error);
|
||||||
} else {
|
} else {
|
||||||
var errorct = localStorage.getItem("wserror_" + tlid) * 1 + 1;
|
errorct++;
|
||||||
localStorage.setItem("wserror_" + tlid, errorct);
|
console.log(errorct)
|
||||||
if (errorct < 3) {
|
if (errorct < 3) {
|
||||||
reconnector(tlid, type, acct_id, data, "error");
|
reconnector(tlid, type, acct_id, data, "error");
|
||||||
}
|
}
|
||||||
|
@ -331,8 +333,8 @@ function reload(type, cc, acct_id, tlid, data, mute, delc, voice, mode) {
|
||||||
$("#notice_icon_" + tlid).addClass("red-text")
|
$("#notice_icon_" + tlid).addClass("red-text")
|
||||||
todo('WebSocket Closed');
|
todo('WebSocket Closed');
|
||||||
} else {
|
} else {
|
||||||
var errorct = localStorage.getItem("wserror_" + tlid) * 1 + 1;
|
errorct++;
|
||||||
localStorage.setItem("wserror_" + tlid, errorct);
|
console.log(errorct)
|
||||||
if (errorct < 3) {
|
if (errorct < 3) {
|
||||||
reconnector(tlid, type, acct_id, data, "error");
|
reconnector(tlid, type, acct_id, data, "error");
|
||||||
}
|
}
|
||||||
|
@ -791,7 +793,6 @@ function strAlive() {
|
||||||
var type = obj[key].type;
|
var type = obj[key].type;
|
||||||
var acct_id = obj[key].domain;
|
var acct_id = obj[key].domain;
|
||||||
var data = obj[key].data;
|
var data = obj[key].data;
|
||||||
localStorage.removeItem("wserror_" + tlid)
|
|
||||||
reconnector(key, type, acct_id, data, "error");
|
reconnector(key, type, acct_id, data, "error");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,177 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang="es-AR">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Account Manager - TheDesk</title>
|
|
||||||
<meta content="width=device-width,initial-scale=1.0" name="viewport">
|
|
||||||
<link href="../../node_modules/materialize-css/dist/css/materialize.css" type="text/css" rel="stylesheet">
|
|
||||||
<link href="../../css/themes.css" type="text/css" rel="stylesheet">
|
|
||||||
<link href="../../css/master.css" type="text/css" rel="stylesheet">
|
|
||||||
<link href="../../css/tl.css" rel="stylesheet" type="text/css">
|
|
||||||
<link href="../../css/userdata.css" rel="stylesheet" type="text/css">
|
|
||||||
<link href="../../node_modules/@fortawesome/fontawesome-free/css/all.min.css" type="text/css" rel="stylesheet">
|
|
||||||
<style>
|
|
||||||
.acct {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-around;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
width: 400px;
|
|
||||||
background-color: #9e9e9e;
|
|
||||||
margin: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body,
|
|
||||||
html {
|
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
#acct-list {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
color: white;
|
|
||||||
align-items: flex-start
|
|
||||||
}
|
|
||||||
|
|
||||||
.lts {
|
|
||||||
font-size: 150%
|
|
||||||
}
|
|
||||||
|
|
||||||
.colorsel {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card .colorsel div:not(.exc) {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card .colorsel div.exc {
|
|
||||||
width: 40px;
|
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.first {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center
|
|
||||||
}
|
|
||||||
|
|
||||||
.first .hide-first {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#compt {
|
|
||||||
margin-top: 20px;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
border: 1px solid;
|
|
||||||
border: 1px solid;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#compt li {
|
|
||||||
list-style-type: disc;
|
|
||||||
margin-left: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<!--
|
|
||||||
<script type="text/javascript">
|
|
||||||
var _jipt = [];
|
|
||||||
_jipt.push(['project', 'thedesk']);
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
|
|
||||||
-->
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body id="mainView">
|
|
||||||
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
|
||||||
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/lang/lang.es-AR.js"></script>
|
|
||||||
<script type="text/javascript" src="../../node_modules/sweetalert2/dist/sweetalert2.all.min.js"></script>
|
|
||||||
<script>
|
|
||||||
var misskeytoken = false;
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="../../js/ui/tips.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/common/time.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/common/modal.js"></script>
|
|
||||||
<div class="hide-first">
|
|
||||||
<a href="index.html" class="btn waves-effect orange nex"
|
|
||||||
style="width:100%; max-width:200px;">Volver</a><br>
|
|
||||||
<h5>Lista de cuentas</h5>
|
|
||||||
<div id="acct-list"></div>
|
|
||||||
<div class="divider"></div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h5>Agregar una cuenta</h5><br>
|
|
||||||
<div id="add">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col s8">
|
|
||||||
<input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp">
|
|
||||||
<div id="ins-suggest"></div>
|
|
||||||
No seleccionar para saltar el pegado de código (iniciá sesión de Mastodon en Windows o macOS) (Recomendado: pcheck)<br>
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" class="filled-in" id="linux" />
|
|
||||||
<span>Configuración de código</span>
|
|
||||||
</label>
|
|
||||||
<br>
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" class="filled-in" id="misskey" />
|
|
||||||
<span>Iniciar sesión con Misskey</span>
|
|
||||||
</label><br>
|
|
||||||
<button class="btn waves-effect" onclick="instance()">Login</button><br>
|
|
||||||
</div>
|
|
||||||
<div class="col s4">
|
|
||||||
<span style="font-family:Open Sans;">Supports</span>
|
|
||||||
<div id="support" class="collection transparent"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="auth" style="display:none">
|
|
||||||
Pegar el código y cerrar el navegador web.<br>
|
|
||||||
<input type="text" id="code" placeholder="Código">
|
|
||||||
<button class="btn waves-effect" onclick="code()">Auth</button><br>
|
|
||||||
<div id="compt" style="display:none">
|
|
||||||
<h5>ログイン前に必ずご確認ください</h5>
|
|
||||||
<span id="compt-instance"></span>はバージョンが<span id="compt-ver"></span>のため以下の機能がご利用いただけません。
|
|
||||||
<span id="compt-warn" style="display:none">また、このインスタンスはMastodonではなくそのAPI上の互換実装であり、TheDeskでは利用を想定していないため非保証となります。</span>
|
|
||||||
<ul id="compt-list"></ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="misskeylogin" style="display:none">
|
|
||||||
<h5>AppSecret</h5>
|
|
||||||
Leé <a href=\"https://docs.thedesk.top/\">la documentación (en japonés)</a> para usar Misskey.<br>
|
|
||||||
<input type="hidden" id="misskey-url">
|
|
||||||
<input type="text" id="misskey-key" placeholder="Código">
|
|
||||||
<button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="hide-first">
|
|
||||||
<h5>Establecer una cuenta</h5>
|
|
||||||
<div class="input-field" style="width:300px"><span data-trans="your_acct">Seleccionar una cuenta</span>
|
|
||||||
<br>
|
|
||||||
<select id="main-acct-sel" class="acct-sel" style="color:black" onchange="mainacct()"></select>
|
|
||||||
<label></label>
|
|
||||||
</div>
|
|
||||||
Some instance data by <a href="https://instances.social" target="_blank">instances.social API</a><br>
|
|
||||||
<h5 id="ins-title"></h5>
|
|
||||||
Administered by:<a id="ins-admin"></a><br>
|
|
||||||
<span id="ins-desc"></span><br>
|
|
||||||
<img src="../../img/loading.svg" id="ins-prof" width="200"><br>
|
|
||||||
<br>
|
|
||||||
Dominio:<span id="ins-name"></span><br>
|
|
||||||
Servidores federados:<span id="ins-connect"></span><br>
|
|
||||||
Toots:<span id="ins-toot"></span><br>
|
|
||||||
Usuarios:<span id="ins-user"></span>Usuarios<br>
|
|
||||||
Conectividad:<span id="ins-per"></span>%<br>
|
|
||||||
Versión de Mastodon:<span id="ins-ver"></span>@<span id="ins-upd"></span><br>
|
|
||||||
</div>
|
|
||||||
<script type="text/javascript" src="../../js/ui/theme.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/platform/end.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/common/sha256.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/login/tkn.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/login/instance.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/login/manager.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/tl/date.js"></script>
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,502 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang="es-AR" style="overflow:scroll">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Settings - TheDesk</title>
|
|
||||||
<!--
|
|
||||||
<script type="text/javascript">
|
|
||||||
var _jipt = [];
|
|
||||||
_jipt.push(['project', 'thedesk']);
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
|
|
||||||
-->
|
|
||||||
<meta content="width=device-width,initial-scale=1.0" name="viewport">
|
|
||||||
<link href="../../node_modules/materialize-css/dist/css/materialize.css" type="text/css" rel="stylesheet">
|
|
||||||
<link href="../../css/themes.css" type="text/css" rel="stylesheet">
|
|
||||||
<link href="../../css/pickr.css" type="text/css" rel="stylesheet">
|
|
||||||
<link href="../../css/master.css" type="text/css" rel="stylesheet">
|
|
||||||
<link href="../../node_modules/@fortawesome/fontawesome-free/css/all.min.css" type="text/css" rel="stylesheet">
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<style>
|
|
||||||
input {
|
|
||||||
max-height: 50px !important
|
|
||||||
}
|
|
||||||
|
|
||||||
.pcr-result {
|
|
||||||
height: 1rem !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body id="mainView" style="overflow-y:scroll">
|
|
||||||
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
|
||||||
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/lang/lang.es-AR.js"></script>
|
|
||||||
<script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script>
|
|
||||||
<script src="../../node_modules/vue/dist/vue.min.js"></script>
|
|
||||||
<script type="text/javascript" src="setting.vue.js"></script>
|
|
||||||
<script type="text/javascript" src="../../node_modules/sweetalert2/dist/sweetalert2.all.min.js"></script>
|
|
||||||
|
|
||||||
<h4>Configuración</h4>
|
|
||||||
<ul class="collapsible" data-collapsible="accordion">
|
|
||||||
<li>
|
|
||||||
<div class="collapsible-header">
|
|
||||||
<i class="material-icons">desktop_windows</i>Configuración del sistema
|
|
||||||
</div>
|
|
||||||
<div class="collapsible-body">
|
|
||||||
<h5>Idiomas</h5>
|
|
||||||
To translate with Crowdin, you have to login Crowdin and restart TheDesk when login is finished.<br>
|
|
||||||
<a onclick="changelang('ja')" class="pointer" style="margin-right:5px;">日本語</a><a onclick="changelang('en')" class="pointer" style="margin-right:5px;">English</a><a onclick="changelang('ps')" class="pointer" style="margin-right:5px;">Crowdin translate system(beta)</a><a onclick="changelang('bg')" class="pointer" style="margin-right:5px;">български</a><a onclick="changelang('cs')" class="pointer" style="margin-right:5px;">Česky</a><a onclick="changelang('de')" class="pointer" style="margin-right:5px;">Deutsch</a><a onclick="changelang('es-AR')" class="pointer" style="margin-right:5px;">Spanish, Argentina</a>
|
|
||||||
<h5>Importación y exportación de la configuración</h5>
|
|
||||||
<button onclick="exportSettings()" class="btn waves-effect lime darken-3"
|
|
||||||
style="width:100%; max-width:200px;">Exportar</button>
|
|
||||||
<button onclick="importSettings()" class="btn waves-effect cyan darken-3"
|
|
||||||
style="width:100%; max-width:200px;">Importar</button>
|
|
||||||
<div id="envView">
|
|
||||||
<template v-for="(item, i) in config">
|
|
||||||
<h5>{{item.text.head}}</h5>
|
|
||||||
<template v-if="item.text.desc">
|
|
||||||
<span v-html="item.text.desc"></span><br>
|
|
||||||
</template>
|
|
||||||
<template v-if="item.id=='notf'"><a onclick="notftest()"
|
|
||||||
class="pointer">Prueba de notificación</a><br></template>
|
|
||||||
<template v-if="item.checkbox">
|
|
||||||
<template v-for="(check, j) in item.text.checkbox">
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" v-on:click="complete(i,check.value)" v-model="item.setValue"
|
|
||||||
type="radio" v-bind:id="item.id+check.value" v-bind:value="check.value" />
|
|
||||||
<span>{{check.text}}</span>
|
|
||||||
</label>
|
|
||||||
</template>
|
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<template v-if="item.doubleText">
|
|
||||||
<template v-for="(textbox, j) in item.data">
|
|
||||||
<input type="text" v-model="textbox.setValue" type="radio" v-bind:id="textbox.id"
|
|
||||||
v-bind:style="{ width: textbox.width+'px'}" />{{textbox.text.after}}
|
|
||||||
</template>
|
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<input type="text" v-model="item.setValue" type="radio" v-bind:id="item.id"
|
|
||||||
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
|
|
||||||
</template>
|
|
||||||
<button class="btn waves-effect" style="width:100px;"
|
|
||||||
v-on:click="complete(i)">Cambiar</button>
|
|
||||||
</template><br>
|
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
<h5>Tipografía</h5>
|
|
||||||
Seleccioná tu tipografía favorita (sólo para Windows y macOS)<br>
|
|
||||||
<button class="btn waves-effect" style="width:100px;" onclick="font()">Seleccionar</button><br>
|
|
||||||
<div id="fonts" class="hide" style="overflow-y:scroll; width:300px; height:500px;"></div>
|
|
||||||
<br>
|
|
||||||
<input type="text" style="width:150px" id="font">
|
|
||||||
<button class="btn waves-effect" style="width:100px;" onclick="settings()">Guardar</button>
|
|
||||||
<br>
|
|
||||||
<h5>Carpeta para guardar</h5>
|
|
||||||
TheDesk usa esta configuración para guardar imágenes en general y capturas de pantallas.<br>
|
|
||||||
<button class="btn waves-effect" style="width:100px;" onclick="savefolder()">Cambiar</button>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<div class="collapsible-header">
|
|
||||||
<i class="material-icons">color_lens</i>Temas
|
|
||||||
</div>
|
|
||||||
<div class="collapsible-body">
|
|
||||||
<h4>Seleccionar tema</h4>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="black" value="black" />
|
|
||||||
<span>Black</span>
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="white" value="white" />
|
|
||||||
<span>White</span>
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="indigo"
|
|
||||||
value="indigo" />
|
|
||||||
<span>Indigo<span class="imas hide">(エンドレスナイト)</span></span>
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="brown" value="brown" />
|
|
||||||
<span>Brown<span class="imas hide">(ビタースイート・タイム)</span></span>
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="green" value="green" />
|
|
||||||
<span>Green<span class="imas hide">(ユースフルロマンス)</span></span>
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="blue" value="blue" />
|
|
||||||
<span>Blue<span class="imas hide">(渚の花嫁)</span></span>
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="custom"
|
|
||||||
value="custom" />
|
|
||||||
<span>custom</span>
|
|
||||||
</label>
|
|
||||||
<div style="width:300px" id="sel-selector">
|
|
||||||
<select id="custom-sel-sel" class="custom-sel" onchange="customSel()"></select>
|
|
||||||
</div>
|
|
||||||
<h4>Editar y agregar temas personalizados</h4>
|
|
||||||
<div style="width:300px" id="edit-selector" data-add="Agregar nuevo">
|
|
||||||
<select id="custom-edit-sel" class="custom-sel" onchange="custom()">
|
|
||||||
<option value="add_new">Agregar nuevo</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<h5>Nombre</h5>
|
|
||||||
<input type="text" style="width:300px" id="custom_name" placeholder="Nombre...">
|
|
||||||
<h5>Acerca de este tema</h5>
|
|
||||||
<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea"
|
|
||||||
placeholder="Acerca de este tema..."></textarea></div>
|
|
||||||
<h5>Esquema de colores</h5>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="settings()" name="direction" type="radio" id="dark" value="dark"
|
|
||||||
checked="true" />
|
|
||||||
<span>Dark</span>
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="settings()" name="direction" type="radio" id="light"
|
|
||||||
value="light" />
|
|
||||||
<span>Light</span>
|
|
||||||
</label>
|
|
||||||
<div id="pickers">
|
|
||||||
<div>
|
|
||||||
<h5>Primary</h5>Fondo de componentes
|
|
||||||
<div id="color-picker0-wrap">
|
|
||||||
<div class="color-picker" id="color-picker0"></div>
|
|
||||||
</div>
|
|
||||||
<input type="hidden" id="color-picker0_value">
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h5>Secondary</h5>Color de fondo
|
|
||||||
<div id="color-picker1-wrap">
|
|
||||||
<div class="color-picker" id="color-picker1"></div>
|
|
||||||
</div>
|
|
||||||
<input type="hidden" id="color-picker1_value">
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h5>Texts</h5>Color del texto
|
|
||||||
<div id="color-picker2-wrap">
|
|
||||||
<div class="color-picker" id="color-picker2"></div>
|
|
||||||
</div>
|
|
||||||
<input type="hidden" id="color-picker2_value">
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h5>Accent</h5>Fondo de retoots
|
|
||||||
<div id="color-picker3-wrap">
|
|
||||||
<div class="color-picker" id="color-picker3"></div>
|
|
||||||
</div>
|
|
||||||
<input type="hidden" id="color-picker3_value">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<button class="btn-large waves-effect" onclick="customComp()">Cambiar</button> <button
|
|
||||||
class="btn waves-effect red disabled" id="delTheme" onclick="deleteIt()">Eliminar</button><br><br>
|
|
||||||
<input type="text" style="width:300px;height:40px;" id="custom_json" class="materialize-textarea"
|
|
||||||
placeholder="JSON style" readonly><br>
|
|
||||||
Compartí este código con otros usuarios de TheDesk. No se comparte este código en MiAS.
|
|
||||||
<h4>Importación de temas personalizados</h4>
|
|
||||||
Obtené más temas en<a href=\"https://assets.msky.cafe/\" target=\"_blank\">MiAS</a><br>
|
|
||||||
<input type="text" style="width:300px;height:40px;" id="custom_import" class="materialize-textarea"
|
|
||||||
placeholder="JSON/JSON5 style">
|
|
||||||
<button class="btn waves-effect" onclick="customImp()">Importar</button><br>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<div class="collapsible-header">
|
|
||||||
<i class="material-icons">reorder</i>Configuración de la línea temporal
|
|
||||||
</div>
|
|
||||||
<div class="collapsible-body">
|
|
||||||
<div id="tlView">
|
|
||||||
<template v-for="(item, i) in config">
|
|
||||||
<h5>{{item.text.head}}</h5>
|
|
||||||
<template v-if="item.text.desc">
|
|
||||||
<span v-html="item.text.desc"></span><br>
|
|
||||||
</template>
|
|
||||||
<template v-if="item.checkbox">
|
|
||||||
<template v-for="(check, j) in item.text.checkbox">
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" v-on:click="complete(i,check.value)" v-model="item.setValue"
|
|
||||||
type="radio" v-bind:id="item.id+check.value" v-bind:value="check.value" />
|
|
||||||
<span>{{check.text}}</span>
|
|
||||||
</label>
|
|
||||||
</template>
|
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<template v-if="item.doubleText">
|
|
||||||
<template v-for="(textbox, j) in item.data">
|
|
||||||
<input type="text" v-model="textbox.setValue" type="radio" v-bind:id="textbox.id"
|
|
||||||
v-bind:style="{ width: textbox.width+'px'}" />{{textbox.text.after}}
|
|
||||||
</template>
|
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<input type="text" v-model="item.setValue" type="radio" v-bind:id="item.id"
|
|
||||||
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
|
|
||||||
</template>
|
|
||||||
<button class="btn waves-effect" style="width:100px;"
|
|
||||||
v-on:click="complete(i)">Cambiar</button>
|
|
||||||
</template><br>
|
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
<h5>Sonido personalizado</h5>
|
|
||||||
<button class="btn waves-effect" style="width:120px;" onclick="customSound(1)">Custom 1</button><span
|
|
||||||
id="c1-file"></span><br>
|
|
||||||
<button class="btn waves-effect" style="width:120px;" onclick="customSound(2)">Custom 2</button><span
|
|
||||||
id="c2-file"></span><br>
|
|
||||||
<button class="btn waves-effect" style="width:120px;" onclick="customSound(3)">Custom 3</button><span
|
|
||||||
id="c3-file"></span><br>
|
|
||||||
<button class="btn waves-effect" style="width:120px;" onclick="customSound(4)">Custom 4</button><span
|
|
||||||
id="c4-file"></span><br>
|
|
||||||
<h5>Volumen</h5>
|
|
||||||
0-100 (predeterminado: 80)<br>
|
|
||||||
<p class="range-field"><span id="soundVolVal">80</span><br>
|
|
||||||
<input type="range" id="soundvol" min="0" max="100" value="80" onchange="customVol()"
|
|
||||||
style="width:500px; max-width:100%" /></p>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<div class="collapsible-header">
|
|
||||||
<i class="material-icons">send</i>Configuración de entradas
|
|
||||||
</div>
|
|
||||||
<div class="collapsible-body">
|
|
||||||
<div id="postView">
|
|
||||||
<template v-for="(item, i) in config">
|
|
||||||
<h5>{{item.text.head}}</h5>
|
|
||||||
<template v-if="item.text.desc">
|
|
||||||
<span v-html="item.text.desc"></span><br>
|
|
||||||
</template>
|
|
||||||
<template v-if="item.checkbox">
|
|
||||||
<template v-for="(check, j) in item.text.checkbox">
|
|
||||||
<template
|
|
||||||
v-if="(!check.kirishima || (check.kirishima && kirishima) )&& (!check.quote || (check.quote && quoters))">
|
|
||||||
<label><input class="with-gap" v-on:click="complete(i,check.value)"
|
|
||||||
v-model="item.setValue" type="radio" v-bind:id="item.id+check.value"
|
|
||||||
v-bind:value="check.value" />
|
|
||||||
<span>{{check.text}}</span></label>
|
|
||||||
<span v-if="check.kirishimaText">{{check.kirishimaText}}</span>
|
|
||||||
</template>
|
|
||||||
</template>
|
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<template v-if="item.doubleText">
|
|
||||||
<template v-for="(textbox, j) in item.data">
|
|
||||||
<input type="text" v-model="textbox.setValue" type="radio" v-bind:id="textbox.id"
|
|
||||||
v-bind:style="{ width: textbox.width+'px'}" />{{textbox.text.after}}
|
|
||||||
</template>
|
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<input type="text" v-model="item.setValue" type="radio" v-bind:id="item.id"
|
|
||||||
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
|
|
||||||
</template>
|
|
||||||
<button class="btn waves-effect" style="width:100px;"
|
|
||||||
v-on:click="complete(i)">Cambiar</button>
|
|
||||||
</template><br>
|
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<div class="collapsible-header">
|
|
||||||
<i class="material-icons">keyboard</i>Configuración de atajos del teclado
|
|
||||||
</div>
|
|
||||||
<div class="collapsible-body">
|
|
||||||
<h5>Inserción fácil</h5>
|
|
||||||
Podés insertar cualquier letra y emoji con sólo 3 teclas<br>
|
|
||||||
Ctrl+Shift+1:<input type="text" style="width:150px" id="oks-1">
|
|
||||||
<button onclick="oks(1)" class="btn waves-effect" style="width:100px;">Guardar</button><br><br>
|
|
||||||
Ctrl+Shift+2:<input type="text" style="width:150px" id="oks-2">
|
|
||||||
<button onclick="oks(2)" class="btn waves-effect" style="width:100px;">Guardar</button><br><br>
|
|
||||||
Ctrl+Shift+3:<input type="text" style="width:150px" id="oks-3">
|
|
||||||
<button onclick="oks(3)" class="btn waves-effect" style="width:100px;">Guardar</button><br><br>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<div class="collapsible-header">
|
|
||||||
<i class="material-icons">bookmark</i>Configuración de silenciado y resaltado
|
|
||||||
</div>
|
|
||||||
<div class="collapsible-body">
|
|
||||||
<h5>Silenciado de usuario</h5>
|
|
||||||
<div id="mute-cli"></div>
|
|
||||||
<h5>Resaltado de usuario</h5>
|
|
||||||
Hacé clic en el nombre de los toots para cambiar entre silenciado y resaltado.
|
|
||||||
<h5>Palabras silenciadas</h5>
|
|
||||||
Establecer con la tecla \"Intro\"<br>
|
|
||||||
<div class="chips" id="wordmute" style="background-color:gray;"></div>
|
|
||||||
<button onclick="wordmuteSave()" class="btn waves-effect" style="width:100px;">Guardar</button>
|
|
||||||
<h5>Resaltado de palabras</h5>
|
|
||||||
Establecer con la tecla \"Intro\"<br>
|
|
||||||
<div class="chips" id="wordemp" style="background-color:gray;"></div>
|
|
||||||
<button onclick="wordempSave()" class="btn waves-effect" style="width:100px;">Guardar</button>
|
|
||||||
<h5>Resaltado de usuario</h5>
|
|
||||||
Establecer según usuario.
|
|
||||||
<span class="emphasized"> Usar este color para resaltar </span>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<div class="collapsible-header">
|
|
||||||
<i class="fab fa-spotify"></i>Configuración de Spotify y \"Ahora suena\"
|
|
||||||
</div>
|
|
||||||
<div class="collapsible-body">
|
|
||||||
<br><br>
|
|
||||||
Hacé clic en el ícono <i class="material-icons" style="font-size:24px;">music_note</i>para mostrar \"Ahora suena\"<br>
|
|
||||||
<h5>Conexión de cuenta</h5>
|
|
||||||
TheDesk guarda tus datos en el servidor thedesk.top.<br>
|
|
||||||
<div id="spotify-code-show" class="hide"><input type="text" id="spotify-code"><button
|
|
||||||
onclick="spotifyAuth()" class="btn waves-effect" style="width:100px;">Guardar</button></div>
|
|
||||||
<a onclick="spotifyConnect()" class="btn waves-effect nex"
|
|
||||||
style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-enable"><i
|
|
||||||
class="fa fa-spotify left"></i>Conectar</a>
|
|
||||||
<a onclick="spotifyDisconnect()" class="btn waves-effect nex disabled"
|
|
||||||
style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-disable"><i
|
|
||||||
class="fa fa-spotify left"></i>Desconectar</a>
|
|
||||||
<h5>@@templateedit@@</h5>
|
|
||||||
@@templateeditwarn@@<br>
|
|
||||||
<textarea id="np-temp" class="materialize-textarea" data-length="500">#NowPlaying {song} / {album} / {artist}
|
|
||||||
{url}</textarea><br>
|
|
||||||
@@template1@@<br>
|
|
||||||
@@template2@@<br>
|
|
||||||
@@template3@@<br>
|
|
||||||
<button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">Guardar</button>
|
|
||||||
<h5>Adjuntar tapa desde Spotify</h5>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes"
|
|
||||||
value="yes" />
|
|
||||||
<span>Sí</span>
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no"
|
|
||||||
value="no" />
|
|
||||||
<span>No</span>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<div class="collapsible-header">
|
|
||||||
<i class="material-icons">hearing</i>Configuración de TTS (texto hablado)
|
|
||||||
</div>
|
|
||||||
<div class="collapsible-body">
|
|
||||||
<h5>Conectar BouyomiChan</h5>
|
|
||||||
Requiere: Plugin WebSocket de BouyomiChan<a href="https://github.com/xztaityozx/BouyomiChan-WebSocket-Plugin" target="_blank">GitHub</a><br>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="voiceSettings()" name="bym" type="radio" id="bym_yes"
|
|
||||||
value="yes" />
|
|
||||||
<span>Sí</span>
|
|
||||||
</label>
|
|
||||||
<label>
|
|
||||||
<input class="with-gap" onchange="voiceSettings()" name="bym" type="radio" id="bym_no"
|
|
||||||
value="no" />
|
|
||||||
<span>No</span>
|
|
||||||
</label>
|
|
||||||
<h5>Velocidad</h5>
|
|
||||||
1-100 (predeterminado:10)<br>
|
|
||||||
<p class="range-field"><span id="voicespeedVal">10</span><br>
|
|
||||||
<input type="range" id="voicespeed" min="1" max="100" value="10"
|
|
||||||
onchange="document.getElementById('voicespeedVal').innerText=this.value"
|
|
||||||
style="width:500px; max-width:100%" /></p>
|
|
||||||
<h5>Tono</h5>
|
|
||||||
0-100 (predeterminado:50)<br>
|
|
||||||
<p class="range-field"><span id="voicepitchVal">50</span><br>
|
|
||||||
<input type="range" id="voicepitch" min="0" max="100" value="50"
|
|
||||||
onchange="document.getElementById('voicepitchVal').innerText=this.value"
|
|
||||||
style="width:500px; max-width:100%" /></p>
|
|
||||||
<h5>Volumen</h5>
|
|
||||||
0-100 (predeterminado:100)<br>
|
|
||||||
<p class="range-field"><span id="voicevolVal">100</span><br>
|
|
||||||
<input type="range" id="voicevol" min="0" max="100" value="100"
|
|
||||||
onchange="document.getElementById('voicevolVal').innerText=this.value"
|
|
||||||
style="width:500px; max-width:100%" /></p>
|
|
||||||
<h5>Prueba</h5>
|
|
||||||
<input type="text" style="width:350px" id="voicetxt" value="TheDesk s un culiente libre de Mastodon pahrah compootadoras.">
|
|
||||||
<button class="btn waves-effect blue" style="width:150px;" onclick="voicePlay()"
|
|
||||||
id="testplay">Reproducir/Detener</button><br>
|
|
||||||
<br>
|
|
||||||
<button class="btn waves-effect" style="width:100px;" onclick="voiceSettings()">Guardar</button>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<br>
|
|
||||||
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;"><i
|
|
||||||
class="material-icons left">undo</i>Volver</a>
|
|
||||||
<br>
|
|
||||||
<br>Atajos del teclado
|
|
||||||
<li>Ctrl+1-9:Saltar a columna (1 a 9)</li>
|
|
||||||
<li>N:Abrir caja de toot</li>
|
|
||||||
<li>X:Activar caja de toot</li>
|
|
||||||
<li>Ctrl+Enter:Enviar entrada</li>
|
|
||||||
<li>Ctrl+Enter+Shift:Enviar entrada (toot secundario)</li>
|
|
||||||
<li>Alt+Enter:Botón de toot secundario</li>
|
|
||||||
<li>Ctrl+E:Marcar todas las notificaciones como leídas</li>
|
|
||||||
<li>Ctrl+U:Seleccionar el toot de la primera columna</li>
|
|
||||||
<li>Esc:Ocultar caja de toot</li>
|
|
||||||
<li>F5:Refresco masivo</li>
|
|
||||||
<li>Ctrl+Shift+C:Limpiar caja de toot</li>
|
|
||||||
<li>Ctrl+Shift+S:Configuración</li>
|
|
||||||
<li>Ctrl+Shift+M:Administrador de cuentas</li>
|
|
||||||
<li>Ctrl+Shift+N:NowPlaying(Spotify)</li>
|
|
||||||
<li>Ctrl+Shift+P:Mostrar perfil de lo seleccionado</li>
|
|
||||||
<li>←/→:Mostrar imagen siguiente o anterior</li>
|
|
||||||
<li>Ruedadelratón:Acercar o alejar una imagen</li>
|
|
||||||
<div class="hide kirishima">
|
|
||||||
以下Markdownに対応したインスタンスのみ。
|
|
||||||
<br>
|
|
||||||
<li>Ctrl+B/I/S/U:太字/斜字/取り消し/下線</li>
|
|
||||||
以下アスタルテにログインしている場合のみ
|
|
||||||
<br>
|
|
||||||
<li>Ctrl+R:
|
|
||||||
<a href="https://astarte.thedesk.top">アスタルテ暇人ランキング</a>を開く
|
|
||||||
</li><br>
|
|
||||||
Al seleccionar un toot:
|
|
||||||
<li>F:Marcar como favorito</li>
|
|
||||||
<li>B:Retootear</li>
|
|
||||||
<li>R:Responder a ese toot</li>
|
|
||||||
</div>
|
|
||||||
<button class="btn waves-effect red" style="width:100%; max-width:500px;"
|
|
||||||
onclick="if(confirm('Eliminar todos los datos. Esto no se puede deshacer. ¿Estás seguro?')){ localStorage.clear(); location.href='index.html'; }"><i
|
|
||||||
class="material-icons left">delete</i>Restablecer (peligro)</button><br><br>
|
|
||||||
<button class="btn waves-effect indigo" onclick="about()" style="width:100%; max-width:500px;"><i
|
|
||||||
class="material-icons left">info</i>Acerca de TheDesk</button>
|
|
||||||
<a href="https://thedesk.top" class="btn waves-effect deep-purple lighten-2" style="width:100%; max-width:500px;"><i
|
|
||||||
class="material-icons left">web</i>Sitio web</a>
|
|
||||||
<a href="https://www.pixiv.net/fanbox/creator/28105985" class="btn waves-effect red lighten-2"
|
|
||||||
style="width:100%; max-width:500px;"><i class="material-icons left">trending_up</i>Contribuciones (Pixiv FANBOX)</a>
|
|
||||||
<a href="https://www.patreon.com/cutls" class="btn waves-effect red darken-2"
|
|
||||||
style="width:100%; max-width:500px;"><i class="material-icons left">trending_up</i>Contribuciones (Patreon)</a>
|
|
||||||
<a href="https://liberapay.com/cutls" class="btn waves-effect black-text"
|
|
||||||
style="width:100%; max-width:500px; background-color: #f6c915"><i
|
|
||||||
class="material-icons left">trending_up</i>Contribuciones (Liberapay)</a>
|
|
||||||
<a href="https://docs.thedesk.top" class="btn waves-effect blue darken-2" style="width:100%; max-width:500px;"><i
|
|
||||||
class="material-icons left">list</i>Ayuda/Docs</a>
|
|
||||||
<a href="https://github.com/cutls/TheDesk" class="btn waves-effect black lighten-2"
|
|
||||||
style="width:100%; max-width:500px;"><i class="fab fa-github left"></i>GitHub</a>
|
|
||||||
<a href="index.html?mode=user&code=Cutls@cutls.com" class="btn waves-effect blue lighten-2"
|
|
||||||
style="width:100%; max-width:500px;"><img src="../../img/desk_full.svg" class="left" width="25"
|
|
||||||
style="padding-top:5px;">Main author: Cutls@cutls.com</a>
|
|
||||||
<br>
|
|
||||||
TheDesk @ <a href="https://github.com/cutls/TheDesk/commits/47c6454c00bec1d79ec0cd2fbd84cc97988f5c2b">47c6454c00bec1d79ec0cd2fbd84cc97988f5c2b</a><br>
|
|
||||||
<br>
|
|
||||||
Kyash<br>
|
|
||||||
<img src="../../img/kyash.png" width="100"><br>
|
|
||||||
<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';"
|
|
||||||
class="pointer">Buscar actualizaciones</a><br>
|
|
||||||
<a href="oss.html">OSS License</a><br>
|
|
||||||
<br>
|
|
||||||
<span style="font-family:Open Sans;">Copyright © TheDesk 2018
|
|
||||||
Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a
|
|
||||||
href="https://thedesk.top/priv.html">Privacy
|
|
||||||
Policy</a>
|
|
||||||
<br>
|
|
||||||
</span><br>
|
|
||||||
TheDeskおよびCutls Pは<a href="https://donken.org/">被災地支援のためのマストドン研究会</a>をログイン機能提供等の形で応援しています。<br>
|
|
||||||
タグタイムラインを開く:<a href="index.html?mode=tag&code=被災地支援のためのマストドン研究会">#被災地支援のためのマストドン研究会</a><br>
|
|
||||||
<script type="text/javascript" src="../../js/common/modal.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/common/about.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/platform/end.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/login/logout.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/ui/spotify.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/tl/speech.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/platform/pickr.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/ui/settings.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/ui/theme.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/tl/date.js"></script>
|
|
|
@ -1,566 +0,0 @@
|
||||||
var yesno = [
|
|
||||||
{
|
|
||||||
text: "Sí",
|
|
||||||
value: "yes"
|
|
||||||
}, {
|
|
||||||
text: "No",
|
|
||||||
value: "no"
|
|
||||||
}
|
|
||||||
];
|
|
||||||
var sound = [
|
|
||||||
{
|
|
||||||
text: "Ninguno",
|
|
||||||
value: "none"
|
|
||||||
}, {
|
|
||||||
text: "Predeterminado",
|
|
||||||
value: "default"
|
|
||||||
}, {
|
|
||||||
text: "Custom 1",
|
|
||||||
value: "c1"
|
|
||||||
}, {
|
|
||||||
text: "Custom 2",
|
|
||||||
value: "c2"
|
|
||||||
}, {
|
|
||||||
text: "Custom 3",
|
|
||||||
value: "c3"
|
|
||||||
}, {
|
|
||||||
text: "Custom 4",
|
|
||||||
value: "c4"
|
|
||||||
}
|
|
||||||
];
|
|
||||||
var envConstruction = [
|
|
||||||
{
|
|
||||||
id: "popup",
|
|
||||||
storage: "popup",
|
|
||||||
checkbox: false,
|
|
||||||
doubleText: false,
|
|
||||||
setValue: 0,
|
|
||||||
width: 50,
|
|
||||||
text: {
|
|
||||||
head: "Ventana emergente de notificaciones (en Windows)",
|
|
||||||
desc: "Establecer \"0\" para ocultar",
|
|
||||||
after: "seg."
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "notf",
|
|
||||||
storage: "nativenotf",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "yes",
|
|
||||||
text: {
|
|
||||||
head: "Notificación nativa",
|
|
||||||
desc: "Esto no funciona en la compilación portátil para Windows.",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "width",
|
|
||||||
storage: "width",
|
|
||||||
checkbox: false,
|
|
||||||
doubleText: false,
|
|
||||||
width: 50,
|
|
||||||
setValue: 300,
|
|
||||||
text: {
|
|
||||||
head: "Ancho mínimo de las columnas",
|
|
||||||
desc: "La barra de desplazamiento se mostrará cuando el tamaño de la ventana sea mayor que el de las columnas.",
|
|
||||||
after: "px por encima"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "fixwidth",
|
|
||||||
storage: "fixwidth",
|
|
||||||
checkbox: false,
|
|
||||||
doubleText: false,
|
|
||||||
setValue: 300,
|
|
||||||
width: 50,
|
|
||||||
text: {
|
|
||||||
head: "Ancho mínimo del explorador de TweetDeck",
|
|
||||||
desc: "",
|
|
||||||
after: "px por encima"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "size",
|
|
||||||
storage: "size",
|
|
||||||
checkbox: false,
|
|
||||||
doubleText: false,
|
|
||||||
width: 50,
|
|
||||||
setValue: 13,
|
|
||||||
text: {
|
|
||||||
head: "Tamaño de tipografía",
|
|
||||||
desc: "<span style=\"font-size:13px\">13px(valor absoluto)</span>",
|
|
||||||
after: "px"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "ha",
|
|
||||||
storage: "ha",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: false,
|
|
||||||
text: {
|
|
||||||
head: "Deshabilitar la aceleración por hardware",
|
|
||||||
desc: "Inicio automático",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Sí",
|
|
||||||
value: "true"
|
|
||||||
}, {
|
|
||||||
text: "No",
|
|
||||||
value: "false"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
];
|
|
||||||
var tlConstruction = [
|
|
||||||
{
|
|
||||||
id: "time",
|
|
||||||
storage: "datetype",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "absolute",
|
|
||||||
text: {
|
|
||||||
head: "Formato del tiempo",
|
|
||||||
desc: "Formato relativo: \"hace 1 minuto\", \"hace 3 días\"<br>Formato absoluto: \"14:30:00\", \"2019/12/31 23:59:59\"<br>Formato mezclado: los toots de hoy son relativos y el resto, absoluto.",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Relativo",
|
|
||||||
value: "relative"
|
|
||||||
}, {
|
|
||||||
text: "Absoluto",
|
|
||||||
value: "absolute"
|
|
||||||
}, {
|
|
||||||
text: "Ambos",
|
|
||||||
value: "double"
|
|
||||||
}, {
|
|
||||||
text: "Mezclados",
|
|
||||||
value: "medium"
|
|
||||||
}
|
|
||||||
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "ul",
|
|
||||||
storage: "locale",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "yes",
|
|
||||||
text: {
|
|
||||||
head: "Localización única del servidor",
|
|
||||||
desc: "Este valor está disponible en algunos servidores japoneses",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "nsfw",
|
|
||||||
storage: "nsfw",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "yes",
|
|
||||||
text: {
|
|
||||||
head: "Ocultar imágenes explícitas",
|
|
||||||
desc: "Efecto difumado",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "cw",
|
|
||||||
storage: "cw",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "yes",
|
|
||||||
text: {
|
|
||||||
head: "Ocultar contenidos con advertencias",
|
|
||||||
desc: "",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "rp",
|
|
||||||
storage: "replyct",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "hidden",
|
|
||||||
text: {
|
|
||||||
head: "Estilo de conteo de respuestas",
|
|
||||||
desc: "",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Mostrar \"1+\" si hay más de 1 respuesta.",
|
|
||||||
value: "hidden"
|
|
||||||
}, {
|
|
||||||
text: "Mostrat el conteo total (1, 2,…)",
|
|
||||||
value: "all"
|
|
||||||
}
|
|
||||||
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "gif",
|
|
||||||
storage: "gif",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "yes",
|
|
||||||
text: {
|
|
||||||
head: "Animación de GIF",
|
|
||||||
desc: "",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "tag",
|
|
||||||
storage: "tag-range",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "local",
|
|
||||||
text: {
|
|
||||||
head: "Búsqueda de línea temporal",
|
|
||||||
desc: "",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Usar red federada",
|
|
||||||
value: "all"
|
|
||||||
}, {
|
|
||||||
text: "Usar red local",
|
|
||||||
value: "local"
|
|
||||||
}
|
|
||||||
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "via",
|
|
||||||
storage: "viashow",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "no",
|
|
||||||
text: {
|
|
||||||
head: "Mostrar nombre del cliente de Mastodon",
|
|
||||||
desc: "",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "mov",
|
|
||||||
storage: "mouseover",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "no",
|
|
||||||
text: {
|
|
||||||
head: "Ocultar los botones de acción sin pasada del ratón",
|
|
||||||
desc: "Podrías sentir que la pasada del ratón es incómoda :(",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Pasar el ratón para mostrar",
|
|
||||||
value: "yes"
|
|
||||||
}, {
|
|
||||||
text: "Hacé clic para mostrar",
|
|
||||||
value: "click"
|
|
||||||
}, {
|
|
||||||
text: "No",
|
|
||||||
value: "no"
|
|
||||||
}
|
|
||||||
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "notfm",
|
|
||||||
storage: "setasread",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "yes",
|
|
||||||
text: {
|
|
||||||
head: "Mostrar marcador de notificaciones, campara roja y contador (en una columna de notificaciones).",
|
|
||||||
desc: "",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
checkbox: false,
|
|
||||||
doubleText: true,
|
|
||||||
data: [
|
|
||||||
{
|
|
||||||
id: "sentence",
|
|
||||||
storage: "sentence",
|
|
||||||
width: 50,
|
|
||||||
setValue: 500,
|
|
||||||
text: { after: "líneas por encima o" }
|
|
||||||
}, {
|
|
||||||
id: "letters",
|
|
||||||
storage: "letters",
|
|
||||||
width: 50,
|
|
||||||
setValue: 7000,
|
|
||||||
text: { after: "letras por encima" }
|
|
||||||
}
|
|
||||||
],
|
|
||||||
text: {
|
|
||||||
head: "Colapsar automáticamente",
|
|
||||||
desc: "TheDesk no colapsa toots de 5 caracteres o menos. Al colapsar, no se muestran las nuevas líneas. TheDesk sólo cuenta las líneas por cantidad.",
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "img-height",
|
|
||||||
storage: "img-height",
|
|
||||||
checkbox: false,
|
|
||||||
doubleText: false,
|
|
||||||
width: 80,
|
|
||||||
setValue: 200,
|
|
||||||
text: {
|
|
||||||
head: "Altura de imagen",
|
|
||||||
desc: "Opcional: establecé \"toda\" para no cortarla.",
|
|
||||||
after: "px"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "ticker",
|
|
||||||
storage: "ticker_ok",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "no",
|
|
||||||
text: {
|
|
||||||
head: "Habilitar #InstanceTicker",
|
|
||||||
desc: "Mostrar stickers coloridos sobre el servidor. <a href=\"https://wee.jp/\">Acerca de #InstanceTicker</a>, derechos de autor 2018 weepjo, kyori19.",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "anime",
|
|
||||||
storage: "animation",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "yes",
|
|
||||||
text: {
|
|
||||||
head: "Animación de líneas temporales",
|
|
||||||
desc: "",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "markers",
|
|
||||||
storage: "markers",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "no",
|
|
||||||
text: {
|
|
||||||
head: "Marcadores (marcar como leído) en línea temporal principal y notificaciones",
|
|
||||||
desc: "Mastodon 3.0~. Compartido en interface web y clientes de terceros soportados.",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "replySound",
|
|
||||||
storage: "replySound",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "none",
|
|
||||||
text: {
|
|
||||||
head: "Sonido (respuesta)",
|
|
||||||
desc: "",
|
|
||||||
checkbox: sound
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "favSound",
|
|
||||||
storage: "favSound",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "none",
|
|
||||||
text: {
|
|
||||||
head: "Sonido (marcado como favorito)",
|
|
||||||
desc: "",
|
|
||||||
checkbox: sound
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "btSound",
|
|
||||||
storage: "btSound",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "none",
|
|
||||||
text: {
|
|
||||||
head: "Sonido (retoot)",
|
|
||||||
desc: "",
|
|
||||||
checkbox: sound
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "followSound",
|
|
||||||
storage: "followSound",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "none",
|
|
||||||
text: {
|
|
||||||
head: "Sonido (nuevo seguidor)",
|
|
||||||
desc: "",
|
|
||||||
checkbox: sound
|
|
||||||
}
|
|
||||||
}
|
|
||||||
];
|
|
||||||
var postConstruction = [
|
|
||||||
{
|
|
||||||
id: "cw-text",
|
|
||||||
storage: "cw-text",
|
|
||||||
checkbox: false,
|
|
||||||
doubleText: false,
|
|
||||||
width: 150,
|
|
||||||
setValue: "",
|
|
||||||
text: {
|
|
||||||
head: "Texto de advertencia predeterminado",
|
|
||||||
desc: "",
|
|
||||||
after: ""
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
checkbox: false,
|
|
||||||
doubleText: true,
|
|
||||||
data: [
|
|
||||||
{
|
|
||||||
id: "cw_sentence",
|
|
||||||
storage: "cw_sentence",
|
|
||||||
width: 50,
|
|
||||||
setValue: 500,
|
|
||||||
text: { after: "líneas por encima o" }
|
|
||||||
}, {
|
|
||||||
id: "cw_letters",
|
|
||||||
storage: "cw_letters",
|
|
||||||
width: 50,
|
|
||||||
setValue: 7000,
|
|
||||||
text: { after: "letras por encima" }
|
|
||||||
}
|
|
||||||
],
|
|
||||||
text: {
|
|
||||||
head: "Alertar antes de enviar un toot largo.",
|
|
||||||
desc: "Mostrar un diálogo si estás escribiendo un texto oculto demasiado largo.",
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "cws",
|
|
||||||
storage: "always-cw",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "no",
|
|
||||||
text: {
|
|
||||||
head: "Siempre establecer advertencia de contenido",
|
|
||||||
desc: "",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "vis",
|
|
||||||
storage: "vis",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "public",
|
|
||||||
text: {
|
|
||||||
head: "Visibilidad predeterminada",
|
|
||||||
desc: "",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Pública",
|
|
||||||
value: "public"
|
|
||||||
}, {
|
|
||||||
text: "No listada",
|
|
||||||
value: "unlisted"
|
|
||||||
}, {
|
|
||||||
text: "Privada",
|
|
||||||
value: "private"
|
|
||||||
}, {
|
|
||||||
text: "Mensaje directo",
|
|
||||||
value: "direct"
|
|
||||||
}, {
|
|
||||||
text: "Memoria (en cada servidor)",
|
|
||||||
value: "memory"
|
|
||||||
}, {
|
|
||||||
text: "Visibilidad predeterminada (se establece en la configuración del servidor de Mastodon)",
|
|
||||||
value: "useapi"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "img",
|
|
||||||
storage: "img",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "no-act",
|
|
||||||
text: {
|
|
||||||
head: "Configuración al enviar imágenes",
|
|
||||||
desc: "",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Dirección web para adjuntar medios",
|
|
||||||
value: "url"
|
|
||||||
}, {
|
|
||||||
text: "No adjuntar nada",
|
|
||||||
value: "no-act"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "box",
|
|
||||||
storage: "box",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "yes",
|
|
||||||
text: {
|
|
||||||
head: "Comportamiento de la caja de entradas",
|
|
||||||
desc: "",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Colapsar",
|
|
||||||
value: "yes"
|
|
||||||
}, {
|
|
||||||
text: "Abrir luego de enviar la entrada",
|
|
||||||
value: "no"
|
|
||||||
}, {
|
|
||||||
text: "Absolutamente abierta",
|
|
||||||
value: "absolute"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "quote",
|
|
||||||
storage: "quote",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "nothing",
|
|
||||||
text: {
|
|
||||||
head: "Formato de cita",
|
|
||||||
desc: "",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Sólo dirección web",
|
|
||||||
value: "simple"
|
|
||||||
}, {
|
|
||||||
text: "Dirección web y cuenta (mención al usuario)",
|
|
||||||
value: "mention"
|
|
||||||
}, {
|
|
||||||
text: "Dirección web, texto y cuenta (mención al usuario)",
|
|
||||||
value: "full"
|
|
||||||
}, {
|
|
||||||
text: "API (sólo algunas instancias)",
|
|
||||||
value: "apiQuote",
|
|
||||||
quote: true
|
|
||||||
}, {
|
|
||||||
text: "Deshabilitado (ocultar botones en las líneas temporales)",
|
|
||||||
value: "nothing"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "main",
|
|
||||||
storage: "mainuse",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "remain",
|
|
||||||
text: {
|
|
||||||
head: "Acciones de cuenta predeterminada",
|
|
||||||
desc: "Se puede establecer la cuenta predeterminada en el Administrador de cuentas.",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Cuenta usada recientemente",
|
|
||||||
value: "remain"
|
|
||||||
}, {
|
|
||||||
text: "Cuenta principal",
|
|
||||||
value: "main"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "sec",
|
|
||||||
storage: "sec",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "public",
|
|
||||||
text: {
|
|
||||||
head: "Botón de toot secundario",
|
|
||||||
desc: "",
|
|
||||||
checkbox: [
|
|
||||||
{
|
|
||||||
text: "Oculto",
|
|
||||||
value: "nothing"
|
|
||||||
}, {
|
|
||||||
text: "Pública",
|
|
||||||
value: "public"
|
|
||||||
}, {
|
|
||||||
text: "No listada",
|
|
||||||
value: "unlisted"
|
|
||||||
}, {
|
|
||||||
text: "Privada",
|
|
||||||
value: "private"
|
|
||||||
}, {
|
|
||||||
text: "Mensaje directo",
|
|
||||||
value: "direct"
|
|
||||||
}, {
|
|
||||||
text: "Sólo local",
|
|
||||||
value: "local",
|
|
||||||
kirishima: true,
|
|
||||||
kirishimaText: "非対応インスタンスでは「未収載」になります。"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
id: "zero",
|
|
||||||
storage: "emoji-zero-width",
|
|
||||||
checkbox: true,
|
|
||||||
setValue: "normal",
|
|
||||||
setValue: "no",
|
|
||||||
text: {
|
|
||||||
head: "No agregar espacio al insertar emojis",
|
|
||||||
desc: "",
|
|
||||||
checkbox: yesno
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,254 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang="es-AR">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title>Update - TheDesk</title>
|
|
||||||
<link href="../../node_modules/materialize-css/dist/css/materialize.css" type="text/css" rel="stylesheet">
|
|
||||||
<link href="../../css/master.css" type="text/css" rel="stylesheet">
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<!--
|
|
||||||
<script type="text/javascript">
|
|
||||||
var _jipt = [];
|
|
||||||
_jipt.push(['project', 'thedesk']);
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
|
|
||||||
-->
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
font-family: 'Open Sans';
|
|
||||||
-webkit-app-region: drag;
|
|
||||||
cursor: move;
|
|
||||||
padding: 10px;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
#start {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
width: 100vw;
|
|
||||||
height: calc(100vh - 2.5rem);
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#checkbox {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
a,
|
|
||||||
button,
|
|
||||||
input,
|
|
||||||
label,
|
|
||||||
i {
|
|
||||||
-webkit-app-region: no-drag;
|
|
||||||
}
|
|
||||||
|
|
||||||
#updskip {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skipbtn {
|
|
||||||
display: block;
|
|
||||||
float: left;
|
|
||||||
width: 200px;
|
|
||||||
height: 200px;
|
|
||||||
border: 1px solid;
|
|
||||||
margin-left: 5px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
border: 1px solid;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.skipbtn:hover {
|
|
||||||
background-color: #b3e5fc;
|
|
||||||
transition: all 0.3s ease-in-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
#prog {
|
|
||||||
font-size: 200%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
|
||||||
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
|
||||||
<i class="material-icons pointer waves-effect" onclick="about();">info</i>
|
|
||||||
<i class="material-icons pointer waves-effect" onclick="skipper();">clear</i>
|
|
||||||
<!--a href="update.html">Reload</a-->
|
|
||||||
<div id="start">
|
|
||||||
<div id="box" class="show">
|
|
||||||
<h2>TheDesk</h2>
|
|
||||||
<p>Obtené la última versión de TheDesk</p>
|
|
||||||
<span id="now"></span>→<b id="ver"></b><br>
|
|
||||||
<span id="det"></span><br>
|
|
||||||
<button class="waves-effect btn windows hide" onclick="update('install')"
|
|
||||||
style="margin-left:15px;">Compilación de instalación</button>
|
|
||||||
<button class="waves-effect btn windows hide" onclick="update('portable')"
|
|
||||||
style="margin-left:15px;">Compilación portátil</button>
|
|
||||||
<button class="waves-effect btn linux hide" onclick="update('linux')"
|
|
||||||
style="margin-left:15px;">Comenzar</button>
|
|
||||||
<button class="waves-effect btn mac hide" onclick="update('mac')"
|
|
||||||
style="margin-left:15px;">Comenzar</button>
|
|
||||||
<br>
|
|
||||||
¿Tenés problemas?<br>Por favor, descargá desde <a href=\"https://thedesk.top/en/\">el sitio web oficial</a>.
|
|
||||||
</div>
|
|
||||||
<div id="skipper" class="hide">
|
|
||||||
<h4>¡Podrías perderte una experiencia copada!</h4>
|
|
||||||
Saltar esta actualización<br>
|
|
||||||
<div id="updskip">
|
|
||||||
<a onclick="window.close();" class="pointer skipbtn waves-effect waves-light">
|
|
||||||
<div>Hasta el próximo refresco de la línea temporal</div>
|
|
||||||
</a>
|
|
||||||
<a onclick="nextv();" class="pointer skipbtn waves-effect waves-light">
|
|
||||||
<div>Hasta la próxima versión</div>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<a class="pointer waves-effect" onclick="skipper();" style="margin-top:5px">Continuar con la actualización</a>
|
|
||||||
</div>
|
|
||||||
<div id="dlnow" class="hide">
|
|
||||||
<h4>Descargando…</h4>
|
|
||||||
<h4 id="prog"></h4>
|
|
||||||
<div class="progress">
|
|
||||||
<div class="determinate" style="width: 0%"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script type="text/javascript" src="../../js/common/about.js"></script>
|
|
||||||
<script type="text/javascript" src="../../js/platform/end.js"></script>
|
|
||||||
<script>
|
|
||||||
function skipper() {
|
|
||||||
$("#dlnow").addClass("hide");
|
|
||||||
$("#box").toggleClass("show");
|
|
||||||
if ($("#box").hasClass("hide") && $("#skipper").hasClass("hide")) {
|
|
||||||
$("#skipper").removeClass("hide");
|
|
||||||
$("#skipper").addClass("show");
|
|
||||||
} else {
|
|
||||||
$("#box").toggleClass("hide");
|
|
||||||
$("#skipper").toggleClass("hide");
|
|
||||||
$("#skipper").toggleClass("show");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
verck();
|
|
||||||
function update(sel) {
|
|
||||||
$("#box").toggleClass("show");
|
|
||||||
$("#box").toggleClass("hide");
|
|
||||||
$("#dlnow").toggleClass("hide");
|
|
||||||
$("#dlnow").toggleClass("show");
|
|
||||||
$("#prog").text("");
|
|
||||||
var bit = localStorage.getItem("bit");
|
|
||||||
var start = "https://thedesk.top/ver.json";
|
|
||||||
fetch(start, {
|
|
||||||
method: 'GET',
|
|
||||||
headers: { 'content-type': 'application/json' },
|
|
||||||
}).then(function (response) {
|
|
||||||
return response.json();
|
|
||||||
}).catch(function (error) {
|
|
||||||
todo(error);
|
|
||||||
console.error(error);
|
|
||||||
}).then(function (json) {
|
|
||||||
if (sel == "install") {
|
|
||||||
if (bit == "x64") {
|
|
||||||
var url = json["winx64"];
|
|
||||||
var file = "TheDesk-setup.exe";
|
|
||||||
} else if (bit == "ia32") {
|
|
||||||
var url = json["winia32"];
|
|
||||||
var file = "TheDesk-setup-ia32.exe";
|
|
||||||
}
|
|
||||||
} else if (sel == "portable") {
|
|
||||||
if (bit == "x64") {
|
|
||||||
var url = json["winx64p"];
|
|
||||||
var file = "TheDesk.exe";
|
|
||||||
} else if (bit == "ia32") {
|
|
||||||
var url = json["winia32p"];
|
|
||||||
var file = "TheDesk-ia32.exe";
|
|
||||||
}
|
|
||||||
} else if (sel == "linux") {
|
|
||||||
if (bit == "x64") {
|
|
||||||
var url = json["linuxx64"];
|
|
||||||
var file = "TheDesk-linux-x64.zip";
|
|
||||||
} else if (bit == "ia32") {
|
|
||||||
var url = json["linuxia64"];
|
|
||||||
var file = "TheDesk-linux-ia32.zip";
|
|
||||||
}
|
|
||||||
} else if (sel == "mac") {
|
|
||||||
var url = json["mac"];
|
|
||||||
postMessage(["openUrl", url], "*")
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
postMessage(["downloadButton", [url, file]], "*")
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
function quit() {
|
|
||||||
postMessage(["sendSinmpleIpc", "quit"], "*")
|
|
||||||
}
|
|
||||||
function updateProg(arg) {
|
|
||||||
console.log(arg);
|
|
||||||
$(".determinate").css("width", arg * 100 + "%");
|
|
||||||
$("#prog").text(Math.floor(arg * 100) + "%");
|
|
||||||
}
|
|
||||||
function updateMess(arg) {
|
|
||||||
console.log(arg);
|
|
||||||
$("#prog").text(arg);
|
|
||||||
}
|
|
||||||
function verck() {
|
|
||||||
var platform = localStorage.getItem("platform");
|
|
||||||
var bit = localStorage.getItem("bit");
|
|
||||||
if (platform == "win32") {
|
|
||||||
$('.windows').removeClass("hide")
|
|
||||||
} else if (platform == "linux") {
|
|
||||||
$('.linux').removeClass("hide")
|
|
||||||
} else if (platform == "darwin") {
|
|
||||||
$('.mac').removeClass("hide")
|
|
||||||
}
|
|
||||||
var start = "https://thedesk.top/ver.json";
|
|
||||||
fetch(start, {
|
|
||||||
method: 'GET',
|
|
||||||
headers: { 'content-type': 'application/json' },
|
|
||||||
}).then(function (response) {
|
|
||||||
return response.json();
|
|
||||||
}).catch(function (error) {
|
|
||||||
todo(error);
|
|
||||||
console.error(error);
|
|
||||||
}).then(function (json) {
|
|
||||||
console.log(json);
|
|
||||||
if (platform == "win32") {
|
|
||||||
$("#ver").text(json.desk);
|
|
||||||
localStorage.setItem("next-ver", json.desk);
|
|
||||||
} else if (platform == "linux") {
|
|
||||||
$("#ver").text(json.desk_linux);
|
|
||||||
localStorage.setItem("next-ver", json.desk_linux);
|
|
||||||
} else if (platform == "darwin") {
|
|
||||||
$("#ver").text(json.desk_mac);
|
|
||||||
localStorage.setItem("next-ver", json.desk_mac);
|
|
||||||
}
|
|
||||||
var lang = "es-AR";
|
|
||||||
if (lang == "ja") {
|
|
||||||
$("#det").html(json.detail);
|
|
||||||
} else {
|
|
||||||
$("#det").html(json.detail_en);
|
|
||||||
}
|
|
||||||
|
|
||||||
$("#now").text(localStorage.getItem("ver"));
|
|
||||||
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function nextv() {
|
|
||||||
localStorage.setItem("new-ver-skip", "true");
|
|
||||||
window.close();
|
|
||||||
}
|
|
||||||
function enc(ver) {
|
|
||||||
var ver = ver.replace(/\s/g, "");
|
|
||||||
var ver = ver.replace(/\(/g, "-");
|
|
||||||
var ver = ver.replace(/\)/g, "");
|
|
||||||
var ver = ver.replace(/\[/g, "_");
|
|
||||||
var ver = ver.replace(/\]/g, "");
|
|
||||||
return ver;
|
|
||||||
}
|
|
||||||
</script>
|
|
|
@ -89,7 +89,7 @@
|
||||||
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
||||||
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
||||||
<script type="text/javascript" src="../../js/lang/lang.@@lang@@.js"></script>
|
<script type="text/javascript" src="main.js"></script>
|
||||||
<script type="text/javascript" src="../../node_modules/sweetalert2/dist/sweetalert2.all.min.js"></script>
|
<script type="text/javascript" src="../../node_modules/sweetalert2/dist/sweetalert2.all.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var misskeytoken = false;
|
var misskeytoken = false;
|
||||||
|
|
|
@ -1128,7 +1128,7 @@
|
||||||
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
||||||
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
||||||
<script type="text/javascript" src="../../js/lang/lang.@@lang@@.js"></script>
|
<script type="text/javascript" src="main.js"></script>
|
||||||
<script type="text/javascript" src="../../js/common/time.js"></script>
|
<script type="text/javascript" src="../../js/common/time.js"></script>
|
||||||
<script type="text/javascript" src="../../js/common/blurhash.js"></script>
|
<script type="text/javascript" src="../../js/common/blurhash.js"></script>
|
||||||
<script type="text/javascript" src="../../js/common/version.js"></script>
|
<script type="text/javascript" src="../../js/common/version.js"></script>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
var lang={
|
{
|
||||||
"language": "en",
|
"language": "en",
|
||||||
"lang_toot": "Раздумай",
|
"lang_toot": "Раздумай",
|
||||||
"lang_there": "Да",
|
"lang_there": "Да",
|
|
@ -1,4 +1,4 @@
|
||||||
var lang={
|
{
|
||||||
"language": "cs",
|
"language": "cs",
|
||||||
"lang_toot": "Toot",
|
"lang_toot": "Toot",
|
||||||
"lang_there": "Ano",
|
"lang_there": "Ano",
|
|
@ -1,4 +1,4 @@
|
||||||
var lang={
|
{
|
||||||
"language": "en",
|
"language": "en",
|
||||||
"lang_toot": "Tröt",
|
"lang_toot": "Tröt",
|
||||||
"lang_there": "Ja",
|
"lang_there": "Ja",
|
|
@ -1,5 +1,4 @@
|
||||||
//commonError
|
{
|
||||||
var lang = {
|
|
||||||
"language": "en",
|
"language": "en",
|
||||||
"lang_toot": "Toot",
|
"lang_toot": "Toot",
|
||||||
"lang_there": "Yes",
|
"lang_there": "Yes",
|
||||||
|
@ -12,13 +11,11 @@ var lang = {
|
||||||
"lang_add": "Add",
|
"lang_add": "Add",
|
||||||
"lang_fatalerroroccured": "Some errors are occured, please restart TheDesk.",
|
"lang_fatalerroroccured": "Some errors are occured, please restart TheDesk.",
|
||||||
"lang_speech": "Google US English",
|
"lang_speech": "Google US English",
|
||||||
//language.html
|
|
||||||
"lang_lang": "Language",
|
"lang_lang": "Language",
|
||||||
"lang_langlocale": "English",
|
"lang_langlocale": "English",
|
||||||
"lang_back": "Back",
|
"lang_back": "Back",
|
||||||
"lang_set": "Set",
|
"lang_set": "Set",
|
||||||
"lang_langadd": "Translate TheDesk to other languages or proofread TheDesk on <a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\">GitHub</a>. TheDesk needs your help.",
|
"lang_langadd": "Translate TheDesk to other languages or proofread TheDesk on <a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\">GitHub</a>. TheDesk needs your help.",
|
||||||
//common/time.js
|
|
||||||
"lang_time_prefixAgo": null,
|
"lang_time_prefixAgo": null,
|
||||||
"lang_time_prefixFromNow": null,
|
"lang_time_prefixFromNow": null,
|
||||||
"lang_time_suffixAgo": null,
|
"lang_time_suffixAgo": null,
|
||||||
|
@ -35,16 +32,12 @@ var lang = {
|
||||||
"lang_time_months": "%d months",
|
"lang_time_months": "%d months",
|
||||||
"lang_time_year": "y",
|
"lang_time_year": "y",
|
||||||
"lang_time_years": "%d y",
|
"lang_time_years": "%d y",
|
||||||
//common/version.js
|
|
||||||
"lang_version_usever": "No update is found({{ver}})",
|
"lang_version_usever": "No update is found({{ver}})",
|
||||||
"lang_version_skipver": "Update was ignored.",
|
"lang_version_skipver": "Update was ignored.",
|
||||||
"lang_version_platform": "Do you want auto-updates?(users installed on Microsoft Store select 'No')",
|
"lang_version_platform": "Do you want auto-updates?(users installed on Microsoft Store select 'No')",
|
||||||
"lang_version_platform_linux": "Do you want auto-updates?(users installed on Snapcraft select 'No')",
|
"lang_version_platform_linux": "Do you want auto-updates?(users installed on Snapcraft select 'No')",
|
||||||
"lang_version_platform_mac": "Do you want auto-updates?(Homebrew Cask users select 'No')",
|
"lang_version_platform_mac": "Do you want auto-updates?(Homebrew Cask users select 'No')",
|
||||||
//login
|
|
||||||
//login/login.js
|
|
||||||
"lang_login_noauth": "Show TL of unlogined accounts",
|
"lang_login_noauth": "Show TL of unlogined accounts",
|
||||||
//login/manager.js
|
|
||||||
"lang_manager_info": "About this instance",
|
"lang_manager_info": "About this instance",
|
||||||
"lang_manager_refresh": "Refresh",
|
"lang_manager_refresh": "Refresh",
|
||||||
"lang_manager_delete": "Logout",
|
"lang_manager_delete": "Logout",
|
||||||
|
@ -55,19 +48,15 @@ var lang = {
|
||||||
"lang_manager_none": "None",
|
"lang_manager_none": "None",
|
||||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||||
"lang_manager_logout": "Logout",
|
"lang_manager_logout": "Logout",
|
||||||
//post/bb-md.js
|
|
||||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||||
//post/emoji.js
|
|
||||||
"lang_emoji_get": "Get emojis",
|
"lang_emoji_get": "Get emojis",
|
||||||
"lang_emoji_custom": "Custom emojis",
|
"lang_emoji_custom": "Custom emojis",
|
||||||
"lang_defaultemojis_text": "Emojis about {{cat}}",
|
"lang_defaultemojis_text": "Emojis about {{cat}}",
|
||||||
"lang_emoji_uncat": "Uncategorized",
|
"lang_emoji_uncat": "Uncategorized",
|
||||||
//post/img.js
|
|
||||||
"lang_postimg_previewdis": "cannot preview",
|
"lang_postimg_previewdis": "cannot preview",
|
||||||
"lang_postimg_aftupload": "You cannot change accounts after uploading.",
|
"lang_postimg_aftupload": "You cannot change accounts after uploading.",
|
||||||
"lang_postimg_failupload": "Failed",
|
"lang_postimg_failupload": "Failed",
|
||||||
"lang_postimg_delete": "Delete this image.",
|
"lang_postimg_delete": "Delete this image.",
|
||||||
//post/post.js
|
|
||||||
"lang_post_tagTL": "This toot does not contain a default tag. This toot will not be shown on Local TL. Continue?",
|
"lang_post_tagTL": "This toot does not contain a default tag. This toot will not be shown on Local TL. Continue?",
|
||||||
"lang_post_tagVis": "This toot(not 'public' toot) is not shown on this tag's TL.",
|
"lang_post_tagVis": "This toot(not 'public' toot) is not shown on this tag's TL.",
|
||||||
"lang_post_cwtitle": "Auto CW Alert",
|
"lang_post_cwtitle": "Auto CW Alert",
|
||||||
|
@ -75,7 +64,6 @@ var lang = {
|
||||||
"lang_post_btn1": "Cancel (will not post)",
|
"lang_post_btn1": "Cancel (will not post)",
|
||||||
"lang_post_btn2": "Make text hidden automatically",
|
"lang_post_btn2": "Make text hidden automatically",
|
||||||
"lang_post_btn3": "Continue to post",
|
"lang_post_btn3": "Continue to post",
|
||||||
//post/status.js
|
|
||||||
"lang_status_favWarn": "It will take a miunte to favourite a remote toot.",
|
"lang_status_favWarn": "It will take a miunte to favourite a remote toot.",
|
||||||
"lang_status_btWarn": "It will take a miunte to boost a remote toot.",
|
"lang_status_btWarn": "It will take a miunte to boost a remote toot.",
|
||||||
"lang_status_follow": "Follow",
|
"lang_status_follow": "Follow",
|
||||||
|
@ -92,23 +80,17 @@ var lang = {
|
||||||
"lang_status_endorse": "Feature on profile",
|
"lang_status_endorse": "Feature on profile",
|
||||||
"lang_status_followers": "Followers",
|
"lang_status_followers": "Followers",
|
||||||
"lang_status_active": "Last status",
|
"lang_status_active": "Last status",
|
||||||
//post/suggest.js
|
|
||||||
"lang_suggest_nodata": "Please get emojis list in order to show suggestion.",
|
"lang_suggest_nodata": "Please get emojis list in order to show suggestion.",
|
||||||
//post/use-txtbox.js
|
|
||||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||||
//tl/card.js
|
|
||||||
"lang_cards_check": " check",
|
"lang_cards_check": " check",
|
||||||
"lang_cards_pip": "PiP mode",
|
"lang_cards_pip": "PiP mode",
|
||||||
//tl/details.js
|
|
||||||
"lang_details_nodata": "No data",
|
"lang_details_nodata": "No data",
|
||||||
"lang_details_filtered": "Filtered toot",
|
"lang_details_filtered": "Filtered toot",
|
||||||
"lang_details_embed": "Embed HTML is cliped.",
|
"lang_details_embed": "Embed HTML is cliped.",
|
||||||
"lang_details_url": "URL of this toot is cliped.",
|
"lang_details_url": "URL of this toot is cliped.",
|
||||||
"lang_details_txt": "Content of this toot is cliped.",
|
"lang_details_txt": "Content of this toot is cliped.",
|
||||||
//tl/filter.js
|
|
||||||
"lang_filter_nodata": "No data",
|
"lang_filter_nodata": "No data",
|
||||||
"lang_filter_errordegree": "Please check a context",
|
"lang_filter_errordegree": "Please check a context",
|
||||||
//tl/list.js
|
|
||||||
"lang_list_nodata": "No data",
|
"lang_list_nodata": "No data",
|
||||||
"lang_list_show": "Show",
|
"lang_list_show": "Show",
|
||||||
"lang_list_users": "Users list",
|
"lang_list_users": "Users list",
|
||||||
|
@ -116,27 +98,20 @@ var lang = {
|
||||||
"lang_list_add": "Add to the list",
|
"lang_list_add": "Add to the list",
|
||||||
"lang_list_add_misskey": "(perhaps this user has been listed)",
|
"lang_list_add_misskey": "(perhaps this user has been listed)",
|
||||||
"lang_list_remove": "Remove from the list",
|
"lang_list_remove": "Remove from the list",
|
||||||
//tl/notification.js
|
|
||||||
"lang_notf_new": " new notifications",
|
"lang_notf_new": " new notifications",
|
||||||
//tl/speech.js
|
|
||||||
"lang_speech_refresh": "Save value about TTS config",
|
"lang_speech_refresh": "Save value about TTS config",
|
||||||
//tl/src.js
|
|
||||||
"lang_src_ts": "chronological order",
|
"lang_src_ts": "chronological order",
|
||||||
"lang_src_people": " people toot",
|
"lang_src_people": " people toot",
|
||||||
//tl/tag.js
|
|
||||||
"lang_tags_always": "Always toots with ",
|
"lang_tags_always": "Always toots with ",
|
||||||
"lang_tags_realtime": "Tag-stream toot",
|
"lang_tags_realtime": "Tag-stream toot",
|
||||||
"lang_tags_tagunpin": "Unpin {{tag}}",
|
"lang_tags_tagunpin": "Unpin {{tag}}",
|
||||||
"lang_tags_unrealtime": "Disable TsT",
|
"lang_tags_unrealtime": "Disable TsT",
|
||||||
"lang_tags_tagwarn": "Auto complete {{tag}}, if toot without {{tag}}",
|
"lang_tags_tagwarn": "Auto complete {{tag}}, if toot without {{tag}}",
|
||||||
//tl/tl.js
|
|
||||||
"lang_tl_media": "Media",
|
"lang_tl_media": "Media",
|
||||||
"lang_tl_reconnect": "Reconnect to streaming API",
|
"lang_tl_reconnect": "Reconnect to streaming API",
|
||||||
"lang_tl_postmarkers_title": "Process...",
|
"lang_tl_postmarkers_title": "Process...",
|
||||||
"lang_tl_postmarkers": "POST markers data. Please wait",
|
"lang_tl_postmarkers": "POST markers data. Please wait",
|
||||||
//ui/img.js
|
|
||||||
"lang_img_DLDone": "Downloaded:",
|
"lang_img_DLDone": "Downloaded:",
|
||||||
//ui/layout.js
|
|
||||||
"lang_layout_gotop": "Go top of this column. When icon is red, this column cannot connect straming API. Please reload.",
|
"lang_layout_gotop": "Go top of this column. When icon is red, this column cannot connect straming API. Please reload.",
|
||||||
"lang_layout_thisacct": "{{notf}} of this account",
|
"lang_layout_thisacct": "{{notf}} of this account",
|
||||||
"lang_layout_delthis": "Remove this column",
|
"lang_layout_delthis": "Remove this column",
|
||||||
|
@ -157,22 +132,18 @@ var lang = {
|
||||||
"lang_layout_deleteColumn": "Delete this column",
|
"lang_layout_deleteColumn": "Delete this column",
|
||||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||||
"lang_layout_unread": "Unread",
|
"lang_layout_unread": "Unread",
|
||||||
//ui/sort.js
|
|
||||||
"lang_sort_gothis": "Go to this column",
|
"lang_sort_gothis": "Go to this column",
|
||||||
"lang_sort_remthis": "Delete this column",
|
"lang_sort_remthis": "Delete this column",
|
||||||
//ui/spotify.js
|
|
||||||
"lang_spotify_img": "Attach an album artwork",
|
"lang_spotify_img": "Attach an album artwork",
|
||||||
"lang_spotify_imgno": "Not attach an album artwork",
|
"lang_spotify_imgno": "Not attach an album artwork",
|
||||||
"lang_spotify_acct": "Connect TheDesk to Spotify",
|
"lang_spotify_acct": "Connect TheDesk to Spotify",
|
||||||
"lang_spotify_np": "Done:templete of NowPlaying",
|
"lang_spotify_np": "Done:templete of NowPlaying",
|
||||||
"lang_setting_npprovide": "NowPlaying provider:{{set}}",
|
"lang_setting_npprovide": "NowPlaying provider:{{set}}",
|
||||||
//userdata/his-data.js
|
|
||||||
"lang_hisdata_frcreq": "Required Mastodon 2.4.3 and above",
|
"lang_hisdata_frcreq": "Required Mastodon 2.4.3 and above",
|
||||||
"lang_hisdata_frcwarn": "Unfollow accounts will be shown.",
|
"lang_hisdata_frcwarn": "Unfollow accounts will be shown.",
|
||||||
"lang_hisdata_taketime": "It will take 30s ~ several minutes",
|
"lang_hisdata_taketime": "It will take 30s ~ several minutes",
|
||||||
"lang_hisdata_notonmisskey": "Misskey is unable to request.",
|
"lang_hisdata_notonmisskey": "Misskey is unable to request.",
|
||||||
"lang_hisdata_key": "This user is proofed by {{set}}",
|
"lang_hisdata_key": "This user is proofed by {{set}}",
|
||||||
//userdata/showOnTL.js
|
|
||||||
"lang_showontl_movetxt": "This account was moved",
|
"lang_showontl_movetxt": "This account was moved",
|
||||||
"lang_showontl_movebtn": "Continue on the new account",
|
"lang_showontl_movebtn": "Continue on the new account",
|
||||||
"lang_showontl_botacct": "[bot]",
|
"lang_showontl_botacct": "[bot]",
|
||||||
|
@ -181,7 +152,6 @@ var lang = {
|
||||||
"lang_showontl_domain": "Domain ",
|
"lang_showontl_domain": "Domain ",
|
||||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||||
"lang_showontl_verified": "This website is verified by owner at ",
|
"lang_showontl_verified": "This website is verified by owner at ",
|
||||||
//parse
|
|
||||||
"lang_parse_mentioned": " replied to you",
|
"lang_parse_mentioned": " replied to you",
|
||||||
"lang_parse_faved": " favourited your toot",
|
"lang_parse_faved": " favourited your toot",
|
||||||
"lang_parse_bted": " boosted your toot",
|
"lang_parse_bted": " boosted your toot",
|
||||||
|
@ -226,7 +196,6 @@ var lang = {
|
||||||
"lang_parse_unknown": "Attached file",
|
"lang_parse_unknown": "Attached file",
|
||||||
"lang_parse_nsfw": "sensitive media",
|
"lang_parse_nsfw": "sensitive media",
|
||||||
"lang_parse_notffilter": "Show this user's notifications",
|
"lang_parse_notffilter": "Show this user's notifications",
|
||||||
//misskey
|
|
||||||
"lang_misskeyparse_renote": "Repost",
|
"lang_misskeyparse_renote": "Repost",
|
||||||
"lang_misskeyparse_renoteqt": "Renote",
|
"lang_misskeyparse_renoteqt": "Renote",
|
||||||
"lang_misskeyparse_reaction": "Reaction",
|
"lang_misskeyparse_reaction": "Reaction",
|
||||||
|
@ -239,7 +208,6 @@ var lang = {
|
||||||
"lang_misskeyparse_renoted": " renoted your following post.",
|
"lang_misskeyparse_renoted": " renoted your following post.",
|
||||||
"lang_misskeyparse_quoted": " quoted your following post.",
|
"lang_misskeyparse_quoted": " quoted your following post.",
|
||||||
"lang_misskeyparse_reacted": " reacted your following post.",
|
"lang_misskeyparse_reacted": " reacted your following post.",
|
||||||
//setting
|
|
||||||
"lang_setting_time": "Time format:{{set}}",
|
"lang_setting_time": "Time format:{{set}}",
|
||||||
"lang_setting_theme": "Theme:{{set}}",
|
"lang_setting_theme": "Theme:{{set}}",
|
||||||
"lang_setting_nsfw": "Sensitive media:{{set}}",
|
"lang_setting_nsfw": "Sensitive media:{{set}}",
|
||||||
|
@ -279,5 +247,5 @@ var lang = {
|
||||||
"lang_setting_notftest": " Notification test ",
|
"lang_setting_notftest": " Notification test ",
|
||||||
"lang_setting_notftestprof": "Your icon is shown.",
|
"lang_setting_notftestprof": "Your icon is shown.",
|
||||||
"lang_setting_exportwarn": "Only important data will be exported. You must keep this data secure.",
|
"lang_setting_exportwarn": "Only important data will be exported. You must keep this data secure.",
|
||||||
"lang_setting_importwarn": "All data will be deleted.",
|
"lang_setting_importwarn": "All data will be deleted."
|
||||||
}
|
}
|
|
@ -1,5 +1,4 @@
|
||||||
//commonError
|
{
|
||||||
var lang = {
|
|
||||||
"language": "ja",
|
"language": "ja",
|
||||||
"lang_toot": "トゥート",
|
"lang_toot": "トゥート",
|
||||||
"lang_there": "あり",
|
"lang_there": "あり",
|
||||||
|
@ -12,18 +11,16 @@ var lang = {
|
||||||
"lang_add": "追加",
|
"lang_add": "追加",
|
||||||
"lang_fatalerroroccured": "エラーが発生しました。しばらく待ってから再起動してください。",
|
"lang_fatalerroroccured": "エラーが発生しました。しばらく待ってから再起動してください。",
|
||||||
"lang_speech": "Google 日本語",
|
"lang_speech": "Google 日本語",
|
||||||
//language.html
|
|
||||||
"lang_lang": "言語",
|
"lang_lang": "言語",
|
||||||
"lang_langlocale": "日本語",
|
"lang_langlocale": "日本語",
|
||||||
"lang_back": "戻る",
|
"lang_back": "戻る",
|
||||||
"lang_set": "設定",
|
"lang_set": "設定",
|
||||||
"lang_langadd": "<a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\">GitHub</a>から翻訳に参加できます。英語の校正(緊急)や他言語に翻訳していただける方を募集しております。",
|
"lang_langadd": "<a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\">GitHub</a>から翻訳に参加できます。英語の校正(緊急)や他言語に翻訳していただける方を募集しております。",
|
||||||
//common/time.js
|
|
||||||
"lang_time_prefixAgo": null,
|
"lang_time_prefixAgo": null,
|
||||||
"lang_time_prefixFromNow": "今から",
|
"lang_time_prefixFromNow": "今から",
|
||||||
"lang_time_suffixAgo": "",
|
"lang_time_suffixAgo": "",
|
||||||
"lang_time_suffixFromNow": "",
|
"lang_time_suffixFromNow": "",
|
||||||
"lang_time_inPast": '',
|
"lang_time_inPast": "",
|
||||||
"lang_time_seconds": "%d秒前",
|
"lang_time_seconds": "%d秒前",
|
||||||
"lang_time_minute": "1分前",
|
"lang_time_minute": "1分前",
|
||||||
"lang_time_minutes": "%d分前",
|
"lang_time_minutes": "%d分前",
|
||||||
|
@ -35,16 +32,12 @@ var lang = {
|
||||||
"lang_time_months": "%dヶ月前",
|
"lang_time_months": "%dヶ月前",
|
||||||
"lang_time_year": "去年",
|
"lang_time_year": "去年",
|
||||||
"lang_time_years": "%d年前",
|
"lang_time_years": "%d年前",
|
||||||
//common/version.js
|
|
||||||
"lang_version_usever": "お使いのバージョン{{ver}}は最新です。",
|
"lang_version_usever": "お使いのバージョン{{ver}}は最新です。",
|
||||||
"lang_version_skipver": "アップデートはスキップされました。",
|
"lang_version_skipver": "アップデートはスキップされました。",
|
||||||
"lang_version_platform": "このソフトウェアはMicrosoft Storeからダウンロードされましたか?通常はホームページからインストールするため「いいえ」を選んでください。「はい」を選ぶとMicrosoft Storeからアップデートが提供され、アップデートの通知を出しません。",
|
"lang_version_platform": "このソフトウェアはMicrosoft Storeからダウンロードされましたか?通常はホームページからインストールするため「いいえ」を選んでください。「はい」を選ぶとMicrosoft Storeからアップデートが提供され、アップデートの通知を出しません。",
|
||||||
"lang_version_platform_linux": "このソフトウェアはSnapcraft(snapd)からインストールしましたか?通常はホームページからインストールするため「いいえ」を選んでください。「はい」を選ぶとSnapcraftからアップデートが提供され、アップデートの通知を出しません。",
|
"lang_version_platform_linux": "このソフトウェアはSnapcraft(snapd)からインストールしましたか?通常はホームページからインストールするため「いいえ」を選んでください。「はい」を選ぶとSnapcraftからアップデートが提供され、アップデートの通知を出しません。",
|
||||||
"lang_version_platform_mac": "このソフトウェアはHomebrew Caskからインストールしましたか?通常はホームページからインストールするため「いいえ」を選んでください。「はい」を選ぶとアップデートの通知を出しません。",
|
"lang_version_platform_mac": "このソフトウェアはHomebrew Caskからインストールしましたか?通常はホームページからインストールするため「いいえ」を選んでください。「はい」を選ぶとアップデートの通知を出しません。",
|
||||||
//login
|
|
||||||
//login/login.js
|
|
||||||
"lang_login_noauth": "認証せずに見る",
|
"lang_login_noauth": "認証せずに見る",
|
||||||
//login/manager.js
|
|
||||||
"lang_manager_info": "インスタンス情報",
|
"lang_manager_info": "インスタンス情報",
|
||||||
"lang_manager_refresh": "情報更新",
|
"lang_manager_refresh": "情報更新",
|
||||||
"lang_manager_delete": "削除",
|
"lang_manager_delete": "削除",
|
||||||
|
@ -55,19 +48,15 @@ var lang = {
|
||||||
"lang_manager_none": "なし",
|
"lang_manager_none": "なし",
|
||||||
"lang_manager_godev": "MisskeyのDevセンターに移動します。同時に開かれるドキュメントを参考にログインしてください。",
|
"lang_manager_godev": "MisskeyのDevセンターに移動します。同時に開かれるドキュメントを参考にログインしてください。",
|
||||||
"lang_manager_logout": "ログアウト",
|
"lang_manager_logout": "ログアウト",
|
||||||
//post/bb-md.js
|
|
||||||
"lang_bbmd_misskey": "TheDeskにおけるMisskeyでは、@を返信として扱いますが、全ての@は消去され別パラメータに入力されます。また、「未収載」を「ホーム」として扱います。",
|
"lang_bbmd_misskey": "TheDeskにおけるMisskeyでは、@を返信として扱いますが、全ての@は消去され別パラメータに入力されます。また、「未収載」を「ホーム」として扱います。",
|
||||||
//post/emoji.js
|
|
||||||
"lang_emoji_get": "絵文字リストを取得",
|
"lang_emoji_get": "絵文字リストを取得",
|
||||||
"lang_emoji_custom": "カスタム絵文字",
|
"lang_emoji_custom": "カスタム絵文字",
|
||||||
"lang_defaultemojis_text": "{{cat}}の絵文字",
|
"lang_defaultemojis_text": "{{cat}}の絵文字",
|
||||||
"lang_emoji_uncat": "未分類",
|
"lang_emoji_uncat": "未分類",
|
||||||
//post/img.js
|
|
||||||
"lang_postimg_previewdis": "プレビューできません。",
|
"lang_postimg_previewdis": "プレビューできません。",
|
||||||
"lang_postimg_aftupload": "アップロード後はアカウントを切り替えられません。",
|
"lang_postimg_aftupload": "アップロード後はアカウントを切り替えられません。",
|
||||||
"lang_postimg_failupload": "アップロードに失敗しました。",
|
"lang_postimg_failupload": "アップロードに失敗しました。",
|
||||||
"lang_postimg_delete": "この画像を削除します",
|
"lang_postimg_delete": "この画像を削除します",
|
||||||
//post/post.js
|
|
||||||
"lang_post_tagTL": "デフォルトタグが挿入されていません。このまま投稿するとローカルには表示されません。",
|
"lang_post_tagTL": "デフォルトタグが挿入されていません。このまま投稿するとローカルには表示されません。",
|
||||||
"lang_post_tagVis": "公開範囲が「公開」以外だと、タグTLに表示されません。(一部インスタンスを除く)",
|
"lang_post_tagVis": "公開範囲が「公開」以外だと、タグTLに表示されません。(一部インスタンスを除く)",
|
||||||
"lang_post_cwtitle": "長文投稿の警告",
|
"lang_post_cwtitle": "長文投稿の警告",
|
||||||
|
@ -75,7 +64,6 @@ var lang = {
|
||||||
"lang_post_btn1": "キャンセル(投稿しない)",
|
"lang_post_btn1": "キャンセル(投稿しない)",
|
||||||
"lang_post_btn2": "自動でCWを付ける",
|
"lang_post_btn2": "自動でCWを付ける",
|
||||||
"lang_post_btn3": "そのまま投稿",
|
"lang_post_btn3": "そのまま投稿",
|
||||||
//post/status.js
|
|
||||||
"lang_status_favWarn": "お気に入り登録しました。インスタンスが違うときは時間がかかる場合があります。",
|
"lang_status_favWarn": "お気に入り登録しました。インスタンスが違うときは時間がかかる場合があります。",
|
||||||
"lang_status_btWarn": "ブーストしました。インスタンスが違うときは時間がかかる場合があります。",
|
"lang_status_btWarn": "ブーストしました。インスタンスが違うときは時間がかかる場合があります。",
|
||||||
"lang_status_follow": "フォロー",
|
"lang_status_follow": "フォロー",
|
||||||
|
@ -92,23 +80,17 @@ var lang = {
|
||||||
"lang_status_endorse": "プロフで紹介する",
|
"lang_status_endorse": "プロフで紹介する",
|
||||||
"lang_status_followers": "フォロワー",
|
"lang_status_followers": "フォロワー",
|
||||||
"lang_status_active": "最新トゥート",
|
"lang_status_active": "最新トゥート",
|
||||||
//post/suggest.js
|
|
||||||
"lang_suggest_nodata": "サジェストのために絵文字リストを取得してください。",
|
"lang_suggest_nodata": "サジェストのために絵文字リストを取得してください。",
|
||||||
//post/use-txtbox.js
|
|
||||||
"lang_usetxtbox_reply": "返信モードです。クリアするときはCtrl+Shift+Cを押してください。",
|
"lang_usetxtbox_reply": "返信モードです。クリアするときはCtrl+Shift+Cを押してください。",
|
||||||
//tl/card.js
|
|
||||||
"lang_cards_check": "チェック",
|
"lang_cards_check": "チェック",
|
||||||
"lang_cards_pip": "ながら観モード",
|
"lang_cards_pip": "ながら観モード",
|
||||||
//tl/details.js
|
|
||||||
"lang_details_nodata": "データなし",
|
"lang_details_nodata": "データなし",
|
||||||
"lang_details_filtered": "フィルターされました。",
|
"lang_details_filtered": "フィルターされました。",
|
||||||
"lang_details_embed": "埋め込みHTMLがコピーされました。",
|
"lang_details_embed": "埋め込みHTMLがコピーされました。",
|
||||||
"lang_details_url": "トゥートURLがコピーされました。",
|
"lang_details_url": "トゥートURLがコピーされました。",
|
||||||
"lang_details_txt": "トゥート本文がコピーされました。",
|
"lang_details_txt": "トゥート本文がコピーされました。",
|
||||||
//tl/filter.js
|
|
||||||
"lang_filter_nodata": "フィルターはありません",
|
"lang_filter_nodata": "フィルターはありません",
|
||||||
"lang_filter_errordegree": "適応範囲を最低一つ以上チェックしてください。",
|
"lang_filter_errordegree": "適応範囲を最低一つ以上チェックしてください。",
|
||||||
//tl/list.js
|
|
||||||
"lang_list_nodata": "リストはありません",
|
"lang_list_nodata": "リストはありません",
|
||||||
"lang_list_show": "表示",
|
"lang_list_show": "表示",
|
||||||
"lang_list_users": "ユーザー一覧",
|
"lang_list_users": "ユーザー一覧",
|
||||||
|
@ -116,27 +98,20 @@ var lang = {
|
||||||
"lang_list_add": "リストに追加",
|
"lang_list_add": "リストに追加",
|
||||||
"lang_list_add_misskey": "(重複追加の可能性があります)",
|
"lang_list_add_misskey": "(重複追加の可能性があります)",
|
||||||
"lang_list_remove": "リストから削除",
|
"lang_list_remove": "リストから削除",
|
||||||
//tl/notification.js
|
|
||||||
"lang_notf_new": "件の新しい通知",
|
"lang_notf_new": "件の新しい通知",
|
||||||
//tl/speech.js
|
|
||||||
"lang_speech_refresh": "音声読み上げ設定を更新しました。",
|
"lang_speech_refresh": "音声読み上げ設定を更新しました。",
|
||||||
//tl/src.js
|
|
||||||
"lang_src_ts": "時系列",
|
"lang_src_ts": "時系列",
|
||||||
"lang_src_people": "人がトゥート",
|
"lang_src_people": "人がトゥート",
|
||||||
//tl/tag.js
|
|
||||||
"lang_tags_always": "常に",
|
"lang_tags_always": "常に",
|
||||||
"lang_tags_realtime": "実況",
|
"lang_tags_realtime": "実況",
|
||||||
"lang_tags_tagunpin": "{{tag}}をよく使うタグから削除",
|
"lang_tags_tagunpin": "{{tag}}をよく使うタグから削除",
|
||||||
"lang_tags_unrealtime": "実況解除",
|
"lang_tags_unrealtime": "実況解除",
|
||||||
"lang_tags_tagwarn": "{{tag}}がない場合自動で補完されます。",
|
"lang_tags_tagwarn": "{{tag}}がない場合自動で補完されます。",
|
||||||
//tl/tl.js
|
|
||||||
"lang_tl_media": "メディア",
|
"lang_tl_media": "メディア",
|
||||||
"lang_tl_reconnect": "Streamingに再接続しました",
|
"lang_tl_reconnect": "Streamingに再接続しました",
|
||||||
"lang_tl_postmarkers_title": "処理中",
|
"lang_tl_postmarkers_title": "処理中",
|
||||||
"lang_tl_postmarkers": "未読マーカーを送信しています。3秒以内に閉じられます。",
|
"lang_tl_postmarkers": "未読マーカーを送信しています。3秒以内に閉じられます。",
|
||||||
//ui/img.js
|
|
||||||
"lang_img_DLDone": "ダウンロード先:",
|
"lang_img_DLDone": "ダウンロード先:",
|
||||||
//ui/layout.js
|
|
||||||
"lang_layout_gotop": "一番上へ。アイコンが赤のときはストリーミングに接続できていません。F5等で再読込をお試し下さい。",
|
"lang_layout_gotop": "一番上へ。アイコンが赤のときはストリーミングに接続できていません。F5等で再読込をお試し下さい。",
|
||||||
"lang_layout_thisacct": "このアカウントの{{notf}}",
|
"lang_layout_thisacct": "このアカウントの{{notf}}",
|
||||||
"lang_layout_delthis": "このカラムを削除",
|
"lang_layout_delthis": "このカラムを削除",
|
||||||
|
@ -157,22 +132,18 @@ var lang = {
|
||||||
"lang_layout_deleteColumn": "カラム削除",
|
"lang_layout_deleteColumn": "カラム削除",
|
||||||
"lang_layout_deleteColumnDesc": "カラムを削除しますか?",
|
"lang_layout_deleteColumnDesc": "カラムを削除しますか?",
|
||||||
"lang_layout_unread": "未読",
|
"lang_layout_unread": "未読",
|
||||||
//ui/sort.js
|
|
||||||
"lang_sort_gothis": "このカラムへ",
|
"lang_sort_gothis": "このカラムへ",
|
||||||
"lang_sort_remthis": "このカラムを削除",
|
"lang_sort_remthis": "このカラムを削除",
|
||||||
//ui/spotify.js
|
|
||||||
"lang_spotify_img": "アルバムアートワークを添付します。",
|
"lang_spotify_img": "アルバムアートワークを添付します。",
|
||||||
"lang_spotify_imgno": "アルバムアートワークを添付しません。",
|
"lang_spotify_imgno": "アルバムアートワークを添付しません。",
|
||||||
"lang_spotify_acct": "アカウント連携をしてください。",
|
"lang_spotify_acct": "アカウント連携をしてください。",
|
||||||
"lang_spotify_np": "NowPlaying文書を更新しました。",
|
"lang_spotify_np": "NowPlaying文書を更新しました。",
|
||||||
"lang_setting_npprovide": "NowPlayingのソースを{{set}}に設定しました。",
|
"lang_setting_npprovide": "NowPlayingのソースを{{set}}に設定しました。",
|
||||||
//userdata/his-data.js
|
|
||||||
"lang_hisdata_frcreq": "Mastodon 2.4.3~が必要です",
|
"lang_hisdata_frcreq": "Mastodon 2.4.3~が必要です",
|
||||||
"lang_hisdata_frcwarn": "非フォローだけど絡みがある時に表示されます。",
|
"lang_hisdata_frcwarn": "非フォローだけど絡みがある時に表示されます。",
|
||||||
"lang_hisdata_taketime": "30秒から数分かかります",
|
"lang_hisdata_taketime": "30秒から数分かかります",
|
||||||
"lang_hisdata_notonmisskey": "このシステムはMisskeyにはありません。",
|
"lang_hisdata_notonmisskey": "このシステムはMisskeyにはありません。",
|
||||||
"lang_hisdata_key": "このユーザーの信頼性は{{set}}によって示されています",
|
"lang_hisdata_key": "このユーザーの信頼性は{{set}}によって示されています",
|
||||||
//userdata/showOnTL.js
|
|
||||||
"lang_showontl_movetxt": "このアカウントは移行しています",
|
"lang_showontl_movetxt": "このアカウントは移行しています",
|
||||||
"lang_showontl_movebtn": "移行先を見る",
|
"lang_showontl_movebtn": "移行先を見る",
|
||||||
"lang_showontl_botacct": "botアカウント",
|
"lang_showontl_botacct": "botアカウント",
|
||||||
|
@ -181,7 +152,6 @@ var lang = {
|
||||||
"lang_showontl_domain": "ドメイン",
|
"lang_showontl_domain": "ドメイン",
|
||||||
"lang_showontl_listwarn": "リストに追加するためにはフォローが必要です。",
|
"lang_showontl_listwarn": "リストに追加するためにはフォローが必要です。",
|
||||||
"lang_showontl_verified": "このユーザーの所持するWebサイトであると証明されています。",
|
"lang_showontl_verified": "このユーザーの所持するWebサイトであると証明されています。",
|
||||||
//parse
|
|
||||||
"lang_parse_mentioned": "が返信しました",
|
"lang_parse_mentioned": "が返信しました",
|
||||||
"lang_parse_faved": "がお気に入り登録しました",
|
"lang_parse_faved": "がお気に入り登録しました",
|
||||||
"lang_parse_bted": "がブーストしました",
|
"lang_parse_bted": "がブーストしました",
|
||||||
|
@ -226,7 +196,6 @@ var lang = {
|
||||||
"lang_parse_unknown": "添付ファイル",
|
"lang_parse_unknown": "添付ファイル",
|
||||||
"lang_parse_nsfw": "閲覧注意",
|
"lang_parse_nsfw": "閲覧注意",
|
||||||
"lang_parse_notffilter": "このユーザーの通知のみを表示",
|
"lang_parse_notffilter": "このユーザーの通知のみを表示",
|
||||||
//misskey
|
|
||||||
"lang_misskeyparse_renote": "再投稿",
|
"lang_misskeyparse_renote": "再投稿",
|
||||||
"lang_misskeyparse_renoteqt": "引用",
|
"lang_misskeyparse_renoteqt": "引用",
|
||||||
"lang_misskeyparse_reaction": "リアクション",
|
"lang_misskeyparse_reaction": "リアクション",
|
||||||
|
@ -239,7 +208,6 @@ var lang = {
|
||||||
"lang_misskeyparse_renoted": "がRepost",
|
"lang_misskeyparse_renoted": "がRepost",
|
||||||
"lang_misskeyparse_quoted": "が引用",
|
"lang_misskeyparse_quoted": "が引用",
|
||||||
"lang_misskeyparse_reacted": "がリアクション",
|
"lang_misskeyparse_reacted": "がリアクション",
|
||||||
//setting
|
|
||||||
"lang_setting_time": "時間設定を{{set}}に設定しました。",
|
"lang_setting_time": "時間設定を{{set}}に設定しました。",
|
||||||
"lang_setting_theme": "テーマ設定を{{set}}に設定しました。",
|
"lang_setting_theme": "テーマ設定を{{set}}に設定しました。",
|
||||||
"lang_setting_nsfw": "画像表示設定を{{set}}に設定しました。",
|
"lang_setting_nsfw": "画像表示設定を{{set}}に設定しました。",
|
|
@ -1,4 +1,4 @@
|
||||||
var lang = {
|
{
|
||||||
"language": "crwdns1960:0crwdne1960:0",
|
"language": "crwdns1960:0crwdne1960:0",
|
||||||
"lang_toot": "crwdns1962:0crwdne1962:0",
|
"lang_toot": "crwdns1962:0crwdne1962:0",
|
||||||
"lang_there": "crwdns1964:0crwdne1964:0",
|
"lang_there": "crwdns1964:0crwdne1964:0",
|
||||||
|
@ -16,8 +16,27 @@ var lang = {
|
||||||
"lang_back": "crwdns1988:0crwdne1988:0",
|
"lang_back": "crwdns1988:0crwdne1988:0",
|
||||||
"lang_set": "crwdns1990:0crwdne1990:0",
|
"lang_set": "crwdns1990:0crwdne1990:0",
|
||||||
"lang_langadd": "crwdns2364:0crwdne2364:0",
|
"lang_langadd": "crwdns2364:0crwdne2364:0",
|
||||||
|
"lang_time_prefixAgo": null,
|
||||||
|
"lang_time_prefixFromNow": null,
|
||||||
|
"lang_time_suffixAgo": null,
|
||||||
|
"lang_time_suffixFromNow": null,
|
||||||
|
"lang_time_inPast": null,
|
||||||
|
"lang_time_seconds": "crwdns2948:0%dcrwdne2948:0",
|
||||||
|
"lang_time_minute": "crwdns2950:0crwdne2950:0",
|
||||||
|
"lang_time_minutes": "crwdns2952:0%dcrwdne2952:0",
|
||||||
|
"lang_time_hour": "crwdns2954:0crwdne2954:0",
|
||||||
|
"lang_time_hours": "crwdns2956:0%dcrwdne2956:0",
|
||||||
|
"lang_time_day": "crwdns2958:0crwdne2958:0",
|
||||||
|
"lang_time_days": "crwdns2960:0%dcrwdne2960:0",
|
||||||
|
"lang_time_month": "crwdns2962:0crwdne2962:0",
|
||||||
|
"lang_time_months": "crwdns2964:0%dcrwdne2964:0",
|
||||||
|
"lang_time_year": "crwdns2966:0crwdne2966:0",
|
||||||
|
"lang_time_years": "crwdns2968:0%dcrwdne2968:0",
|
||||||
"lang_version_usever": "crwdns1994:0{{ver}}crwdne1994:0",
|
"lang_version_usever": "crwdns1994:0{{ver}}crwdne1994:0",
|
||||||
"lang_version_skipver": "crwdns1996:0crwdne1996:0",
|
"lang_version_skipver": "crwdns1996:0crwdne1996:0",
|
||||||
|
"lang_version_platform": "crwdns2562:0crwdne2562:0",
|
||||||
|
"lang_version_platform_linux": "crwdns2564:0crwdne2564:0",
|
||||||
|
"lang_version_platform_mac": "crwdns2566:0crwdne2566:0",
|
||||||
"lang_login_noauth": "crwdns1998:0crwdne1998:0",
|
"lang_login_noauth": "crwdns1998:0crwdne1998:0",
|
||||||
"lang_manager_info": "crwdns2000:0crwdne2000:0",
|
"lang_manager_info": "crwdns2000:0crwdne2000:0",
|
||||||
"lang_manager_refresh": "crwdns2002:0crwdne2002:0",
|
"lang_manager_refresh": "crwdns2002:0crwdne2002:0",
|
||||||
|
@ -28,12 +47,15 @@ var lang = {
|
||||||
"lang_manager_def": "crwdns2012:0crwdne2012:0",
|
"lang_manager_def": "crwdns2012:0crwdne2012:0",
|
||||||
"lang_manager_none": "crwdns2014:0crwdne2014:0",
|
"lang_manager_none": "crwdns2014:0crwdne2014:0",
|
||||||
"lang_manager_godev": "crwdns2016:0crwdne2016:0",
|
"lang_manager_godev": "crwdns2016:0crwdne2016:0",
|
||||||
|
"lang_manager_logout": "crwdns2568:0crwdne2568:0",
|
||||||
"lang_bbmd_misskey": "crwdns2018:0crwdne2018:0",
|
"lang_bbmd_misskey": "crwdns2018:0crwdne2018:0",
|
||||||
"lang_emoji_get": "crwdns2020:0crwdne2020:0",
|
"lang_emoji_get": "crwdns2020:0crwdne2020:0",
|
||||||
"lang_emoji_custom": "crwdns2022:0crwdne2022:0",
|
"lang_emoji_custom": "crwdns2022:0crwdne2022:0",
|
||||||
"lang_defaultemojis_text": "crwdns2388:0{{cat}}crwdne2388:0",
|
"lang_defaultemojis_text": "crwdns2388:0{{cat}}crwdne2388:0",
|
||||||
"lang_postimg_previewdis": "crwdns2024:0crwdne2024:0",
|
"lang_postimg_previewdis": "crwdns2024:0crwdne2024:0",
|
||||||
"lang_postimg_aftupload": "crwdns2026:0crwdne2026:0",
|
"lang_postimg_aftupload": "crwdns2026:0crwdne2026:0",
|
||||||
|
"lang_postimg_failupload": "crwdns2594:0crwdne2594:0",
|
||||||
|
"lang_postimg_delete": "crwdns2528:0crwdne2528:0",
|
||||||
"lang_post_tagTL": "crwdns2028:0crwdne2028:0",
|
"lang_post_tagTL": "crwdns2028:0crwdne2028:0",
|
||||||
"lang_post_tagVis": "crwdns2030:0crwdne2030:0",
|
"lang_post_tagVis": "crwdns2030:0crwdne2030:0",
|
||||||
"lang_post_cwtitle": "crwdns2032:0crwdne2032:0",
|
"lang_post_cwtitle": "crwdns2032:0crwdne2032:0",
|
||||||
|
@ -49,11 +71,14 @@ var lang = {
|
||||||
"lang_status_unblock": "crwdns2052:0crwdne2052:0",
|
"lang_status_unblock": "crwdns2052:0crwdne2052:0",
|
||||||
"lang_status_mute": "crwdns2054:0crwdne2054:0",
|
"lang_status_mute": "crwdns2054:0crwdne2054:0",
|
||||||
"lang_status_unmute": "crwdns2056:0crwdne2056:0",
|
"lang_status_unmute": "crwdns2056:0crwdne2056:0",
|
||||||
|
"lang_status_redraftTitle": "crwdns2570:0crwdne2570:0",
|
||||||
"lang_status_redraft": "crwdns2058:0crwdne2058:0",
|
"lang_status_redraft": "crwdns2058:0crwdne2058:0",
|
||||||
"lang_status_emphas": "crwdns2060:0crwdne2060:0",
|
"lang_status_emphas": "crwdns2060:0crwdne2060:0",
|
||||||
"lang_status_unemphas": "crwdns2062:0crwdne2062:0",
|
"lang_status_unemphas": "crwdns2062:0crwdne2062:0",
|
||||||
"lang_status_unendorse": "crwdns2064:0crwdne2064:0",
|
"lang_status_unendorse": "crwdns2064:0crwdne2064:0",
|
||||||
"lang_status_endorse": "crwdns2066:0crwdne2066:0",
|
"lang_status_endorse": "crwdns2066:0crwdne2066:0",
|
||||||
|
"lang_status_followers": "crwdns2970:0crwdne2970:0",
|
||||||
|
"lang_status_active": "crwdns2972:0crwdne2972:0",
|
||||||
"lang_suggest_nodata": "crwdns2068:0crwdne2068:0",
|
"lang_suggest_nodata": "crwdns2068:0crwdne2068:0",
|
||||||
"lang_usetxtbox_reply": "crwdns2070:0crwdne2070:0",
|
"lang_usetxtbox_reply": "crwdns2070:0crwdne2070:0",
|
||||||
"lang_cards_check": "crwdns2072:0crwdne2072:0",
|
"lang_cards_check": "crwdns2072:0crwdne2072:0",
|
||||||
|
@ -70,6 +95,7 @@ var lang = {
|
||||||
"lang_list_users": "crwdns2094:0crwdne2094:0",
|
"lang_list_users": "crwdns2094:0crwdne2094:0",
|
||||||
"lang_list_nouser": "crwdns2096:0crwdne2096:0",
|
"lang_list_nouser": "crwdns2096:0crwdne2096:0",
|
||||||
"lang_list_add": "crwdns2098:0crwdne2098:0",
|
"lang_list_add": "crwdns2098:0crwdne2098:0",
|
||||||
|
"lang_list_add_misskey": "crwdns2530:0crwdne2530:0",
|
||||||
"lang_list_remove": "crwdns2100:0crwdne2100:0",
|
"lang_list_remove": "crwdns2100:0crwdne2100:0",
|
||||||
"lang_notf_new": "crwdns2102:0crwdne2102:0",
|
"lang_notf_new": "crwdns2102:0crwdne2102:0",
|
||||||
"lang_speech_refresh": "crwdns2348:0crwdne2348:0",
|
"lang_speech_refresh": "crwdns2348:0crwdne2348:0",
|
||||||
|
@ -78,9 +104,13 @@ var lang = {
|
||||||
"lang_tags_always": "crwdns2110:0crwdne2110:0",
|
"lang_tags_always": "crwdns2110:0crwdne2110:0",
|
||||||
"lang_tags_realtime": "crwdns2112:0crwdne2112:0",
|
"lang_tags_realtime": "crwdns2112:0crwdne2112:0",
|
||||||
"lang_tags_tagunpin": "crwdns2114:0{{tag}}crwdne2114:0",
|
"lang_tags_tagunpin": "crwdns2114:0{{tag}}crwdne2114:0",
|
||||||
"lang_tags_tagwarn": "crwdns2116:0{{tag}}crwdne2116:0",
|
"lang_tags_unrealtime": "crwdns2532:0crwdne2532:0",
|
||||||
|
"lang_tags_tagwarn": "crwdns2534:0{{tag}}crwdnd2534:0{{tag}}crwdne2534:0",
|
||||||
"lang_tl_media": "crwdns2118:0crwdne2118:0",
|
"lang_tl_media": "crwdns2118:0crwdne2118:0",
|
||||||
"lang_tl_reconnect": "crwdns2120:0crwdne2120:0",
|
"lang_tl_reconnect": "crwdns2120:0crwdne2120:0",
|
||||||
|
"lang_tl_postmarkers_title": "crwdns2974:0crwdne2974:0",
|
||||||
|
"lang_tl_postmarkers": "crwdns2976:0crwdne2976:0",
|
||||||
|
"lang_img_DLDone": "crwdns2572:0crwdne2572:0",
|
||||||
"lang_layout_gotop": "crwdns2122:0crwdne2122:0",
|
"lang_layout_gotop": "crwdns2122:0crwdne2122:0",
|
||||||
"lang_layout_thisacct": "crwdns2124:0{{notf}}crwdne2124:0",
|
"lang_layout_thisacct": "crwdns2124:0{{notf}}crwdne2124:0",
|
||||||
"lang_layout_delthis": "crwdns2126:0crwdne2126:0",
|
"lang_layout_delthis": "crwdns2126:0crwdne2126:0",
|
||||||
|
@ -89,13 +119,20 @@ var lang = {
|
||||||
"lang_layout_linkana": "crwdns2132:0crwdne2132:0",
|
"lang_layout_linkana": "crwdns2132:0crwdne2132:0",
|
||||||
"lang_layout_linkanades": "crwdns2134:0crwdne2134:0",
|
"lang_layout_linkanades": "crwdns2134:0crwdne2134:0",
|
||||||
"lang_layout_tts": "crwdns2136:0crwdne2136:0",
|
"lang_layout_tts": "crwdns2136:0crwdne2136:0",
|
||||||
"lang_layout_reconnect": "crwdns2138:0crwdne2138:0",
|
"lang_layout_reconnect": "crwdns2596:0crwdne2596:0",
|
||||||
"lang_layout_headercolor": "crwdns2140:0crwdne2140:0",
|
"lang_layout_headercolor": "crwdns2140:0crwdne2140:0",
|
||||||
"lang_layout_nodata": "crwdns2142:0crwdne2142:0",
|
"lang_layout_nodata": "crwdns2142:0crwdne2142:0",
|
||||||
"lang_layout_dm": "crwdns2144:0crwdne2144:0",
|
"lang_layout_dm": "crwdns2144:0crwdne2144:0",
|
||||||
"lang_layout_webviewmode": "crwdns2146:0crwdne2146:0",
|
"lang_layout_webviewmode": "crwdns2146:0crwdne2146:0",
|
||||||
"lang_excluded": "crwdns2368:0crwdne2368:0",
|
"lang_excluded": "crwdns2368:0crwdne2368:0",
|
||||||
"lang_layout_excludingbt": "crwdns2390:0crwdne2390:0",
|
"lang_layout_excludingbt": "crwdns2390:0crwdne2390:0",
|
||||||
|
"lang_layout_leftFold": "crwdns2536:0crwdne2536:0",
|
||||||
|
"lang_layout_leftUnfold": "crwdns2538:0crwdne2538:0",
|
||||||
|
"lang_layout_deleteColumn": "crwdns2574:0crwdne2574:0",
|
||||||
|
"lang_layout_deleteColumnDesc": "crwdns2576:0crwdne2576:0",
|
||||||
|
"lang_layout_unread": "crwdns2978:0crwdne2978:0",
|
||||||
|
"lang_sort_gothis": "crwdns2540:0crwdne2540:0",
|
||||||
|
"lang_sort_remthis": "crwdns2542:0crwdne2542:0",
|
||||||
"lang_spotify_img": "crwdns2148:0crwdne2148:0",
|
"lang_spotify_img": "crwdns2148:0crwdne2148:0",
|
||||||
"lang_spotify_imgno": "crwdns2150:0crwdne2150:0",
|
"lang_spotify_imgno": "crwdns2150:0crwdne2150:0",
|
||||||
"lang_spotify_acct": "crwdns2152:0crwdne2152:0",
|
"lang_spotify_acct": "crwdns2152:0crwdne2152:0",
|
||||||
|
@ -105,6 +142,7 @@ var lang = {
|
||||||
"lang_hisdata_frcwarn": "crwdns2158:0crwdne2158:0",
|
"lang_hisdata_frcwarn": "crwdns2158:0crwdne2158:0",
|
||||||
"lang_hisdata_taketime": "crwdns2160:0crwdne2160:0",
|
"lang_hisdata_taketime": "crwdns2160:0crwdne2160:0",
|
||||||
"lang_hisdata_notonmisskey": "crwdns2162:0crwdne2162:0",
|
"lang_hisdata_notonmisskey": "crwdns2162:0crwdne2162:0",
|
||||||
|
"lang_hisdata_key": "crwdns2544:0{{set}}crwdne2544:0",
|
||||||
"lang_showontl_movetxt": "crwdns2164:0crwdne2164:0",
|
"lang_showontl_movetxt": "crwdns2164:0crwdne2164:0",
|
||||||
"lang_showontl_movebtn": "crwdns2166:0crwdne2166:0",
|
"lang_showontl_movebtn": "crwdns2166:0crwdne2166:0",
|
||||||
"lang_showontl_botacct": "crwdns2168:0[bot]crwdne2168:0",
|
"lang_showontl_botacct": "crwdns2168:0[bot]crwdne2168:0",
|
||||||
|
@ -112,10 +150,12 @@ var lang = {
|
||||||
"lang_showontl_notf": "crwdns2172:0crwdne2172:0",
|
"lang_showontl_notf": "crwdns2172:0crwdne2172:0",
|
||||||
"lang_showontl_domain": "crwdns2174:0crwdne2174:0",
|
"lang_showontl_domain": "crwdns2174:0crwdne2174:0",
|
||||||
"lang_showontl_listwarn": "crwdns2176:0crwdne2176:0",
|
"lang_showontl_listwarn": "crwdns2176:0crwdne2176:0",
|
||||||
|
"lang_showontl_verified": "crwdns2546:0crwdne2546:0",
|
||||||
"lang_parse_mentioned": "crwdns2178:0crwdne2178:0",
|
"lang_parse_mentioned": "crwdns2178:0crwdne2178:0",
|
||||||
"lang_parse_faved": "crwdns2180:0crwdne2180:0",
|
"lang_parse_faved": "crwdns2180:0crwdne2180:0",
|
||||||
"lang_parse_bted": "crwdns2182:0crwdne2182:0",
|
"lang_parse_bted": "crwdns2182:0crwdne2182:0",
|
||||||
"lang_parse_btedsimple": "crwdns2184:0crwdne2184:0",
|
"lang_parse_btedsimple": "crwdns2184:0crwdne2184:0",
|
||||||
|
"lang_parse_polled": "crwdns2548:0crwdne2548:0",
|
||||||
"lang_parse_notftime": "crwdns2186:0crwdne2186:0",
|
"lang_parse_notftime": "crwdns2186:0crwdne2186:0",
|
||||||
"lang_parse_cwshow": "crwdns2188:0crwdne2188:0",
|
"lang_parse_cwshow": "crwdns2188:0crwdne2188:0",
|
||||||
"lang_parse_fulltext": "crwdns2190:0crwdne2190:0",
|
"lang_parse_fulltext": "crwdns2190:0crwdne2190:0",
|
||||||
|
@ -148,9 +188,13 @@ var lang = {
|
||||||
"lang_parse_clientmute": "crwdns2244:0crwdne2244:0",
|
"lang_parse_clientmute": "crwdns2244:0crwdne2244:0",
|
||||||
"lang_parse_mute": "crwdns2246:0crwdne2246:0",
|
"lang_parse_mute": "crwdns2246:0crwdne2246:0",
|
||||||
"lang_parse_voted": "crwdns2392:0crwdne2392:0",
|
"lang_parse_voted": "crwdns2392:0crwdne2392:0",
|
||||||
"lang_parse_vote": "crwdns2394:0crwdne2394:0",
|
"lang_parse_vote": "crwdns2550:0crwdne2550:0",
|
||||||
"lang_parse_unvoted": "crwdns2396:0crwdne2396:0",
|
"lang_parse_unvoted": "crwdns2396:0crwdne2396:0",
|
||||||
"lang_parse_endedvote": "crwdns2398:0crwdne2398:0",
|
"lang_parse_endedvote": "crwdns2398:0crwdne2398:0",
|
||||||
|
"lang_parse_thread": "crwdns2552:0crwdne2552:0",
|
||||||
|
"lang_parse_unknown": "crwdns2578:0crwdne2578:0",
|
||||||
|
"lang_parse_nsfw": "crwdns2980:0crwdne2980:0",
|
||||||
|
"lang_parse_notffilter": "crwdns2582:0crwdne2582:0",
|
||||||
"lang_misskeyparse_renote": "crwdns2248:0crwdne2248:0",
|
"lang_misskeyparse_renote": "crwdns2248:0crwdne2248:0",
|
||||||
"lang_misskeyparse_renoteqt": "crwdns2250:0crwdne2250:0",
|
"lang_misskeyparse_renoteqt": "crwdns2250:0crwdne2250:0",
|
||||||
"lang_misskeyparse_reaction": "crwdns2252:0crwdne2252:0",
|
"lang_misskeyparse_reaction": "crwdns2252:0crwdne2252:0",
|
||||||
|
@ -165,7 +209,7 @@ var lang = {
|
||||||
"lang_misskeyparse_reacted": "crwdns2372:0crwdne2372:0",
|
"lang_misskeyparse_reacted": "crwdns2372:0crwdne2372:0",
|
||||||
"lang_setting_time": "crwdns2272:0{{set}}crwdne2272:0",
|
"lang_setting_time": "crwdns2272:0{{set}}crwdne2272:0",
|
||||||
"lang_setting_theme": "crwdns2274:0{{set}}crwdne2274:0",
|
"lang_setting_theme": "crwdns2274:0{{set}}crwdne2274:0",
|
||||||
"lang_setting_nsfw": "crwdns2276:0{{set}}crwdne2276:0",
|
"lang_setting_nsfw": "crwdns2982:0{{set}}crwdne2982:0",
|
||||||
"lang_setting_cw": "crwdns2278:0{{set}}crwdne2278:0",
|
"lang_setting_cw": "crwdns2278:0{{set}}crwdne2278:0",
|
||||||
"lang_setting_cwtext": "crwdns2280:0{{set}}crwdne2280:0",
|
"lang_setting_cwtext": "crwdns2280:0{{set}}crwdne2280:0",
|
||||||
"lang_setting_cws": "crwdns2282:0{{set}}crwdne2282:0",
|
"lang_setting_cws": "crwdns2282:0{{set}}crwdne2282:0",
|
|
@ -23,6 +23,7 @@ for (let n = 0; n < langs.length; n++) {
|
||||||
fs.mkdirSync(targetDir);
|
fs.mkdirSync(targetDir);
|
||||||
}
|
}
|
||||||
langstr = langstr + '<a onclick="changelang(\'' + lang + '\')" class="pointer" style="margin-right:5px;">' + langsh[n] + '</a>'
|
langstr = langstr + '<a onclick="changelang(\'' + lang + '\')" class="pointer" style="margin-right:5px;">' + langsh[n] + '</a>'
|
||||||
|
fs.writeFileSync("../" + lang + "/main.js", fs.readFileSync("language/" + lang + "/main.json", 'utf8').replace(/^{/, "var lang = {"))
|
||||||
}
|
}
|
||||||
for (let i = 0; i < samples.length; i++) {
|
for (let i = 0; i < samples.length; i++) {
|
||||||
let sample = samples[i]
|
let sample = samples[i]
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
||||||
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
||||||
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
||||||
<script type="text/javascript" src="../../js/lang/lang.@@lang@@.js"></script>
|
<script type="text/javascript" src="main.js"></script>
|
||||||
<script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script>
|
<script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script>
|
||||||
<script src="../../node_modules/vue/dist/vue.min.js"></script>
|
<script src="../../node_modules/vue/dist/vue.min.js"></script>
|
||||||
<script type="text/javascript" src="setting.vue.js"></script>
|
<script type="text/javascript" src="setting.vue.js"></script>
|
||||||
|
|
3
crowdin.yml
Normal file
3
crowdin.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
files:
|
||||||
|
- source: /app/view/make/language/en/*.json
|
||||||
|
translation: /app/view/make/language/%locale%/%file_name%.json
|
Loading…
Reference in New Issue
Block a user