init
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
label[for=nightmode] i,
|
||||
form ul.list li div>span.supporting.night_mode_detected {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
form > div .checkbox > input[type="checkbox"] + label[for=nightmode] {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
left: 1.25em;
|
||||
top: 0.25em;
|
||||
}
|
||||
|
||||
label[for=nightmode] i,
|
||||
form ul.list li div>span.supporting.night_mode_detected {
|
||||
display: initial;
|
||||
}
|
||||
|
||||
form div:has(> #nightmode) {
|
||||
opacity: 0.25;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
form li#accent_color div.radio {
|
||||
display: inline-block;
|
||||
margin-right: 0.5rem;
|
||||
line-height: 5rem;
|
||||
}
|
||||
|
||||
form li#accent_color div.radio label {
|
||||
transform: scale(1.5);
|
||||
position: relative;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
form li#accent_color div.radio input[type=radio] {
|
||||
display: none;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
var Config = {
|
||||
switchNightMode: function () {
|
||||
document.body.classList.toggle('nightmode');
|
||||
},
|
||||
|
||||
setAccentColor: function (color) {
|
||||
document.body.style.setProperty('--movim-accent', 'var(--p-' + color + ')');
|
||||
},
|
||||
|
||||
updateSystemVariable: function (variable, value) {
|
||||
window[variable] = value;
|
||||
}
|
||||
}
|
||||
|
||||
MovimWebsocket.attach(function () {
|
||||
Notif.current('configuration');
|
||||
|
||||
Config_ajaxMAMGetConfig();
|
||||
Config_ajaxBlogGetConfig();
|
||||
});
|
||||
@@ -0,0 +1,37 @@
|
||||
[config]
|
||||
general = General
|
||||
language = Language
|
||||
roster = Roster display
|
||||
roster_show = Show the offline contacts
|
||||
roster_hide = Hide the offline contacts
|
||||
appearence = Appearance
|
||||
updated = Configuration updated
|
||||
not_valid = Configuration invalid
|
||||
advanced = Advanced Configuration
|
||||
nsfw = Display adult content
|
||||
nsfw_text = Will allow you to read the posts tagged with the #nsfw tag
|
||||
omemoenabled = Use OMEMO
|
||||
omemoenabled_text = Enable end to end encryption on Movim for your account
|
||||
omemoenabled_warning = "To encrypt and decrypt messages Movim is using some code delivered from the %s web domain. If you want to exchange sensitive information please ensure that you fully trust the code issued by this intermediary."
|
||||
night_mode = Night Mode
|
||||
night_mode_text = Use dark colors to rest your eyes
|
||||
night_mode_detected = Your browser is already telling Movim to use the Night Mode by default
|
||||
chatmain = Main chat page
|
||||
chatmain_text = Set the chat page to the default when opening Movim
|
||||
mam_text = Server-side chat messages archiving preferences
|
||||
mam_always = Always
|
||||
mam_never = Never
|
||||
mam_saved = Archiving preferences saved
|
||||
blog_text = Personal blog confidentiality
|
||||
blog_open_title = Public blog
|
||||
blog_open_text = Accessible to everyone on the network
|
||||
blog_presence_title = Private blog
|
||||
blog_presence_text = Restricted to your subscribers only
|
||||
blog_saved = Personal blog confidentiality saved
|
||||
confidentiality = Confidentiality
|
||||
audio_title = Audio notifications
|
||||
audio_call = Incoming call
|
||||
audio_chat = Incoming message
|
||||
accent_color = Accent color
|
||||
change_nickname_title= Be careful
|
||||
change_nickname_text = Changing your nickname will change your public blog, feed, and articles URLs
|
||||
Reference in New Issue
Block a user