Skip to content

Instantly share code, notes, and snippets.

View iwan's full-sized avatar

Iwan Buetti iwan

  • Milano, Italy
View GitHub Profile
@iwan
iwan / cinque_province.geojson
Last active February 18, 2019 11:57
Cinque province italiane (con id)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iwan
iwan / cinque_province_senza_id.geojson
Created February 18, 2019 11:59
Cinque province italiane (senza id)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iwan
iwan / Italian_v11_0_1.ini
Last active February 22, 2022 15:43
Italian translations for REDCap. v11.0.1 (based on Italian.ini - Italian translation REDCap 10.8.4 standard release by enrico.nicolis@marionegri.it 15-mar-2021))
period = "."
colon = ":"
questionmark = "?"
exclamationpoint = "!"
comma = ","
leftparen = "("
rightparen = ")"
global_01 = "Errore"
global_02 = "Nota"
@iwan
iwan / update_translations.rb
Last active February 22, 2022 15:51
Update an outdated existing translation (here in italian) to a base file in english language
en_filename = "English.ini" # located in redcap/redcap_vxx.x.x/LanguageUpdater/ folder
it_filename = "Italian_v10_8_4 3.ini" # an existing but outdated file with translations
def read_file(filename)
hash = {}
count = 0
key = ""
value = ""
IO.readlines(filename, chomp: true).each do |line|
This file has been truncated, but you can view the full file.
; Italian.ini - Italian translation REDCap 10.8.4 standard release enrico.nicolis@marionegri.it 15-mar-2021
alerts_01 = "Le impostazioni seguenti possono essere utilizzate come limitazione per gli utenti di inviare avvisi a determinati indirizzi e-mail, nella pagina Avvisi e notifiche in tutti i progetti. Ciò consente ad alcune istituzioni di essere più restrittive se hanno dubbi sugli utenti che utilizzano questa funzionalità ( involontariamente o intenzionalmente) in un modo che potrebbe minacciare la conformità alle normative o le leggi / regolamenti sulla privacy, come il convogliamento di dati sensibili nel messaggio di posta elettronica di un avviso e l'invio a un utente non del progetto ".
alerts_02 = "Consenti agli utenti normali di inserire manualmente gli indirizzi email come <u> testo in formato libero </u> per un avviso A, CC o BCC?"
alerts_03 = "Consentire agli utenti normali di utilizzare variabili di progetto per <u> campi di posta elettronica </u> nel progetto per A, CC o BCC di un avviso?"