Import v7.1 files
This commit is contained in:
106
src/PrayerTracker.UI/Church.fs
Normal file
106
src/PrayerTracker.UI/Church.fs
Normal file
@@ -0,0 +1,106 @@
|
||||
module PrayerTracker.Views.Church
|
||||
|
||||
open Giraffe.GiraffeViewEngine
|
||||
open PrayerTracker.Entities
|
||||
open PrayerTracker.ViewModels
|
||||
open System
|
||||
open System.Collections.Generic
|
||||
|
||||
/// View for the church edit page
|
||||
let edit (m : EditChurch) ctx vi =
|
||||
let pageTitle = match m.isNew () with true -> "Add a New Church" | false -> "Edit Church"
|
||||
let s = I18N.localizer.Force ()
|
||||
[ form [ _action "/church/save"; _method "post"; _class "pt-center-columns" ] [
|
||||
style [ _scoped ]
|
||||
[ rawText "#name { width: 20rem; } #city { width: 10rem; } #st { width: 3rem; } #interfaceAddress { width: 30rem; }" ]
|
||||
csrfToken ctx
|
||||
input [ _type "hidden"; _name "churchId"; _value (m.churchId.ToString "N") ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "name" ] [ encLocText s.["Church Name"] ]
|
||||
input [ _type "text"; _name "name"; _id "name"; _required; _autofocus; _value m.name ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "City"] [ encLocText s.["City"] ]
|
||||
input [ _type "text"; _name "city"; _id "city"; _required; _value m.city ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "ST" ] [ encLocText s.["State"] ]
|
||||
input [ _type "text"; _name "st"; _id "st"; _required; _minlength "2"; _maxlength "2"; _value m.st ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-checkbox-field" ] [
|
||||
input [ yield _type "checkbox"
|
||||
yield _name "hasInterface"
|
||||
yield _id "hasInterface"
|
||||
yield _value "True"
|
||||
match m.hasInterface with Some x when x -> yield _checked | _ -> () ]
|
||||
label [ _for "hasInterface" ] [ encLocText s.["Has an interface with Virtual Prayer Room"] ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row pt-fadeable"; _id "divInterfaceAddress" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "interfaceAddress" ] [ encLocText s.["VPR Interface URL"] ]
|
||||
input [ _type "url"; _name "interfaceAddress"; _id "interfaceAddress";
|
||||
_value (match m.interfaceAddress with Some ia -> ia | None -> "") ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [ submit [] "save" s.["Save Church"] ]
|
||||
]
|
||||
script [] [ rawText "PT.onLoad(PT.church.edit.onPageLoad)" ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi pageTitle
|
||||
|
||||
|
||||
/// View for church maintenance page
|
||||
let maintain (churches : Church list) (stats : Map<string, ChurchStats>) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
[ div [ _class "pt-center-text" ] [
|
||||
br []
|
||||
a [ _href (sprintf "/church/%s/edit" emptyGuid); _title s.["Add a New Church"].Value ]
|
||||
[ icon "add_circle"; rawText " "; encLocText s.["Add a New Church"] ]
|
||||
br []
|
||||
br []
|
||||
]
|
||||
tableSummary churches.Length s
|
||||
table [ _class "pt-table pt-action-table" ] [
|
||||
thead [] [
|
||||
tr [] [
|
||||
th [] [ encLocText s.["Actions"] ]
|
||||
th [] [ encLocText s.["Name"] ]
|
||||
th [] [ encLocText s.["Location"] ]
|
||||
th [] [ encLocText s.["Groups"] ]
|
||||
th [] [ encLocText s.["Requests"] ]
|
||||
th [] [ encLocText s.["Users"] ]
|
||||
th [] [ encLocText s.["Interface?"] ]
|
||||
]
|
||||
]
|
||||
churches
|
||||
|> List.map (fun ch ->
|
||||
let chId = ch.churchId.ToString "N"
|
||||
let delAction = sprintf "/church/%s/delete" chId
|
||||
let delPrompt = s.["Are you want to delete this {0}? This action cannot be undone.",
|
||||
sprintf "%s (%s)" (s.["Church"].Value.ToLower ()) ch.name]
|
||||
tr [] [
|
||||
td [] [
|
||||
a [ _href (sprintf "/church/%s/edit" chId); _title s.["Edit This Church"].Value ] [ icon "edit" ]
|
||||
a [ _href delAction
|
||||
_title s.["Delete This Church"].Value
|
||||
_onclick (sprintf "return PT.confirmDelete('%s','%A')" delAction delPrompt) ]
|
||||
[ icon "delete_forever" ]
|
||||
]
|
||||
td [] [ encodedText ch.name ]
|
||||
td [] [ encodedText ch.city; rawText ", "; encodedText ch.st ]
|
||||
td [ _class "pt-right-text" ] [ rawText (stats.[chId].smallGroups.ToString "N0") ]
|
||||
td [ _class "pt-right-text" ] [ rawText (stats.[chId].prayerRequests.ToString "N0") ]
|
||||
td [ _class "pt-right-text" ] [ rawText (stats.[chId].users.ToString "N0") ]
|
||||
td [ _class "pt-center-text" ] [ encLocText s.[match ch.hasInterface with true -> "Yes" | false -> "No"] ]
|
||||
])
|
||||
|> tbody []
|
||||
]
|
||||
form [ _id "DeleteForm"; _action ""; _method "post" ] [ csrfToken ctx ]
|
||||
]
|
||||
|> Layout.Content.wide
|
||||
|> Layout.standard vi "Maintain Churches"
|
||||
143
src/PrayerTracker.UI/CommonFunctions.fs
Normal file
143
src/PrayerTracker.UI/CommonFunctions.fs
Normal file
@@ -0,0 +1,143 @@
|
||||
[<AutoOpen>]
|
||||
module PrayerTracker.Views.CommonFunctions
|
||||
|
||||
open Giraffe
|
||||
open Giraffe.GiraffeViewEngine
|
||||
open Microsoft.AspNetCore.Antiforgery
|
||||
open Microsoft.AspNetCore.Http
|
||||
open Microsoft.AspNetCore.Mvc.Localization
|
||||
open Microsoft.Extensions.Localization
|
||||
open System.IO
|
||||
open System.Text.Encodings.Web
|
||||
|
||||
/// Encoded text for a localized string
|
||||
let encLocText (text : LocalizedString) = encodedText text.Value
|
||||
|
||||
/// Raw text for a localized HTML string
|
||||
let rawLocText (writer : StringWriter) (text : LocalizedHtmlString) =
|
||||
text.WriteTo (writer, HtmlEncoder.Default)
|
||||
let txt = string writer
|
||||
writer.GetStringBuilder().Clear () |> ignore
|
||||
rawText txt
|
||||
|
||||
/// A space (used for back-to-back localization string breaks)
|
||||
let space = rawText " "
|
||||
|
||||
/// Generate a Material Design icon
|
||||
let icon name = i [ _class "material-icons" ] [ rawText name ]
|
||||
|
||||
/// Generate a Material Design icon, specifying the point size (must be defined in CSS)
|
||||
let iconSized size name = i [ _class (sprintf "material-icons md-%i" size) ] [ rawText name ]
|
||||
|
||||
/// Generate a CSRF prevention token
|
||||
let csrfToken (ctx : HttpContext) =
|
||||
let antiForgery = ctx.GetService<IAntiforgery> ()
|
||||
let tokenSet = antiForgery.GetAndStoreTokens ctx
|
||||
input [ _type "hidden"; _name tokenSet.FormFieldName; _value tokenSet.RequestToken ]
|
||||
|
||||
/// Create a summary for a table of items
|
||||
let tableSummary itemCount (s : IStringLocalizer) =
|
||||
div [ _class "pt-center-text" ] [
|
||||
small [] [
|
||||
match itemCount with
|
||||
| 0 -> s.["No Entries to Display"]
|
||||
| 1 -> s.["Displaying {0} Entry", itemCount]
|
||||
| _ -> s.["Displaying {0} Entries", itemCount]
|
||||
|> encLocText
|
||||
]
|
||||
]
|
||||
|
||||
/// Generate a list of named HTML colors
|
||||
let namedColorList name selected attrs (s : IStringLocalizer) =
|
||||
/// The list of HTML named colors (name, display, text color)
|
||||
seq {
|
||||
yield ("aqua", s.["Aqua"], "black")
|
||||
yield ("black", s.["Black"], "white")
|
||||
yield ("blue", s.["Blue"], "white")
|
||||
yield ("fuchsia", s.["Fuchsia"], "black")
|
||||
yield ("gray", s.["Gray"], "white")
|
||||
yield ("green", s.["Green"], "white")
|
||||
yield ("lime", s.["Lime"], "black")
|
||||
yield ("maroon", s.["Maroon"], "white")
|
||||
yield ("navy", s.["Navy"], "white")
|
||||
yield ("olive", s.["Olive"], "white")
|
||||
yield ("purple", s.["Purple"], "white")
|
||||
yield ("red", s.["Red"], "black")
|
||||
yield ("silver", s.["Silver"], "black")
|
||||
yield ("teal", s.["Teal"], "white")
|
||||
yield ("white", s.["White"], "black")
|
||||
yield ("yellow", s.["Yellow"], "black")
|
||||
}
|
||||
|> Seq.map (fun color ->
|
||||
let (colorName, dispText, txtColor) = color
|
||||
option [ yield _value colorName
|
||||
yield _style (sprintf "background-color:%s;color:%s;" colorName txtColor)
|
||||
match colorName = selected with true -> yield _selected | false -> () ] [
|
||||
encodedText (dispText.Value.ToLower ())
|
||||
])
|
||||
|> List.ofSeq
|
||||
|> select (_name name :: attrs)
|
||||
|
||||
/// Generate an input[type=radio] that is selected if its value is the current value
|
||||
let radio name domId value current =
|
||||
input [ yield _type "radio"
|
||||
yield _name name
|
||||
yield _id domId
|
||||
yield _value value
|
||||
match value = current with true -> yield _checked | false -> () ]
|
||||
|
||||
/// Generate a select list with the current value selected
|
||||
let selectList name selected attrs items =
|
||||
items
|
||||
|> Seq.map (fun (value, text) ->
|
||||
option [ yield _value value
|
||||
match value = selected with true -> yield _selected | false -> () ] [ encodedText text ])
|
||||
|> List.ofSeq
|
||||
|> select (List.concat [ [ _name name; _id name ]; attrs ])
|
||||
|
||||
/// Generate the text for a default entry at the top of a select list
|
||||
let selectDefault text = sprintf "— %s —" text
|
||||
|
||||
/// Generate a standard submit button with icon and text
|
||||
let submit attrs ico text = button (_type "submit" :: attrs) [ icon ico; rawText " "; encLocText text ]
|
||||
|
||||
/// An empty GUID string (used for "add" actions)
|
||||
let emptyGuid = System.Guid.Empty.ToString "N"
|
||||
|
||||
|
||||
/// blockquote tag
|
||||
let blockquote = tag "blockquote"
|
||||
|
||||
/// role attribute
|
||||
let _role = attr "role"
|
||||
/// aria-* attribute
|
||||
let _aria typ = attr (sprintf "aria-%s" typ)
|
||||
/// onclick attribute
|
||||
let _onclick = attr "onclick"
|
||||
/// onsubmit attribute
|
||||
let _onsubmit = attr "onsubmit"
|
||||
|
||||
/// scoped flag (used for <style> tag)
|
||||
let _scoped = flag "scoped"
|
||||
|
||||
|
||||
/// Utility methods to help with time zones (and localization of their names)
|
||||
module TimeZones =
|
||||
|
||||
open System.Collections.Generic
|
||||
|
||||
/// Cross-reference between time zone Ids and their English names
|
||||
let private xref =
|
||||
[ "America/Chicago", "Central"
|
||||
"America/Denver", "Mountain"
|
||||
"America/Los_Angeles", "Pacific"
|
||||
"America/New_York", "Eastern"
|
||||
"America/Phoenix", "Mountain (Arizona)"
|
||||
"Europe/Berlin", "Central European"
|
||||
]
|
||||
|> Map.ofList
|
||||
|
||||
/// Get the name of a time zone, given its Id
|
||||
let name tzId (s : IStringLocalizer) =
|
||||
try s.[xref.[tzId]]
|
||||
with :? KeyNotFoundException -> LocalizedString (tzId, tzId)
|
||||
472
src/PrayerTracker.UI/Help.fs
Normal file
472
src/PrayerTracker.UI/Help.fs
Normal file
@@ -0,0 +1,472 @@
|
||||
module PrayerTracker.Views.Help
|
||||
|
||||
open Giraffe.GiraffeViewEngine
|
||||
open Microsoft.AspNetCore.Html
|
||||
open PrayerTracker
|
||||
open System.IO
|
||||
|
||||
|
||||
/// View for the add/edit request help page
|
||||
let editRequest () =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Help/Requests/Edit"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ p [] [
|
||||
raw l.["This page allows you to enter or update a new prayer request."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Request Type"] ]
|
||||
br []
|
||||
raw l.["There are 5 request types in {0}.", s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["“{0}” are your regular requests that people may have regarding things happening over the next week or so.",
|
||||
s.["Current Requests"]]
|
||||
space
|
||||
raw l.["“{0}” are requests that may occur repeatedly or continue indefinitely.", s.["Long-Term Requests"]]
|
||||
space
|
||||
raw l.["“{0}” are like “{1}”, but they are answers to prayer to share with your group.",
|
||||
s.["Praise Reports"], s.["Current Requests"]]
|
||||
space
|
||||
raw l.["“{0}” is for those who are pregnant.", s.["Expecting"]]
|
||||
space
|
||||
raw l.["“{0}” are like “{1}”, but instead of a request, they are simply passing information along about something coming up.",
|
||||
s.["Announcements"], s.["Current Requests"]]
|
||||
]
|
||||
p [] [
|
||||
raw l.["The order above is the order in which the request types appear on the list."]
|
||||
space
|
||||
raw l.["“{0}” and “{1}” are not subject to the automatic expiration (set on the “{2}” page) that the other requests are.",
|
||||
s.["Long-Term Requests"], s.["Expecting"], s.["Change Preferences"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Date"] ]
|
||||
br []
|
||||
raw l.["For new requests, this is a box with a calendar date picker."]
|
||||
space
|
||||
raw l.["Click or tab into the box to display the calendar, which will be preselected to today's date."]
|
||||
space
|
||||
raw l.["For existing requests, there will be a check box labeled “{0}”.", s.["Check to not update the date"]]
|
||||
space
|
||||
raw l.["This can be used if you are correcting spelling or punctuation, and do not have an actual update to make to the request."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Requestor / Subject"] ]
|
||||
br []
|
||||
raw l.["For requests or praises, this field is for the name of the person who made the request or offered the praise report."]
|
||||
space
|
||||
raw l.["For announcements, this should contain the subject of the announcement."]
|
||||
space
|
||||
raw l.["For all types, it is optional; I used to have an announcement with no subject that ran every week, telling where to send requests and updates."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Expiration"] ]
|
||||
br []
|
||||
raw l.["“{0}” means that the request is subject to the expiration days in the group preferences.",
|
||||
s.["Expire Normally"]]
|
||||
space
|
||||
raw l.["“{0}” can be used to make a request never expire (note that this is redundant for “{1}” and “{2}”).",
|
||||
s.["Request Never Expires"], s.["Long-Term Requests"], s.["Expecting"]]
|
||||
space
|
||||
raw l.["If you are editing an existing request, a third option appears."]
|
||||
space
|
||||
raw l.["“{0}” will make the request expire when it is saved.", s.["Expire Immediately"]]
|
||||
space
|
||||
raw l.["Apart from the icons on the request maintenance page, this is the only way to expire “{0}” and “{1}” requests, but it can be used for any request type.",
|
||||
s.["Long-Term Requests"], s.["Expecting"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Request"] ]
|
||||
br []
|
||||
raw l.["This is the text of the request."]
|
||||
space
|
||||
raw l.["The editor provides many formatting capabilities, including “Spell Check as you Type” (enabled by default), “Paste from Word”, and “Paste Plain”, as well as “Source” view, if you want to edit the HTML yourself."]
|
||||
space
|
||||
raw l.["It also supports undo and redo, and the editor supports full-screen mode."]
|
||||
space
|
||||
raw l.["Hover over each icon to see what each button does."]
|
||||
]
|
||||
]
|
||||
|> Layout.help "Add / Edit a Request"
|
||||
|
||||
|
||||
/// View for the small group member maintenance help
|
||||
let groupMembers () =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Help/Group/Members"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ p [] [
|
||||
raw l.["From this page, you can add, edit, and delete the e-mail addresses for your group."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Add a New Group Member"] ]
|
||||
br []
|
||||
raw l.["To add an e-mail address, click the icon or text in the center of the page, below the title and above the list of addresses for your group."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Edit Group Member"] ]
|
||||
br []
|
||||
raw l.["To edit an e-mail address, click the blue pencil icon; it's the first icon under the “{0}” column heading.",
|
||||
s.["Actions"]]
|
||||
space
|
||||
raw l.["This will allow you to update the name and/or the e-mail address for that member."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Delete a Group Member"] ]
|
||||
br []
|
||||
raw l.["To delete an e-mail address, click the blue trash can icon in the “{0}” column.", s.["Actions"]]
|
||||
space
|
||||
raw l.["Note that once an e-mail address has been deleted, it is gone."]
|
||||
space
|
||||
raw l.["(Of course, if you delete it in error, you can enter it again using the “Add” instructions above.)"]
|
||||
]
|
||||
]
|
||||
|> Layout.help "Maintain Group Members"
|
||||
|
||||
|
||||
/// View for the log on help page
|
||||
let logOn () =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Help/User/LogOn"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ p [] [
|
||||
raw l.["This page allows you to log on to {0}.", s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["There are two different levels of access for {0} - user and group.", s.["PrayerTracker"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["User Log On"] ]
|
||||
br []
|
||||
raw l.["Select your group, then enter your e-mail address and password into the appropriate boxes."]
|
||||
space
|
||||
raw l.["If you want {0} to remember you on your computer, click the “{1}” box before clicking the “{2}” button.",
|
||||
s.["PrayerTracker"], s.["Remember Me"], s.["Log On"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Group Log On"] ]
|
||||
br []
|
||||
raw l.["If your group has defined a password to use to allow you to view their request list online, select your group from the drop down list, then enter the group password into the appropriate box."]
|
||||
space
|
||||
raw l.["If you want {0} to remember your group, click the “{1}” box before clicking the “{2}” button.",
|
||||
s.["PrayerTracker"], s.["Remember Me"], s.["Log On"]]
|
||||
]
|
||||
]
|
||||
|> Layout.help "Log On"
|
||||
|
||||
/// Help index page
|
||||
let index vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Help/Index"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
|
||||
let helpRows =
|
||||
Help.all
|
||||
|> List.map (fun h ->
|
||||
tr [] [
|
||||
td [] [
|
||||
a [ _href (sprintf "/help/%s" h.Url)
|
||||
_onclick (sprintf "return PT.showHelp('%s')" h.Url) ]
|
||||
[ encLocText s.[h.linkedText] ]
|
||||
]
|
||||
])
|
||||
|
||||
[ p [] [
|
||||
raw l.["Throughout {0}, you'll see this icon {1} next to the title on each page.",
|
||||
s.["PrayerTracker"], icon "help_outline" |> (renderHtmlNode >> HtmlString)]
|
||||
space
|
||||
raw l.["Clicking this will open a new, small window with directions on using that page."]
|
||||
space
|
||||
raw l.["If you are looking for a quick overview of {0}, start with the “{1}” and “{2}” entries.",
|
||||
s.["PrayerTracker"], s.["Edit Request"], s.["Change Preferences"]]
|
||||
]
|
||||
hr []
|
||||
p [ _class "pt-center-text" ] [ strong [] [ encLocText s.["Help Topics"] ] ]
|
||||
table [ _class "pt-table" ] [ tbody [] helpRows ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Help"
|
||||
|
||||
|
||||
let password () =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Help/User/Password"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ p [] [
|
||||
raw l.["This page will let you change your password."]
|
||||
space
|
||||
raw l.["Enter your existing password in the top box, then enter your new password in the bottom two boxes."]
|
||||
space
|
||||
raw l.["Entering your existing password is a security measure; with the “{0}” box on the log in page, this will prevent someone else who may be using your computer from being able to simply go to the site and change your password.",
|
||||
s.["Remember Me"]]
|
||||
]
|
||||
p [] [
|
||||
raw l.["If you cannot remember your existing password, we cannot retrieve it, but we can set it to something known so that you can then change it to your password."]
|
||||
space
|
||||
raw l.["<a href=\"mailto:daniel@djs-consulting.com?subject={0}%20Password%20Help\">Click here to request help resetting your password</a>.",
|
||||
s.["PrayerTracker"]]
|
||||
]
|
||||
]
|
||||
|> Layout.help "Change Your Password"
|
||||
|
||||
|
||||
/// View for the small group preferences help page
|
||||
let preferences () =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Help/Group/Preferences"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ p [] [
|
||||
raw l.["This page allows you to change how your prayer request list looks and behaves."]
|
||||
space
|
||||
raw l.["Each section is addressed below."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Requests Expire After"] ]
|
||||
br []
|
||||
raw l.["When a regular request goes this many days without being updated, it expires and no longer appears on the request list."]
|
||||
space
|
||||
raw l.["Note that the categories “{0}” and “{1}” never expire automatically.", s.["Long-Term Requests"], s.["Expecting"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Requests “New” For"] ]
|
||||
br []
|
||||
raw l.["Requests that have been updated within this many days are identified by a hollow circle for their bullet, as opposed to a filled circle for other requests."]
|
||||
space
|
||||
raw l.["All categories respect this setting."]
|
||||
space
|
||||
raw l.["If you do a typo correction on a request, if you do not check the box to update the date, this setting will change the bullet."]
|
||||
space
|
||||
raw l.["(NOTE: In the plain-text e-mail, new requests are bulleted with a “+” symbol, and old are bulleted with a “-” symbol.)"]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Long-Term Requests Alerted for Update"] ]
|
||||
br []
|
||||
raw l.["Requests that have not been updated in this many weeks are identified by an italic font on the “{0}” page, to remind you to seek updates on these requests so that your prayers can stay relevant and current.",
|
||||
s.["Maintain Requests"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Request Sorting"] ]
|
||||
br []
|
||||
raw l.["By default, requests are sorted within each group by the last updated date, with the most recent on top."]
|
||||
space
|
||||
raw l.["If you would prefer to have the list sorted by requestor or subject rather than by date, select “{0}” instead.",
|
||||
s.["Sort by Requestor Name"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["E-mail “From” Name and Address"] ]
|
||||
br []
|
||||
raw l.["{0} must put an name and e-mail address in the “from” position of each e-mail it sends.", s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["The default name is “PrayerTracker”, and the default e-mail address is “prayer@djs-consulting.com”."]
|
||||
space
|
||||
raw l.["This will work, but any bounced e-mails and out-of-office replies will be sent to that address (which is not even a real address)."]
|
||||
space
|
||||
raw l.["Changing at least the e-mail address to your address will ensure that you receive these e-mails, and can prune your e-mail list accordingly."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["E-mail Format"] ]
|
||||
br []
|
||||
raw l.["This is the default e-mail format for your group."]
|
||||
space
|
||||
raw l.["The {0} default is HTML, which sends the list just as you see it online.", s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["However, some e-mail clients may not display this properly, so you can choose to default the email to a plain-text format, which does not have colors, italics, or other formatting."]
|
||||
space
|
||||
raw l.["The setting on this page is the group default; you can select a format for each recipient on the “{0}” page.",
|
||||
s.["Maintain Group Members"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Colors"] ]
|
||||
br []
|
||||
raw l.["You can customize the colors that are used for the headings and lines in your request list."]
|
||||
space
|
||||
raw l.["You can select one of the 16 named colors in the drop down lists, or you can “mix your own” using red, green, and blue (RGB) values between 0 and 255."]
|
||||
space
|
||||
raw l.["There is a link on the bottom of the page to a color list with more names and their RGB values, if you're really feeling artistic."]
|
||||
space
|
||||
raw l.["The background color cannot be changed."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Fonts{0} for List", ""] ]
|
||||
br []
|
||||
raw l.["This is a comma-separated list of fonts that will be used for your request list."]
|
||||
space
|
||||
raw l.["A warning is good here; just because you have an obscure font and like the way that it looks does not mean that others have that same font."]
|
||||
space
|
||||
raw l.["It is generally best to stick with the fonts that come with Windows - fonts like “Arial”, “Times New Roman”, “Tahoma”, and “Comic Sans MS”."]
|
||||
space
|
||||
raw l.["You should also end the font list with either “serif” or “sans-serif”, which will use the browser's default serif (like “Times New Roman”) or sans-serif (like “Arial”) font."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Heading / List Text Size"] ]
|
||||
br []
|
||||
raw l.["This is the point size to use for each."]
|
||||
space
|
||||
raw l.["The default for the heading is 16pt, and the default for the text is 12pt."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Making a “Large Print” List"] ]
|
||||
br []
|
||||
raw l.["If your group is comprised mostly of people who prefer large print, the following settings will make your list look like the typical large-print publication:"]
|
||||
br []
|
||||
blockquote [] [
|
||||
em [] [ encLocText s.["Fonts"] ]
|
||||
rawText " — 'Times New Roman',serif"
|
||||
br []
|
||||
em [] [ encLocText s.["Heading Text Size"] ]
|
||||
rawText " — 18pt"
|
||||
br []
|
||||
em [] [ encLocText s.["List Text Size"] ]
|
||||
rawText " — 16pt"
|
||||
]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Time Zone"] ]
|
||||
br []
|
||||
raw l.["This is the time zone that you would like to use for your group."]
|
||||
space
|
||||
raw l.["If you do not see your time zone listed, just <a href=\"mailto:daniel@djs-consulting.com?subject={0}%20{1}\">contact Daniel</a> and tell him what time zone you need.",
|
||||
s.["PrayerTracker"], s.["Time Zone"].Value.Replace(" ", "%20")]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Request List Visibility"] ]
|
||||
br []
|
||||
raw l.["The group's request list can be either public, private, or password-protected."]
|
||||
space
|
||||
raw l.["Public lists are available without logging in, and private lists are only available online to administrators (though the list can still be sent via e-mail by an administrator)."]
|
||||
space
|
||||
raw l.["Password-protected lists allow group members to log in and view the current request list online, using the “{0}” link and providing this password.",
|
||||
s.["Group Log On"]]
|
||||
raw l.["As this is a shared password, it is stored in plain text, so you can easily see what it is."]
|
||||
space
|
||||
raw l.["If you select “{0}” but do not enter a password, the list remains private, which is also the default value.",
|
||||
s.["Password Protected"]]
|
||||
space
|
||||
raw l.["(Changing this password will force all members of the group who logged in with the “{0}” box checked to provide the new password.)",
|
||||
s.["Remember Me"]]
|
||||
]
|
||||
]
|
||||
|> Layout.help "Change Preferences"
|
||||
|
||||
|
||||
/// View for the request maintenance help page
|
||||
let requests () =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Help/Requests/Maintain"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ p [] [
|
||||
raw l.["From this page, you can add, edit, and delete your current requests."]
|
||||
raw l.["You can also restore requests that may have expired, but should be made active once again."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Add a New Request"] ]
|
||||
br []
|
||||
raw l.["To add a request, click the icon or text in the center of the page, below the title and above the list of requests for your group."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Edit Request"] ]
|
||||
br []
|
||||
raw l.["To edit a request, click the blue pencil icon; it's the first icon under the “{0}” column heading.",
|
||||
s.["Actions"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Expire a Request"] ]
|
||||
br []
|
||||
raw l.["For active requests, the second icon is an eye with a slash through it; clicking this icon will expire the request immediately."]
|
||||
space
|
||||
raw l.["This is equivalent to editing the request, selecting “{0}”, and saving it.", s.["Expire Immediately"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Restore an Inactive Request"] ]
|
||||
br []
|
||||
raw l.["When the page is first displayed, it does not display inactive requests."]
|
||||
space
|
||||
raw l.["However, clicking the link at the bottom of the page will refresh the page with the inactive requests shown."]
|
||||
space
|
||||
raw l.["The middle icon will look like an eye; clicking it will restore the request as an active request."]
|
||||
space
|
||||
raw l.["The last updated date will be current, and the request is set to expire normally."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Delete a Request"] ]
|
||||
br []
|
||||
raw l.["Deleting a request is contrary to the intent of {0}, as you can retrieve requests that have expired.",
|
||||
s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["However, if there is a request that needs to be deleted, clicking the blue trash can icon in the “{0}” column will allow you to do it.",
|
||||
s.["Actions"]]
|
||||
space
|
||||
raw l.["Use this option carefully, as these deletions cannot be undone; once a request is deleted, it is gone for good."]
|
||||
]
|
||||
]
|
||||
|> Layout.help "Maintain Requests"
|
||||
|
||||
/// View for the Send Announcement page help
|
||||
let sendAnnouncement () =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Help/Group/Announcement"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ p [] [
|
||||
strong [] [ encLocText s.["Announcement Text"] ]
|
||||
br []
|
||||
raw l.["This is the text of the announcement you would like to send."]
|
||||
space
|
||||
raw l.["It functions the same way as the text box on the “<a href=\"{0}\">{1}</a>” page.",
|
||||
(sprintf "/help/%s/%s" Help.editRequest.``module`` Help.editRequest.topic), s.["Edit Request"]]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Add to Request List"] ]
|
||||
br []
|
||||
raw l.["Without this box checked, the text of the announcement will only be e-mailed to your group members."]
|
||||
space
|
||||
raw l.["If you check this box, however, the text of the announcement will be added to your prayer list under the section you have selected."]
|
||||
]
|
||||
]
|
||||
|> Layout.help "Send Announcement"
|
||||
|
||||
let viewRequests () =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Help/Requests/View"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ p [] [
|
||||
raw l.["From this page, you can view the request list (for today or for the next Sunday), view a printable version of the list, and e-mail the list to the members of your group."]
|
||||
space
|
||||
raw l.["(NOTE: If you are logged in as a group member, the only option you will see is to view a printable list.)"]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["List for Next Sunday"] ]
|
||||
br []
|
||||
raw l.["This will modify the date for the list, so it will look like it is currently next Sunday."]
|
||||
space
|
||||
raw l.["This can be used, for example, to see what requests will expire, or allow you to print a list with Sunday's date on Saturday evening."]
|
||||
space
|
||||
raw l.["Note that this link does not appear if it is Sunday."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["View Printable"] ]
|
||||
br []
|
||||
raw l.["Clicking this link will display the list in a format that is suitable for printing; it does not have the normal {0} header across the top.",
|
||||
s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["Once you have clicked the link, you can print it using your browser's standard “Print” functionality."]
|
||||
]
|
||||
p [] [
|
||||
strong [] [ encLocText s.["Send Via E-mail"] ]
|
||||
br []
|
||||
raw l.["Clicking this link will send the list you are currently viewing to your group members."]
|
||||
space
|
||||
raw l.["The page will remind you that you are about to do that, and ask for your confirmation."]
|
||||
space
|
||||
raw l.["If you proceed, you will see a page that shows to whom the list was sent, and what the list looked like."]
|
||||
space
|
||||
raw l.["You may safely use your browser's “Back” button to navigate away from the page."]
|
||||
]
|
||||
]
|
||||
|> Layout.help "View Request List"
|
||||
262
src/PrayerTracker.UI/Home.fs
Normal file
262
src/PrayerTracker.UI/Home.fs
Normal file
@@ -0,0 +1,262 @@
|
||||
/// Views associated with the home page, or those that don't fit anywhere else
|
||||
module PrayerTracker.Views.Home
|
||||
|
||||
open Giraffe.GiraffeViewEngine
|
||||
open Microsoft.AspNetCore.Html
|
||||
open PrayerTracker.ViewModels
|
||||
open System.IO
|
||||
|
||||
/// The error page
|
||||
let error code vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Home/Error"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
let is404 = "404" = code
|
||||
let pageTitle = match is404 with true -> "Page Not Found" | false -> "Server Error"
|
||||
[ yield!
|
||||
match is404 with
|
||||
| true ->
|
||||
[ p [] [
|
||||
raw l.["The page you requested cannot be found."]
|
||||
raw l.["Please use your “Back” button to return to {0}.", s.["PrayerTracker"]]
|
||||
]
|
||||
p [] [
|
||||
raw l.["If you reached this page from a link within {0}, please copy the link from the browser's address bar, and send it to support, along with the group for which you were currently authenticated (if any).",
|
||||
s.["PrayerTracker"]]
|
||||
]
|
||||
]
|
||||
| false ->
|
||||
[ p [] [
|
||||
raw l.["An error ({0}) has occurred.", code]
|
||||
raw l.["Please use your “Back” button to return to {0}.", s.["PrayerTracker"]]
|
||||
]
|
||||
]
|
||||
yield br []
|
||||
yield hr []
|
||||
yield div [ _style "font-size:70%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif" ] [
|
||||
img [ _src (sprintf "/img/%A.png" s.["footer_en"])
|
||||
_alt (sprintf "%A %A" s.["PrayerTracker"] s.["from Bit Badger Solutions"])
|
||||
_title (sprintf "%A %A" s.["PrayerTracker"] s.["from Bit Badger Solutions"])
|
||||
_style "vertical-align:text-bottom;" ]
|
||||
encodedText vi.version
|
||||
]
|
||||
]
|
||||
|> div []
|
||||
|> Layout.bare pageTitle
|
||||
|
||||
|
||||
/// The home page
|
||||
let index vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Home/Index"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
|
||||
[ p [] [
|
||||
raw l.["Welcome to <strong>{0}</strong>!", s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["{0} is an interactive website that provides churches, Sunday School classes, and other organizations an easy way to keep up with their prayer requests.",
|
||||
s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["It is provided at no charge, as a ministry and a community service."]
|
||||
]
|
||||
h4 [] [ raw l.["What Does It Do?"] ]
|
||||
p [] [
|
||||
raw l.["{0} has what you need to make maintaining a prayer request list a breeze.", s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["Some of the things it can do..."]
|
||||
]
|
||||
ul [] [
|
||||
li [] [
|
||||
raw l.["It drops old requests off the list automatically."]
|
||||
space
|
||||
raw l.["Requests other than “{0}” requests will expire at 14 days, though this can be changed by the organization.",
|
||||
s.["Long-Term Requests"]]
|
||||
space
|
||||
raw l.["This expiration is based on the last update, not the initial request."]
|
||||
space
|
||||
raw l.["(And, once requests do “drop off”, they are not gone - they may be recovered if needed.)"]
|
||||
]
|
||||
li [] [
|
||||
raw l.["Requests can be viewed any time."]
|
||||
space
|
||||
raw l.["Lists can be made public, or they can be secured with a password, if desired."]
|
||||
]
|
||||
li [] [
|
||||
raw l.["Lists can be e-mailed to a pre-defined list of members."]
|
||||
space
|
||||
raw l.["This can be useful for folks who may not be able to write down all the requests during class, but want a list so that they can pray for them the rest of week."]
|
||||
space
|
||||
raw l.["E-mails are sent individually to each person, which keeps the e-mail list private and keeps the messages from being flagged as spam."]
|
||||
]
|
||||
li [] [
|
||||
raw l.["The look and feel of the list can be configured for each group."]
|
||||
space
|
||||
raw l.["All fonts, colors, and sizes can be customized."]
|
||||
space
|
||||
raw l.["This allows for configuration of large-print lists, among other things."]
|
||||
]
|
||||
]
|
||||
h4 [] [ raw l.["How Can Your Organization Use {0}?", s.["PrayerTracker"]] ]
|
||||
p [] [
|
||||
raw l.["Like God’s gift of salvation, {0} is free for the asking for any church, Sunday School class, or other organization who wishes to use it.",
|
||||
s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["If your organization would like to get set up, just <a href=\"mailto:daniel@djs-consulting.com?subject=New%20{0}%20Class\">e-mail</a> Daniel and let him know.",
|
||||
s.["PrayerTracker"]]
|
||||
]
|
||||
h4 [] [ raw l.["Do I Have to Register to See the Requests?"] ]
|
||||
p [] [
|
||||
raw l.["This depends on the group."]
|
||||
space
|
||||
raw l.["Lists can be configured to be password-protected, but they do not have to be."]
|
||||
space
|
||||
raw l.["If you click on the “{0}” link above, you will see a list of groups - those that do not indicate that they require logging in are publicly viewable.",
|
||||
s.["View Request List"]]
|
||||
]
|
||||
h4 [] [ raw l.["How Does It Work?"] ]
|
||||
p [] [
|
||||
raw l.["Check out the “{0}” link above - it details each of the processes and how they work.", s.["Help"]]
|
||||
]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Welcome!"
|
||||
|
||||
|
||||
/// Privacy Policy page
|
||||
let privacyPolicy vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Home/PrivacyPolicy"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
|
||||
[ p [ _class "pt-right-text" ] [ small[] [ em [] [ raw l.["(as of July 31, 2018)"] ] ] ]
|
||||
p [] [
|
||||
raw l.["The nature of the service is one where privacy is a must."]
|
||||
space
|
||||
raw l.["The items below will help you understand the data we collect, access, and store on your behalf as you use this service."]
|
||||
]
|
||||
h3 [] [ raw l.["What We Collect"] ]
|
||||
ul [] [
|
||||
li [] [
|
||||
strong [] [ raw l.["Identifying Data"] ]
|
||||
rawText " – "
|
||||
raw l.["{0} stores the first and last names, e-mail addresses, and hashed passwords of all authorized users.", s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["Users are also associated with one or more small groups."]
|
||||
]
|
||||
li [] [
|
||||
strong [] [ raw l.["User Provided Data"] ]
|
||||
rawText " – "
|
||||
raw l.["{0} stores the text of prayer requests.", s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["It also stores names and e-mail addreses of small group members, and plain-text passwords for small groups with password-protected lists."]
|
||||
]
|
||||
]
|
||||
h3 [] [ raw l.["How Your Data Is Accessed / Secured"] ]
|
||||
ul [] [
|
||||
li [] [
|
||||
raw l.["While you are signed in, {0} utilizes a session cookie, and transmits that cookie to the server to establish your identity.",
|
||||
s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["If you utilize the “{0}” box on sign in, a second cookie is stored, and transmitted to establish a session; this cookie is removed by clicking the “{1}” link.",
|
||||
s.["Remember Me"], s.["Log Off"]]
|
||||
space
|
||||
raw l.["Both of these cookies are encrypted, both in your browser and in transit."]
|
||||
space
|
||||
raw l.["Finally, a third cookie is used to maintain your currently selected language, so that this selection is maintained across browser sessions."]
|
||||
]
|
||||
li [] [
|
||||
raw l.["Data for your small group is returned to you, as required, to display and edit."]
|
||||
space
|
||||
raw l.["{0} also sends e-mails on behalf of the configured owner of a small group; these e-mails are sent from prayer@djs-consulting.com, with the “Reply To” header set to the configured owner of the small group.",
|
||||
s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["Distinct e-mails are sent to each user, as to not disclose the other recipients."]
|
||||
space
|
||||
raw l.["On the server, all data is stored in a controlled-access database."]
|
||||
]
|
||||
li [] [
|
||||
raw l.["Your data is backed up, along with other Bit Badger Solutions hosted systems, in a rolling manner; backups are preserved for the prior 7 days, and backups from the 1st and 15th are preserved for 3 months."]
|
||||
space
|
||||
raw l.["These backups are stored in a private cloud data repository."]
|
||||
]
|
||||
li [] [
|
||||
raw l.["Access to servers and backups is strictly controlled and monitored for unauthorized access attempts."]
|
||||
]
|
||||
]
|
||||
h3 [] [ raw l.["Removing Your Data"] ]
|
||||
p [] [
|
||||
raw l.["At any time, you may choose to discontinue using {0}; just e-mail Daniel, as you did to register, and request deletion of your small group.",
|
||||
s.["PrayerTracker"]]
|
||||
]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Privacy Policy"
|
||||
|
||||
|
||||
/// Terms of Service page
|
||||
let termsOfService vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Home/TermsOfService"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
let ppLink =
|
||||
a [ _href "/legal/privacy-policy" ] [ encodedText (s.["Privacy Policy"].Value.ToLower ()) ]
|
||||
|> (renderHtmlNode >> HtmlString)
|
||||
|
||||
[ p [ _class "pt-right-text" ] [ small [] [ em [] [ raw l.["(as of May 24, 2018)"] ] ] ]
|
||||
h3 [] [ encodedText "1. "; raw l.["Acceptance of Terms"] ]
|
||||
p [] [
|
||||
raw l.["By accessing this web site, you are agreeing to be bound by these Terms and Conditions, and that you are responsible to ensure that your use of this site complies with all applicable laws."]
|
||||
space
|
||||
raw l.["Your continued use of this site implies your acceptance of these terms."]
|
||||
]
|
||||
h3 [] [ encodedText "2. "; raw l.["Description of Service and Registration"] ]
|
||||
p [] [
|
||||
raw l.["{0} is a service that allows individuals to enter and amend prayer requests on behalf of organizations.",
|
||||
s.["PrayerTracker"]]
|
||||
space
|
||||
raw l.["Registration is accomplished via e-mail to Daniel Summers (daniel at bitbadger dot solutions, substituting punctuation)."]
|
||||
space
|
||||
raw l.["See our {0} for details on the personal (user) information we maintain.", ppLink]
|
||||
]
|
||||
h3 [] [ encodedText "3. "; raw l.["Liability"] ]
|
||||
p [] [
|
||||
raw l.["This service is provided “as is”, and no warranty (express or implied) exists."]
|
||||
space
|
||||
raw l.["The service and its developers may not be held liable for any damages that may arise through the use of this service."]
|
||||
]
|
||||
h3 [] [ encodedText "4. "; raw l.["Updates to Terms"] ]
|
||||
p [] [
|
||||
raw l.["These terms and conditions may be updated at any time."]
|
||||
space
|
||||
raw l.["When these terms are updated, users will be notified by a system-generated announcement."]
|
||||
space
|
||||
raw l.["Additionally, the date at the top of this page will be updated."]
|
||||
]
|
||||
hr []
|
||||
p [] [ raw l.["You may also wish to review our {0} to learn how we handle your data.", ppLink] ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Terms of Service"
|
||||
|
||||
|
||||
/// View for unauthorized page
|
||||
let unauthorized vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Home/Unauthorized"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ p [] [
|
||||
raw l.["If you feel you have reached this page in error, please <a href=\"mailto:daniel@djs-consulting.com?Subject={0}%20Unauthorized%20Access\">contact Daniel</a> and provide the details as to what you were doing (i.e., what link did you click, where had you been, etc.).",
|
||||
s.["PrayerTracker"]]
|
||||
]
|
||||
p [] [
|
||||
raw l.["Otherwise, you may select one of the links above to get back into an authorized portion of {0}.",
|
||||
s.["PrayerTracker"]]
|
||||
]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Unauthorized Access"
|
||||
22
src/PrayerTracker.UI/I18N.fs
Normal file
22
src/PrayerTracker.UI/I18N.fs
Normal file
@@ -0,0 +1,22 @@
|
||||
/// Internationalization for PrayerTracker
|
||||
module PrayerTracker.Views.I18N
|
||||
|
||||
open Microsoft.AspNetCore.Mvc.Localization
|
||||
open Microsoft.Extensions.Localization
|
||||
open PrayerTracker
|
||||
|
||||
let mutable private stringLocFactory : IStringLocalizerFactory = null
|
||||
let mutable private htmlLocFactory : IHtmlLocalizerFactory = null
|
||||
let private resAsmName = typeof<Common>.Assembly.GetName().Name
|
||||
|
||||
/// Set up the string and HTML localizer factories
|
||||
let setUpFactories fac =
|
||||
stringLocFactory <- fac
|
||||
htmlLocFactory <- HtmlLocalizerFactory stringLocFactory
|
||||
|
||||
/// An instance of the common string localizer
|
||||
let localizer = lazy (stringLocFactory.Create ("Common", resAsmName))
|
||||
|
||||
/// Get a view localizer
|
||||
let forView (view : string) =
|
||||
htmlLocFactory.Create (sprintf "Views.%s" (view.Replace ('/', '.')), resAsmName)
|
||||
315
src/PrayerTracker.UI/Layout.fs
Normal file
315
src/PrayerTracker.UI/Layout.fs
Normal file
@@ -0,0 +1,315 @@
|
||||
/// Layout items for PrayerTracker
|
||||
module PrayerTracker.Views.Layout
|
||||
|
||||
open Giraffe.GiraffeViewEngine
|
||||
open PrayerTracker
|
||||
open PrayerTracker.ViewModels
|
||||
open System
|
||||
|
||||
/// Navigation items
|
||||
module Navigation =
|
||||
|
||||
open System.Globalization
|
||||
|
||||
/// Top navigation bar
|
||||
let top m =
|
||||
let s = PrayerTracker.Views.I18N.localizer.Force ()
|
||||
let menuSpacer = rawText " "
|
||||
let leftLinks = [
|
||||
match m.user with
|
||||
| Some u ->
|
||||
yield li [ _class "dropdown" ] [
|
||||
a [ _class "dropbtn"; _role "button"; _aria "label" s.["Requests"].Value; _title s.["Requests"].Value ]
|
||||
[ icon "question_answer"; space; encLocText s.["Requests"]; space; icon "keyboard_arrow_down" ]
|
||||
div [ _class "dropdown-content"; _role "menu" ] [
|
||||
a [ _href "/prayer-requests" ] [ icon "compare_arrows"; menuSpacer; encLocText s.["Maintain"] ]
|
||||
a [ _href "/prayer-requests/view" ] [ icon "list"; menuSpacer; encLocText s.["View List"] ]
|
||||
]
|
||||
]
|
||||
yield li [ _class "dropdown" ] [
|
||||
a [ _class "dropbtn"; _role "button"; _aria "label" s.["Group"].Value; _title s.["Group"].Value ]
|
||||
[ icon "group"; space; encLocText s.["Group"]; space; icon "keyboard_arrow_down" ]
|
||||
div [ _class "dropdown-content"; _role "menu" ] [
|
||||
a [ _href "/small-group/members" ] [ icon "email"; menuSpacer; encLocText s.["Maintain Group Members"] ]
|
||||
a [ _href "/small-group/announcement" ] [ icon "send"; menuSpacer; encLocText s.["Send Announcement"] ]
|
||||
a [ _href "/small-group/preferences" ] [ icon "build"; menuSpacer; encLocText s.["Change Preferences"] ]
|
||||
]
|
||||
]
|
||||
match u.isAdmin with
|
||||
| true ->
|
||||
yield li [ _class "dropdown" ] [
|
||||
a [ _class "dropbtn"; _role "button"; _aria "label" s.["Administration"].Value; _title s.["Administration"].Value ]
|
||||
[ icon "settings"; space; encLocText s.["Administration"]; space; icon "keyboard_arrow_down" ]
|
||||
div [ _class "dropdown-content"; _role "menu" ] [
|
||||
a [ _href "/churches" ] [ icon "home"; menuSpacer; encLocText s.["Churches"] ]
|
||||
a [ _href "/small-groups" ] [ icon "send"; menuSpacer; encLocText s.["Groups"] ]
|
||||
a [ _href "/users" ] [ icon "build"; menuSpacer; encLocText s.["Users"] ]
|
||||
]
|
||||
]
|
||||
| false -> ()
|
||||
| None ->
|
||||
match m.group with
|
||||
| Some _ ->
|
||||
yield li [] [
|
||||
a [ _href "/prayer-requests/view"
|
||||
_aria "label" s.["View Request List"].Value
|
||||
_title s.["View Request List"].Value ]
|
||||
[ icon "list"; space; encLocText s.["View Request List"] ]
|
||||
]
|
||||
| None ->
|
||||
yield li [ _class "dropdown" ] [
|
||||
a [ _class "dropbtn"; _role "button"; _aria "label" s.["Log On"].Value; _title s.["Log On"].Value ]
|
||||
[ icon "security"; space; encLocText s.["Log On"]; space; icon "keyboard_arrow_down" ]
|
||||
div [ _class "dropdown-content"; _role "menu" ] [
|
||||
a [ _href "/user/log-on" ] [ icon "person"; menuSpacer; encLocText s.["User"] ]
|
||||
a [ _href "/small-group/log-on" ] [ icon "group"; menuSpacer; encLocText s.["Group"] ]
|
||||
]
|
||||
]
|
||||
yield li [] [
|
||||
a [ _href "/prayer-requests/lists"
|
||||
_aria "label" s.["View Request List"].Value
|
||||
_title s.["View Request List"].Value ]
|
||||
[ icon "list"; space; encLocText s.["View Request List"] ]
|
||||
]
|
||||
yield li [] [
|
||||
a [ _href "/help"; _aria "label" s.["Help"].Value; _title s.["View Help"].Value ]
|
||||
[ icon "help"; space; encLocText s.["Help"] ]
|
||||
]
|
||||
]
|
||||
let rightLinks =
|
||||
match m.group with
|
||||
| Some _ ->
|
||||
[ match m.user with
|
||||
| Some _ ->
|
||||
yield li [] [
|
||||
a [ _href "/user/password"
|
||||
_aria "label" s.["Change Your Password"].Value
|
||||
_title s.["Change Your Password"].Value ]
|
||||
[ icon "lock"; space; encLocText s.["Change Your Password"] ]
|
||||
]
|
||||
| None -> ()
|
||||
yield li [] [
|
||||
a [ _href "/log-off"; _aria "label" s.["Log Off"].Value; _title s.["Log Off"].Value ]
|
||||
[ icon "power_settings_new"; space; encLocText s.["Log Off"] ]
|
||||
]
|
||||
]
|
||||
| None -> List.empty
|
||||
header [ _class "pt-title-bar" ] [
|
||||
section [ _class "pt-title-bar-left" ] [
|
||||
span [ _class "pt-title-bar-home" ] [
|
||||
a [ _href "/"; _title s.["Home"].Value ] [ encLocText s.["PrayerTracker"] ]
|
||||
]
|
||||
ul [] leftLinks
|
||||
]
|
||||
section [ _class "pt-title-bar-center" ] []
|
||||
section [ _class "pt-title-bar-right"; _role "toolbar" ] [
|
||||
ul [] rightLinks
|
||||
]
|
||||
]
|
||||
|
||||
/// Identity bar (below top nav)
|
||||
let identity m =
|
||||
let s = I18N.localizer.Force ()
|
||||
header [ _id "pt-language" ] [
|
||||
div [] [
|
||||
yield span [ _class "u" ] [ encLocText s.["Language"]; rawText ": " ]
|
||||
match CultureInfo.CurrentCulture.Name.StartsWith "es" with
|
||||
| true ->
|
||||
yield encLocText s.["Spanish"]
|
||||
yield rawText " • "
|
||||
yield a [ _href "/language/en" ] [ encLocText s.["Change to English"] ]
|
||||
| false ->
|
||||
yield encLocText s.["English"]
|
||||
yield rawText " • "
|
||||
yield a [ _href "/language/es" ] [ encLocText s.["Cambie a Español"] ]
|
||||
]
|
||||
match m.group with
|
||||
| Some g ->
|
||||
[ match m.user with
|
||||
| Some u ->
|
||||
yield span [ _class "u" ] [ encLocText s.["Currently Logged On"] ]
|
||||
yield rawText " "
|
||||
yield icon "person"
|
||||
yield strong [] [ encodedText u.fullName ]
|
||||
yield rawText " "
|
||||
| None ->
|
||||
yield encLocText s.["Logged On as a Member of"]
|
||||
yield rawText " "
|
||||
yield icon "group"
|
||||
yield space
|
||||
match m.user with
|
||||
| Some _ -> yield a [ _href "/small-group" ] [ strong [] [ encodedText g.name ] ]
|
||||
| None -> yield strong [] [ encodedText g.name ]
|
||||
yield rawText " "
|
||||
]
|
||||
| None -> []
|
||||
|> div []
|
||||
]
|
||||
|
||||
/// Content layouts
|
||||
module Content =
|
||||
/// Content layout that tops at 60rem
|
||||
let standard = div [ _class "pt-content" ]
|
||||
|
||||
/// Content layout that uses the full width of the browser window
|
||||
let wide = div [ _class "pt-content pt-full-width" ]
|
||||
|
||||
|
||||
/// Separator for parts of the title
|
||||
let private titleSep = rawText " « "
|
||||
|
||||
let private commonHead =
|
||||
[ meta [ _name "viewport"; _content "width=device-width, initial-scale=1" ]
|
||||
meta [ _name "generator"; _content "Giraffe" ]
|
||||
link [ _rel "stylesheet"; _href "https://fonts.googleapis.com/icon?family=Material+Icons" ]
|
||||
link [ _rel "stylesheet"; _href "/css/app.css" ]
|
||||
script [ _src "/js/app.js" ] []
|
||||
]
|
||||
|
||||
/// Render the <head> portion of the page
|
||||
let private htmlHead m pageTitle =
|
||||
let s = I18N.localizer.Force ()
|
||||
head [] [
|
||||
yield meta [ _charset "UTF-8" ]
|
||||
yield title [] [ encLocText pageTitle; titleSep; encLocText s.["PrayerTracker"] ]
|
||||
yield! commonHead
|
||||
for cssFile in m.style do
|
||||
yield link [ _rel "stylesheet"; _href (sprintf "/css/%s.css" cssFile); _type "text/css" ]
|
||||
for jsFile in m.script do
|
||||
yield script [ _src (sprintf "/js/%s.js" jsFile) ] []
|
||||
]
|
||||
|
||||
/// Render a link to the help page for the current page
|
||||
let private helpLink link =
|
||||
let s = I18N.localizer.Force ()
|
||||
sup [] [
|
||||
a [ _href (sprintf "/help/%s" link)
|
||||
_title s.["Click for Help on This Page"].Value
|
||||
_onclick (sprintf "return PT.showHelp('%s')" link) ] [
|
||||
icon "help_outline"
|
||||
]
|
||||
]
|
||||
|
||||
/// Render the page title, and optionally a help link
|
||||
let private renderPageTitle m pageTitle =
|
||||
h2 [ _id "pt-page-title" ] [
|
||||
match m.helpLink with
|
||||
| x when x = HelpPage.None -> ()
|
||||
| _ -> yield helpLink m.helpLink.Url
|
||||
yield encLocText pageTitle
|
||||
]
|
||||
|
||||
/// Render the messages that may need to be displayed to the user
|
||||
let private messages m =
|
||||
let s = I18N.localizer.Force ()
|
||||
m.messages
|
||||
|> List.map (fun msg ->
|
||||
table [ _class (sprintf "pt-msg %s" (msg.level.ToLower ())) ] [
|
||||
tr [] [
|
||||
td [] [
|
||||
match msg.level with
|
||||
| "Info" -> ()
|
||||
| lvl ->
|
||||
yield strong [] [ encLocText s.[lvl] ]
|
||||
yield rawText " » "
|
||||
yield rawText msg.text.Value
|
||||
match msg.description with
|
||||
| Some desc ->
|
||||
yield br []
|
||||
yield div [ _class "description" ] [ rawText desc.Value ]
|
||||
| None -> ()
|
||||
]
|
||||
]
|
||||
])
|
||||
|
||||
/// Render the <footer> at the bottom of the page
|
||||
let private htmlFooter m =
|
||||
let s = I18N.localizer.Force ()
|
||||
let imgText = sprintf "%O %O" s.["PrayerTracker"] s.["from Bit Badger Solutions"]
|
||||
let resultTime = TimeSpan(DateTime.Now.Ticks - m.requestStart).TotalSeconds
|
||||
footer [] [
|
||||
div [ _id "pt-legal" ] [
|
||||
a [ _href "/legal/privacy-policy" ] [ encLocText s.["Privacy Policy"] ]
|
||||
rawText " • "
|
||||
a [ _href "/legal/terms-of-service" ] [ encLocText s.["Terms of Service"] ]
|
||||
rawText " • "
|
||||
a [ _href "https://github.com/bit-badger/PrayerTracker"
|
||||
_title s.["View source code and get technical support"].Value
|
||||
_target "_blank"
|
||||
_rel "noopener" ] [
|
||||
encLocText s.["Source & Support"]
|
||||
]
|
||||
]
|
||||
div [ _id "pt-footer" ] [
|
||||
a [ _href "/"; _style "line-height:28px;" ] [
|
||||
img [ _src (sprintf "/img/%O.png" s.["footer_en"]); _alt imgText; _title imgText ]
|
||||
]
|
||||
encodedText m.version
|
||||
space
|
||||
i [ _title s.["This page loaded in {0:N3} seconds", resultTime].Value; _class "material-icons md-18" ] [
|
||||
encodedText "schedule"
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
/// The standard layout for PrayerTracker
|
||||
let standard m pageTitle content =
|
||||
let s = I18N.localizer.Force ()
|
||||
let ttl = s.[pageTitle]
|
||||
html [ _lang "" ] [
|
||||
htmlHead m ttl
|
||||
body [] [
|
||||
Navigation.top m
|
||||
div [ _id "pt-body" ] [
|
||||
yield Navigation.identity m
|
||||
yield renderPageTitle m ttl
|
||||
yield! messages m
|
||||
yield content
|
||||
yield htmlFooter m
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
/// A layout with nothing but a title and content
|
||||
let bare pageTitle content =
|
||||
let s = I18N.localizer.Force ()
|
||||
let ttl = s.[pageTitle]
|
||||
html [ _lang "" ] [
|
||||
head [] [
|
||||
meta [ _charset "UTF-8" ]
|
||||
title [] [ encLocText ttl; titleSep; encLocText s.["PrayerTracker"] ]
|
||||
]
|
||||
body [] [
|
||||
content
|
||||
]
|
||||
]
|
||||
|
||||
/// Help layout
|
||||
let help pageTitle content =
|
||||
let s = I18N.localizer.Force ()
|
||||
let ttl = s.[pageTitle]
|
||||
html [ _lang "" ] [
|
||||
head [] [
|
||||
yield meta [ _charset "UTF-8" ]
|
||||
yield title [] [ encLocText ttl; titleSep; encLocText s.["Help"]; titleSep; encLocText s.["PrayerTracker"] ]
|
||||
yield! commonHead
|
||||
yield link [ _rel "stylesheet"; _href "/css/help.css" ]
|
||||
]
|
||||
body [] [
|
||||
header [ _class "pt-title-bar" ] [
|
||||
section [ _class "pt-title-bar-left" ] [ encLocText s.["PrayerTracker"] ]
|
||||
section [ _class "pt-title-bar-right" ] [ encLocText s.["Help"] ]
|
||||
]
|
||||
div [ _class "pt-content" ] [
|
||||
yield h2 [] [ encLocText ttl ]
|
||||
yield! content
|
||||
yield p [ _class "pt-center-text" ] [
|
||||
a [ _href "#"
|
||||
_title s.["Click to Close This Window"].Value
|
||||
_onclick "window.close();return false" ] [
|
||||
tag "big" [] [ icon "cancel"; space; encLocText s.["Close Window"] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
322
src/PrayerTracker.UI/PrayerRequest.fs
Normal file
322
src/PrayerTracker.UI/PrayerRequest.fs
Normal file
@@ -0,0 +1,322 @@
|
||||
module PrayerTracker.Views.PrayerRequest
|
||||
|
||||
open Giraffe
|
||||
open Giraffe.GiraffeViewEngine
|
||||
open Microsoft.AspNetCore.Http
|
||||
open NodaTime
|
||||
open PrayerTracker
|
||||
open PrayerTracker.Entities
|
||||
open PrayerTracker.ViewModels
|
||||
open System
|
||||
open System.IO
|
||||
open System.Text
|
||||
|
||||
/// View for the prayer request edit page
|
||||
let edit (m : EditRequest) today ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let pageTitle = match m.isNew () with true -> "Add a New Request" | false -> "Edit Request"
|
||||
[ form [ _action "/prayer-request/save"; _method "post"; _class "pt-center-columns" ] [
|
||||
csrfToken ctx
|
||||
input [ _type "hidden"; _name "requestId"; _value (m.requestId.ToString "N") ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
yield div [ _class "pt-field" ] [
|
||||
label [ _for "requestType" ] [ encLocText s.["Request Type"] ]
|
||||
ReferenceList.requestTypeList s
|
||||
|> Seq.ofList
|
||||
|> Seq.map (fun item -> fst item, (snd item).Value)
|
||||
|> selectList "requestType" m.requestType [ _required; _autofocus ]
|
||||
]
|
||||
yield div [ _class "pt-field" ] [
|
||||
label [ _for "requestor" ] [ encLocText s.["Requestor / Subject"] ]
|
||||
input [ _type "text"
|
||||
_name "requestor"
|
||||
_id "requestor"
|
||||
_value (match m.requestor with Some x -> x | None -> "") ]
|
||||
]
|
||||
match m.isNew () with
|
||||
| true ->
|
||||
yield div [ _class "pt-field" ] [
|
||||
label [ _for "enteredDate" ] [ encLocText s.["Date"] ]
|
||||
input [ _type "date"; _name "enteredDate"; _id "enteredDate"; _placeholder today ]
|
||||
]
|
||||
| false ->
|
||||
yield div [ _class "pt-field" ] [
|
||||
div [ _class "pt-checkbox-field" ] [
|
||||
br []
|
||||
input [ _type "checkbox"; _name "skipDateUpdate"; _id "skipDateUpdate"; _value "True" ]
|
||||
label [ _for "skipDateUpdate" ] [ encLocText s.["Check to not update the date"] ]
|
||||
br []
|
||||
small [] [ em [] [ encodedText (s.["Typo Corrections"].Value.ToLower ()); rawText ", etc." ] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [] [ encLocText s.["Expiration"] ]
|
||||
ReferenceList.expirationList s ((m.isNew >> not) ())
|
||||
|> List.map (fun exp ->
|
||||
let radioId = sprintf "expiration_%s" (fst exp)
|
||||
span [ _class "text-nowrap" ] [
|
||||
radio "expiration" radioId (fst exp) m.expiration
|
||||
label [ _for radioId ] [ encLocText (snd exp) ]
|
||||
rawText " "
|
||||
])
|
||||
|> div [ _class "pt-center-text" ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field pt-editor" ] [
|
||||
label [ _for "text" ] [ encLocText s.["Request"] ]
|
||||
textarea [ _name "text"; _id "text" ] [ encodedText m.text ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [ submit [] "save" s.["Save Request"] ]
|
||||
]
|
||||
script [] [ rawText "PT.onLoad(PT.initCKEditor)" ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi pageTitle
|
||||
|
||||
/// View for the request e-mail results page
|
||||
let email m vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let pageTitle = sprintf "%s • %s" s.["Prayer Requests"].Value m.listGroup.name
|
||||
let prefs = m.listGroup.preferences
|
||||
let addresses =
|
||||
m.recipients
|
||||
|> List.fold (fun (acc : StringBuilder) mbr -> acc.AppendFormat(", {0} <{1}>", mbr.memberName, mbr.email))
|
||||
(StringBuilder ())
|
||||
[ p [ _style (sprintf "font-family:%s;font-size:%ipt;" prefs.listFonts prefs.textFontSize) ] [
|
||||
encLocText s.["The request list was sent to the following people, via individual e-mails"]
|
||||
rawText ":"
|
||||
br []
|
||||
small [] [ encodedText (addresses.Remove(0, 2).ToString ()) ]
|
||||
]
|
||||
span [ _class "pt-email-heading" ] [ encLocText s.["HTML Format"]; rawText ":" ]
|
||||
div [ _class "pt-email-canvas" ] [ rawText (m.asHtml s) ]
|
||||
br []
|
||||
br []
|
||||
span [ _class "pt-email-heading" ] [ encLocText s.["Plain-Text Format"]; rawText ":" ]
|
||||
div[ _class "pt-email-canvas" ] [ pre [] [ encodedText (m.asText s) ] ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi pageTitle
|
||||
|
||||
|
||||
/// View for a small group's public prayer request list
|
||||
let list (m : RequestList) vi =
|
||||
[ br []
|
||||
I18N.localizer.Force () |> (m.asHtml >> rawText)
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "View Request List"
|
||||
|
||||
|
||||
/// View for the prayer request lists page
|
||||
let lists (grps : SmallGroup list) vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "Requests/Lists"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ yield p [] [
|
||||
raw l.["The groups listed below have either public or password-protected request lists."]
|
||||
space
|
||||
raw l.["Those with list icons are public, and those with log on icons are password-protected."]
|
||||
space
|
||||
raw l.["Click the appropriate icon to log on or view the request list."]
|
||||
]
|
||||
match grps.Length with
|
||||
| 0 -> yield p [] [ raw l.["There are no groups with public or password-protected request lists."] ]
|
||||
| count ->
|
||||
yield tableSummary count s
|
||||
yield table [ _class "pt-table pt-action-table" ] [
|
||||
thead [] [
|
||||
tr [] [
|
||||
th [] [ encLocText s.["Actions"] ]
|
||||
th [] [ encLocText s.["Church"] ]
|
||||
th [] [ encLocText s.["Group"] ]
|
||||
]
|
||||
]
|
||||
grps
|
||||
|> List.map (fun grp ->
|
||||
let grpId = grp.smallGroupId.ToString "N"
|
||||
tr [] [
|
||||
match grp.preferences.isPublic with
|
||||
| true ->
|
||||
a [ _href (sprintf "/prayer-requests/%s/list" grpId); _title s.["View"].Value ] [ icon "list" ]
|
||||
| false ->
|
||||
a [ _href (sprintf "/small-group/log-on/%s" grpId); _title s.["Log On"].Value ]
|
||||
[ icon "verified_user" ]
|
||||
|> List.singleton
|
||||
|> td []
|
||||
td [] [ encodedText grp.church.name ]
|
||||
td [] [ encodedText grp.name ]
|
||||
])
|
||||
|> tbody []
|
||||
]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Request Lists"
|
||||
|
||||
|
||||
/// View for the prayer request maintenance page
|
||||
let maintain (reqs : PrayerRequest seq) (grp : SmallGroup) onlyActive (ctx : HttpContext) vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let now = grp.localDateNow (ctx.GetService<IClock> ())
|
||||
let typs = ReferenceList.requestTypeList s |> Map.ofList
|
||||
let updReq (req : PrayerRequest) =
|
||||
match req.updateRequired now grp.preferences.daysToExpire grp.preferences.longTermUpdateWeeks with
|
||||
| true -> "pt-request-update"
|
||||
| false -> ""
|
||||
|> _class
|
||||
let reqExp (req : PrayerRequest) =
|
||||
_class (match req.isExpired now grp.preferences.daysToExpire with true -> "pt-request-expired" | false -> "")
|
||||
/// Iterate the sequence once, before we render, so we can get the count of it at the top of the table
|
||||
let requests =
|
||||
reqs
|
||||
|> Seq.map (fun req ->
|
||||
let reqId = req.prayerRequestId.ToString "N"
|
||||
let reqText = Utils.htmlToPlainText req.text
|
||||
let delAction = sprintf "/prayer-request/%s/delete" reqId
|
||||
let delPrompt = s.["Are you want to delete this prayer request? This action cannot be undone.\\n(If the prayer request has been answered, or an event has passed, consider inactivating it instead.)"].Value
|
||||
tr [] [
|
||||
td [] [
|
||||
yield a [ _href (sprintf "/prayer-request/%s/edit" reqId); _title s.["Edit This Prayer Request"].Value ]
|
||||
[ icon "edit" ]
|
||||
match req.isExpired now grp.preferences.daysToExpire with
|
||||
| true ->
|
||||
yield a [ _href (sprintf "/prayer-request/%s/restore" reqId)
|
||||
_title s.["Restore This Inactive Request"].Value ]
|
||||
[ icon "visibility" ]
|
||||
| false ->
|
||||
yield a [ _href (sprintf "/prayer-request/%s/expire" reqId)
|
||||
_title s.["Expire This Request Immediately"].Value ]
|
||||
[ icon "visibility_off" ]
|
||||
yield a [ _href delAction; _title s.["Delete This Request"].Value;
|
||||
_onclick (sprintf "return PT.confirmDelete('%s','%s')" delAction delPrompt) ]
|
||||
[ icon "delete_forever" ]
|
||||
]
|
||||
td [ updReq req ] [
|
||||
encodedText (req.updatedDate.ToString(s.["MMMM d, yyyy"].Value,
|
||||
System.Globalization.CultureInfo.CurrentUICulture))
|
||||
]
|
||||
td [] [ encLocText typs.[req.requestType] ]
|
||||
td [ reqExp req ] [ encodedText (match req.requestor with Some r -> r | None -> " ") ]
|
||||
td [] [
|
||||
yield
|
||||
match 60 > reqText.Length with
|
||||
| true -> rawText reqText
|
||||
| false -> rawText (sprintf "%s…" (reqText.Substring (0, 60)))
|
||||
]
|
||||
])
|
||||
|> List.ofSeq
|
||||
[ div [ _class "pt-center-text" ] [
|
||||
br []
|
||||
a [ _href (sprintf "/prayer-request/%s/edit" emptyGuid); _title s.["Add a New Request"].Value ]
|
||||
[ icon "add_circle"; rawText " "; encLocText s.["Add a New Request"] ]
|
||||
rawText " "
|
||||
a [ _href "/prayer-requests/view"; _title s.["View Prayer Request List"].Value ]
|
||||
[ icon "list"; rawText " "; encLocText s.["View Prayer Request List"] ]
|
||||
br []
|
||||
br []
|
||||
]
|
||||
tableSummary requests.Length s
|
||||
table [ _class "pt-table pt-action-table" ] [
|
||||
thead [] [
|
||||
tr [] [
|
||||
th [] [ encLocText s.["Actions"] ]
|
||||
th [] [ encLocText s.["Updated Date"] ]
|
||||
th [] [ encLocText s.["Type"] ]
|
||||
th [] [ encLocText s.["Requestor"] ]
|
||||
th [] [ encLocText s.["Request"] ]
|
||||
]
|
||||
]
|
||||
tbody [] requests
|
||||
]
|
||||
div [ _class "pt-center-text" ] [
|
||||
yield br []
|
||||
match onlyActive with
|
||||
| true ->
|
||||
yield encLocText s.["Inactive requests are currently not shown"]
|
||||
yield br []
|
||||
yield a [ _href "/prayer-requests/inactive" ] [ encLocText s.["Show Inactive Requests"] ]
|
||||
| false ->
|
||||
yield encLocText s.["Inactive requests are currently shown"]
|
||||
yield br []
|
||||
yield a [ _href "/prayer-requests" ] [ encLocText s.["Do Not Show Inactive Requests"] ]
|
||||
]
|
||||
form [ _id "DeleteForm"; _action ""; _method "post" ] [ csrfToken ctx ]
|
||||
]
|
||||
|> Layout.Content.wide
|
||||
|> Layout.standard vi "Maintain Requests"
|
||||
|
||||
|
||||
/// View for the printable prayer request list
|
||||
let print m version =
|
||||
let s = I18N.localizer.Force ()
|
||||
let pageTitle = sprintf "%s • %s" s.["Prayer Requests"].Value m.listGroup.name
|
||||
let imgAlt = sprintf "%s %s" s.["PrayerTracker"].Value s.["from Bit Badger Solutions"].Value
|
||||
article [] [
|
||||
rawText (m.asHtml s)
|
||||
br []
|
||||
hr []
|
||||
div [ _style "font-size:70%;font-family:@Model.ListGroup.preferences.listFonts;" ] [
|
||||
img [ _src (sprintf "/img/%s.png" s.["footer_en"].Value)
|
||||
_style "vertical-align:text-bottom;"
|
||||
_alt imgAlt
|
||||
_title imgAlt ]
|
||||
space
|
||||
encodedText version
|
||||
]
|
||||
]
|
||||
|> Layout.bare pageTitle
|
||||
|
||||
|
||||
/// View for the prayer request list
|
||||
let view m vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let pageTitle = sprintf "%s • %s" s.["Prayer Requests"].Value m.listGroup.name
|
||||
let spacer = rawText " "
|
||||
let dtString = m.date.ToString "yyyy-MM-dd"
|
||||
[ div [ _class "pt-center-text" ] [
|
||||
yield br []
|
||||
yield a [ _class "pt-icon-link"
|
||||
_href (sprintf "/prayer-requests/print/%s" dtString)
|
||||
_title s.["View Printable"].Value ] [
|
||||
icon "print"; rawText " "; encLocText s.["View Printable"]
|
||||
]
|
||||
match m.canEmail with
|
||||
| true ->
|
||||
yield spacer
|
||||
match m.date.DayOfWeek = DayOfWeek.Sunday with
|
||||
| true -> ()
|
||||
| false ->
|
||||
let rec findSunday (date : DateTime) =
|
||||
match date.DayOfWeek = DayOfWeek.Sunday with
|
||||
| true -> date
|
||||
| false -> findSunday (date.AddDays 1.)
|
||||
let sunday = findSunday m.date
|
||||
yield a [ _class "pt-icon-link"
|
||||
_href (sprintf "/prayer-requests/view/%s" (sunday.ToString "yyyy-MM-dd"))
|
||||
_title s.["List for Next Sunday"].Value ] [
|
||||
icon "update"; rawText " "; encLocText s.["List for Next Sunday"]
|
||||
]
|
||||
yield spacer
|
||||
let emailPrompt = s.["This will e-mail the current list to every member of your class, without further prompting. Are you sure this is what you are ready to do?"].Value
|
||||
yield a [ _class "pt-icon-link"
|
||||
_href (sprintf "/prayer-requests/email/%s" dtString)
|
||||
_title s.["Send via E-mail"].Value
|
||||
_onclick (sprintf "return PT.requests.view.promptBeforeEmail('%s')" emailPrompt) ] [
|
||||
icon "mail_outline"; rawText " "; encLocText s.["Send via E-mail"]
|
||||
]
|
||||
yield spacer
|
||||
yield a [ _class "pt-icon-link"; _href "/prayer-requests"; _title s.["Maintain Prayer Requests"].Value ] [
|
||||
icon "compare_arrows"; rawText " "; encLocText s.["Maintain Prayer Requests"]
|
||||
]
|
||||
| false -> ()
|
||||
]
|
||||
br []
|
||||
rawText (m.asHtml s)
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi pageTitle
|
||||
95
src/PrayerTracker.UI/PrayerTracker.UI.fsproj
Normal file
95
src/PrayerTracker.UI/PrayerTracker.UI.fsproj
Normal file
@@ -0,0 +1,95 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<AssemblyVersion>7.0.0.0</AssemblyVersion>
|
||||
<FileVersion>7.0.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Utils.fs" />
|
||||
<Compile Include="ViewModels.fs" />
|
||||
<Compile Include="I18N.fs" />
|
||||
<Compile Include="CommonFunctions.fs" />
|
||||
<Compile Include="Layout.fs" />
|
||||
<Compile Include="Church.fs" />
|
||||
<Compile Include="Help.fs" />
|
||||
<Compile Include="Home.fs" />
|
||||
<Compile Include="PrayerRequest.fs" />
|
||||
<Compile Include="SmallGroup.fs" />
|
||||
<Compile Include="User.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Giraffe" Version="3.1.0" />
|
||||
<PackageReference Include="MailKit" Version="2.0.6" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Html.Abstractions" Version="2.1.1" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.1.1" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Http.Extensions" Version="2.1.1" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.3" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\PrayerTracker.Data\PrayerTracker.Data.fsproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Resources\Common.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Help\Group\Announcement.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Help\Group\Members.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Help\Group\Preferences.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Help\Requests\Edit.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Help\Requests\Maintain.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Help\Requests\View.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Help\User\LogOn.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Help\User\Password.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Help\Index.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Home\Error.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Home\Index.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Home\NotAuthorized.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Home\PrivacyPolicy.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Home\TermsOfService.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\Requests\Lists.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\Views\SmallGroup\Preferences.es.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Update="FSharp.Core" Version="4.5.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
849
src/PrayerTracker.UI/Resources/Common.es.resx
Normal file
849
src/PrayerTracker.UI/Resources/Common.es.resx
Normal file
@@ -0,0 +1,849 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Actions" xml:space="preserve">
|
||||
<value>Acciones</value>
|
||||
</data>
|
||||
<data name="Add / Edit a Request" xml:space="preserve">
|
||||
<value>Agregar / Editar una Petición</value>
|
||||
</data>
|
||||
<data name="Add a New Church" xml:space="preserve">
|
||||
<value>Agregar una Iglesia Nueva</value>
|
||||
</data>
|
||||
<data name="Add a New Group Member" xml:space="preserve">
|
||||
<value>Añadir un Nuevo Miembro del Grupo</value>
|
||||
</data>
|
||||
<data name="Added" xml:space="preserve">
|
||||
<value>Agregado</value>
|
||||
</data>
|
||||
<data name="Administration" xml:space="preserve">
|
||||
<value>Administración</value>
|
||||
</data>
|
||||
<data name="and added it to the request list" xml:space="preserve">
|
||||
<value>y agregado a la lista de peticiones</value>
|
||||
</data>
|
||||
<data name="Announcement for {0} - {1:MMMM d, yyyy} {2}" xml:space="preserve">
|
||||
<value>Anuncio para {0} - {1:MMMM d, yyyy} {2}</value>
|
||||
</data>
|
||||
<data name="Announcements" xml:space="preserve">
|
||||
<value>Anuncios</value>
|
||||
</data>
|
||||
<data name="Aqua" xml:space="preserve">
|
||||
<value>Verde Azulado Brillante</value>
|
||||
</data>
|
||||
<data name="Are you want to delete this {0}? This action cannot be undone." xml:space="preserve">
|
||||
<value>¿Está desea eliminar este {0}? Esta acción no se puede deshacer.</value>
|
||||
</data>
|
||||
<data name="Attached PDF" xml:space="preserve">
|
||||
<value>PDF Adjunto</value>
|
||||
</data>
|
||||
<data name="Black" xml:space="preserve">
|
||||
<value>Negro</value>
|
||||
</data>
|
||||
<data name="Blue" xml:space="preserve">
|
||||
<value>Azul</value>
|
||||
</data>
|
||||
<data name="Change Preferences" xml:space="preserve">
|
||||
<value>Cambiar las Preferencias</value>
|
||||
</data>
|
||||
<data name="Change to English" xml:space="preserve">
|
||||
<value>Change to English</value>
|
||||
</data>
|
||||
<data name="Change Your Password" xml:space="preserve">
|
||||
<value>Cambiar Su Contraseña</value>
|
||||
</data>
|
||||
<data name="Check to not update the date" xml:space="preserve">
|
||||
<value>Seleccionar para no actualizar la fecha</value>
|
||||
</data>
|
||||
<data name="Church" xml:space="preserve">
|
||||
<value>Iglesia</value>
|
||||
</data>
|
||||
<data name="Churches" xml:space="preserve">
|
||||
<value>Iglesias</value>
|
||||
</data>
|
||||
<data name="Click for Help on This Page" xml:space="preserve">
|
||||
<value>Haga Clic para Obtener Ayuda en Esta Página</value>
|
||||
</data>
|
||||
<data name="Click to Close This Window" xml:space="preserve">
|
||||
<value>Haga Clic para Cerrar Esta Ventana</value>
|
||||
</data>
|
||||
<data name="Close Window" xml:space="preserve">
|
||||
<value>Cerrar Esta Ventana</value>
|
||||
</data>
|
||||
<data name="Current Requests" xml:space="preserve">
|
||||
<value>Peticiones Actuales</value>
|
||||
</data>
|
||||
<data name="Currently Logged On" xml:space="preserve">
|
||||
<value>Conectado como</value>
|
||||
</data>
|
||||
<data name="Delete This Church" xml:space="preserve">
|
||||
<value>Eliminar Este Iglesia</value>
|
||||
</data>
|
||||
<data name="Delete This Group Member" xml:space="preserve">
|
||||
<value>Eliminar Este Miembro del Grupo</value>
|
||||
</data>
|
||||
<data name="Displaying {0} Entries" xml:space="preserve">
|
||||
<value>Mostrando {0} Entradas</value>
|
||||
</data>
|
||||
<data name="Displaying {0} Entry" xml:space="preserve">
|
||||
<value>Mostrando {0} Entrada</value>
|
||||
</data>
|
||||
<data name="E-mail Address" xml:space="preserve">
|
||||
<value>Dirección de Correo Electrónico</value>
|
||||
</data>
|
||||
<data name="Edit Church" xml:space="preserve">
|
||||
<value>Editar la Iglesia</value>
|
||||
</data>
|
||||
<data name="Edit This Church" xml:space="preserve">
|
||||
<value>Editar Este Iglesia</value>
|
||||
</data>
|
||||
<data name="Edit This Group Member" xml:space="preserve">
|
||||
<value>Editar Este Miembro del Grupo</value>
|
||||
</data>
|
||||
<data name="English" xml:space="preserve">
|
||||
<value>Inglés</value>
|
||||
</data>
|
||||
<data name="Expecting" xml:space="preserve">
|
||||
<value>Embarazada</value>
|
||||
</data>
|
||||
<data name="Expire Immediately" xml:space="preserve">
|
||||
<value>Expirará Inmediatamente</value>
|
||||
</data>
|
||||
<data name="Expire Normally" xml:space="preserve">
|
||||
<value>Expirará Normalmente</value>
|
||||
</data>
|
||||
<data name="footer_en" xml:space="preserve">
|
||||
<value>footer_es</value>
|
||||
</data>
|
||||
<data name="Format" xml:space="preserve">
|
||||
<value>Formato</value>
|
||||
</data>
|
||||
<data name="from Bit Badger Solutions" xml:space="preserve">
|
||||
<value>de Soluciones Bit Badger</value>
|
||||
</data>
|
||||
<data name="Fuchsia" xml:space="preserve">
|
||||
<value>Fucsia</value>
|
||||
</data>
|
||||
<data name="Generated by P R A Y E R T R A C K E R" xml:space="preserve">
|
||||
<value>Generado por S E G U I D O R O R A C I Ó N</value>
|
||||
</data>
|
||||
<data name="Gray" xml:space="preserve">
|
||||
<value>Gris</value>
|
||||
</data>
|
||||
<data name="Green" xml:space="preserve">
|
||||
<value>Verde</value>
|
||||
</data>
|
||||
<data name="Group" xml:space="preserve">
|
||||
<value>Grupo</value>
|
||||
</data>
|
||||
<data name="Group Default" xml:space="preserve">
|
||||
<value>Grupo Predeterminada</value>
|
||||
</data>
|
||||
<data name="Group Members" xml:space="preserve">
|
||||
<value>Los Miembros del Grupo</value>
|
||||
</data>
|
||||
<data name="Group preferences updated successfully" xml:space="preserve">
|
||||
<value>Las preferencias del grupo actualizaron con éxito</value>
|
||||
</data>
|
||||
<data name="Groups" xml:space="preserve">
|
||||
<value>Grupos</value>
|
||||
</data>
|
||||
<data name="Help" xml:space="preserve">
|
||||
<value>Ayuda</value>
|
||||
</data>
|
||||
<data name="Help Topics" xml:space="preserve">
|
||||
<value>Los Temas de Ayuda</value>
|
||||
</data>
|
||||
<data name="HTML Format" xml:space="preserve">
|
||||
<value>Formato HTML</value>
|
||||
</data>
|
||||
<data name="Interface?" xml:space="preserve">
|
||||
<value>¿Interfaz?</value>
|
||||
</data>
|
||||
<data name="Invalid credentials - log on unsuccessful" xml:space="preserve">
|
||||
<value>Credenciales no válidas - de inicio de sesión sin éxito</value>
|
||||
</data>
|
||||
<data name="Language" xml:space="preserve">
|
||||
<value>Lengua</value>
|
||||
</data>
|
||||
<data name="Lime" xml:space="preserve">
|
||||
<value>Lima</value>
|
||||
</data>
|
||||
<data name="Location" xml:space="preserve">
|
||||
<value>Ubicación</value>
|
||||
</data>
|
||||
<data name="Log Off" xml:space="preserve">
|
||||
<value>Cierre de Sesión</value>
|
||||
</data>
|
||||
<data name="Log On" xml:space="preserve">
|
||||
<value>Iniciar Sesión</value>
|
||||
</data>
|
||||
<data name="Log On Successful • Welcome to {0}" xml:space="preserve">
|
||||
<value>Iniciar Sesión con Éxito • Bienvenido a {0}</value>
|
||||
</data>
|
||||
<data name="Log Off Successful • Have a nice day!" xml:space="preserve">
|
||||
<value>Cerrar la Sesión con Éxito • ¡Tener un Buen Día!</value>
|
||||
</data>
|
||||
<data name="Logged On as a Member of" xml:space="preserve">
|
||||
<value>Conectado como Miembro de</value>
|
||||
</data>
|
||||
<data name="Long-Term Requests" xml:space="preserve">
|
||||
<value>Peticiones a Largo Plazo</value>
|
||||
</data>
|
||||
<data name="Maintain" xml:space="preserve">
|
||||
<value>Mantener</value>
|
||||
</data>
|
||||
<data name="Maintain Churches" xml:space="preserve">
|
||||
<value>Mantener las Iglesias</value>
|
||||
</data>
|
||||
<data name="Maintain Group Members" xml:space="preserve">
|
||||
<value>Mantener los Miembros del Grupo</value>
|
||||
</data>
|
||||
<data name="Maintain Requests" xml:space="preserve">
|
||||
<value>Mantener las Peticiones</value>
|
||||
</data>
|
||||
<data name="Maroon" xml:space="preserve">
|
||||
<value>Granate</value>
|
||||
</data>
|
||||
<data name="Name" xml:space="preserve">
|
||||
<value>Nombre</value>
|
||||
</data>
|
||||
<data name="Navy" xml:space="preserve">
|
||||
<value>Azul Oscuro</value>
|
||||
</data>
|
||||
<data name="No Entries to Display" xml:space="preserve">
|
||||
<value>No hay Entradas para Mostrar</value>
|
||||
</data>
|
||||
<data name="Olive" xml:space="preserve">
|
||||
<value>Oliva</value>
|
||||
</data>
|
||||
<data name="Password incorrect - login unsuccessful" xml:space="preserve">
|
||||
<value>Contraseña incorrecta - de inicio de sesión sin éxito</value>
|
||||
</data>
|
||||
<data name="Plain-Text Format" xml:space="preserve">
|
||||
<value>Formato de Texto Plano</value>
|
||||
</data>
|
||||
<data name="Please select at least one group for which this user ({0}) is authorized" xml:space="preserve">
|
||||
<value>Por favor, seleccione al menos uno grupo para la que este usuario ({0}) puede iniciar sesión en</value>
|
||||
</data>
|
||||
<data name="Praise Reports" xml:space="preserve">
|
||||
<value>Informes de Alabanza</value>
|
||||
</data>
|
||||
<data name="Prayer Requests for {0} - {1:MMMM d, yyyy}" xml:space="preserve">
|
||||
<value>Las Peticiones de Oración para {0} - {1:MMMM d, yyyy}</value>
|
||||
</data>
|
||||
<data name="PrayerTracker" xml:space="preserve">
|
||||
<value>SeguidorOración</value>
|
||||
</data>
|
||||
<data name="Purple" xml:space="preserve">
|
||||
<value>Púrpura</value>
|
||||
</data>
|
||||
<data name="Red" xml:space="preserve">
|
||||
<value>Rojo</value>
|
||||
</data>
|
||||
<data name="Request Never Expires" xml:space="preserve">
|
||||
<value>Petición no Expira Nunca</value>
|
||||
</data>
|
||||
<data name="Requests" xml:space="preserve">
|
||||
<value>Peticiones</value>
|
||||
</data>
|
||||
<data name="Sample" xml:space="preserve">
|
||||
<value>Muestra</value>
|
||||
</data>
|
||||
<data name="Save Church" xml:space="preserve">
|
||||
<value>Guardar la Iglesia</value>
|
||||
</data>
|
||||
<data name="Select" xml:space="preserve">
|
||||
<value>Seleccionar</value>
|
||||
</data>
|
||||
<data name="Send Announcement" xml:space="preserve">
|
||||
<value>Enviar un Anuncio</value>
|
||||
</data>
|
||||
<data name="Silver" xml:space="preserve">
|
||||
<value>Plata</value>
|
||||
</data>
|
||||
<data name="Sorry, an error occurred while processing your request." xml:space="preserve">
|
||||
<value>Lo sentimos, ha ocurrido un error al procesar su solicitud.</value>
|
||||
</data>
|
||||
<data name="Spanish" xml:space="preserve">
|
||||
<value>Español</value>
|
||||
</data>
|
||||
<data name="Successfully deleted user {0}" xml:space="preserve">
|
||||
<value>Eliminado correctamente de usuario {0}</value>
|
||||
</data>
|
||||
<data name="Successfully sent announcement to all {0}{1}" xml:space="preserve">
|
||||
<value>Enviado anuncio a todos {0}{1} con éxito</value>
|
||||
</data>
|
||||
<data name="Successfully updated group permissions for {0}" xml:space="preserve">
|
||||
<value>Actualizado permisos del grupo para {0} con éxito</value>
|
||||
</data>
|
||||
<data name="Successfully {0} group member" xml:space="preserve">
|
||||
<value>El miembro del grupo {0} con éxito</value>
|
||||
</data>
|
||||
<data name="Successfully {0} prayer request" xml:space="preserve">
|
||||
<value>Petición la oración {0} con éxito</value>
|
||||
</data>
|
||||
<data name="Successfully {0} user" xml:space="preserve">
|
||||
<value>Usuario {0} con éxito</value>
|
||||
</data>
|
||||
<data name="Teal" xml:space="preserve">
|
||||
<value>Verde Azulado</value>
|
||||
</data>
|
||||
<data name="The group member “{0}” was deleted successfully" xml:space="preserve">
|
||||
<value>El miembro del grupo “{0}” se eliminó con éxito</value>
|
||||
</data>
|
||||
<data name="The group {0} and its {1} prayer request(s) was deleted successfully (revoked access from {2} user(s))" xml:space="preserve">
|
||||
<value>El grupo {0} y sus {1} peticion(es) de oración se ha eliminado correctamente (acceso revocada por {2} usuario(s))</value>
|
||||
</data>
|
||||
<data name="The old password was incorrect - your password was NOT changed" xml:space="preserve">
|
||||
<value>La contraseña antigua es incorrecta - la contraseña NO ha cambiado</value>
|
||||
</data>
|
||||
<data name="The page you requested requires authentication; please log on below." xml:space="preserve">
|
||||
<value>La página solicitada requiere autenticación, por favor, inicio de sesión mediante el siguiente formulario.</value>
|
||||
</data>
|
||||
<data name="The prayer request was deleted successfully" xml:space="preserve">
|
||||
<value>La petición de oración se ha eliminado correctamente</value>
|
||||
</data>
|
||||
<data name="The prayer request you tried to access is not assigned to your group" xml:space="preserve">
|
||||
<value>La petición de oración que ha intentado acceder no se ha asignado a su grupo</value>
|
||||
</data>
|
||||
<data name="The request list for the group you tried to view is not public." xml:space="preserve">
|
||||
<value>La lista de peticiones para el grupo que desea ver no es pública.</value>
|
||||
</data>
|
||||
<data name="There are no classes with passwords defined" xml:space="preserve">
|
||||
<value>No hay clases con contraseñas se define</value>
|
||||
</data>
|
||||
<data name="This is likely due to one of the following reasons:<ul><li>The e-mail address “{0}” is invalid.</li><li>The password entered does not match the password for the given e-mail address.</li><li>You are not authorized to administer the group “{1}”.</li></ul>" xml:space="preserve">
|
||||
<value>Esto es probablemente debido a una de las siguientes razones:<ul><li>La dirección de correo electrónico “{0}” no es válida.</li><li>La contraseña introducida no coincide con la contraseña de la determinada dirección de correo electrónico.</li><li>Usted no está autorizado para administrar el grupo “{1}”.</li></ul></value>
|
||||
</data>
|
||||
<data name="This page loaded in {0:N3} seconds" xml:space="preserve">
|
||||
<value>Esta página cargada en {0:N3} segundos</value>
|
||||
</data>
|
||||
<data name="This request is expired." xml:space="preserve">
|
||||
<value>Esta petición ha expirado.</value>
|
||||
</data>
|
||||
<data name="To make it active again, update it as necessary, leave “{0}” and “{1}” unchecked, and it will return as an active request." xml:space="preserve">
|
||||
<value>Para que sea más activa de nuevo, que se actualizará cuando sea necesario, salir de “{0}” y “{1}” no seleccionado, y volverá como una petición activa.</value>
|
||||
</data>
|
||||
<data name="Toggle Navigation" xml:space="preserve">
|
||||
<value>Navegación de Palanca</value>
|
||||
</data>
|
||||
<data name="Updated" xml:space="preserve">
|
||||
<value>Actualizaron</value>
|
||||
</data>
|
||||
<data name="User" xml:space="preserve">
|
||||
<value>Usuario</value>
|
||||
</data>
|
||||
<data name="Users" xml:space="preserve">
|
||||
<value>Usuarios</value>
|
||||
</data>
|
||||
<data name="View List" xml:space="preserve">
|
||||
<value>Vista de lista</value>
|
||||
</data>
|
||||
<data name="View Request List" xml:space="preserve">
|
||||
<value>Ver la Lista de Peticiones</value>
|
||||
</data>
|
||||
<data name="WARNING" xml:space="preserve">
|
||||
<value>ADVERTENCIA</value>
|
||||
</data>
|
||||
<data name="White" xml:space="preserve">
|
||||
<value>Blanco</value>
|
||||
</data>
|
||||
<data name="Yellow" xml:space="preserve">
|
||||
<value>Amarillo</value>
|
||||
</data>
|
||||
<data name="Yes" xml:space="preserve">
|
||||
<value>Sí</value>
|
||||
</data>
|
||||
<data name="You are not authorized to view the requested page." xml:space="preserve">
|
||||
<value>No tiene permisos para acceder a la página solicitada.</value>
|
||||
</data>
|
||||
<data name="You must select at least one group to assign" xml:space="preserve">
|
||||
<value>Debe seleccionar al menos uno grupo para asignar</value>
|
||||
</data>
|
||||
<data name="Your password was changed successfully" xml:space="preserve">
|
||||
<value>La contraseña se cambió con éxito</value>
|
||||
</data>
|
||||
<data name="{0} users" xml:space="preserve">
|
||||
<value>{0} usuarios</value>
|
||||
</data>
|
||||
<data name="Add a New Request" xml:space="preserve">
|
||||
<value>Agregar una Nueva Petición</value>
|
||||
</data>
|
||||
<data name="Edit Request" xml:space="preserve">
|
||||
<value>Editar la Petición</value>
|
||||
</data>
|
||||
<data name="Typo Corrections" xml:space="preserve">
|
||||
<value>Corrección de Errata</value>
|
||||
</data>
|
||||
<data name="Unauthorized Access" xml:space="preserve">
|
||||
<value>El Acceso No Autorizado</value>
|
||||
</data>
|
||||
<data name="Welcome!" xml:space="preserve">
|
||||
<value>¡Bienvenidos!</value>
|
||||
</data>
|
||||
<data name="Add to Request List" xml:space="preserve">
|
||||
<value>Agregar a la Lista de Peticiones En</value>
|
||||
</data>
|
||||
<data name="Announcement Text" xml:space="preserve">
|
||||
<value>Texto del Anuncio</value>
|
||||
</data>
|
||||
<data name="Colors" xml:space="preserve">
|
||||
<value>Colores</value>
|
||||
</data>
|
||||
<data name="Date" xml:space="preserve">
|
||||
<value>Fecha</value>
|
||||
</data>
|
||||
<data name="Delete a Group Member" xml:space="preserve">
|
||||
<value>Eliminar un Miembro del Grupo</value>
|
||||
</data>
|
||||
<data name="Delete a Request" xml:space="preserve">
|
||||
<value>Eliminar una Petición</value>
|
||||
</data>
|
||||
<data name="E-mail Format" xml:space="preserve">
|
||||
<value>Formato de Correo Electrónico</value>
|
||||
</data>
|
||||
<data name="E-mail “From” Name and Address" xml:space="preserve">
|
||||
<value>Correo Electrónico “De” Nombre y Dirección</value>
|
||||
</data>
|
||||
<data name="Edit Group Member" xml:space="preserve">
|
||||
<value>Editar el Miembro del Grupo</value>
|
||||
</data>
|
||||
<data name="Expiration" xml:space="preserve">
|
||||
<value>Expiración</value>
|
||||
</data>
|
||||
<data name="Fonts" xml:space="preserve">
|
||||
<value>Fuentes</value>
|
||||
</data>
|
||||
<data name="Fonts{0} for List" xml:space="preserve">
|
||||
<value>Fuentes{0} de la Lista</value>
|
||||
</data>
|
||||
<data name="Group Log On" xml:space="preserve">
|
||||
<value>Iniciar Sesión como Grupo</value>
|
||||
</data>
|
||||
<data name="Heading / List Text Size" xml:space="preserve">
|
||||
<value>Tamaño del Texto de Partida y Lista</value>
|
||||
</data>
|
||||
<data name="Heading Text Size" xml:space="preserve">
|
||||
<value>Partida el Tamaño del Texto</value>
|
||||
</data>
|
||||
<data name="List Text Size" xml:space="preserve">
|
||||
<value>Lista el Tamaño del Texto</value>
|
||||
</data>
|
||||
<data name="Long-Term Requests Alerted for Update" xml:space="preserve">
|
||||
<value>Peticiones a Largo Plazo Alertó para la Actualización</value>
|
||||
</data>
|
||||
<data name="Making a “Large Print” List" xml:space="preserve">
|
||||
<value>Realización de una Lista de “Letra Grande”</value>
|
||||
</data>
|
||||
<data name="Password Protected" xml:space="preserve">
|
||||
<value>Protegido por Contraseña</value>
|
||||
</data>
|
||||
<data name="Remember Me" xml:space="preserve">
|
||||
<value>Acuérdate de Mí</value>
|
||||
</data>
|
||||
<data name="Request" xml:space="preserve">
|
||||
<value>Petición</value>
|
||||
</data>
|
||||
<data name="Request List Visibility" xml:space="preserve">
|
||||
<value>La Visibilidad del la Lista de las Peticiones</value>
|
||||
</data>
|
||||
<data name="Request Sorting" xml:space="preserve">
|
||||
<value>Orden de Peticiones</value>
|
||||
</data>
|
||||
<data name="Request Type" xml:space="preserve">
|
||||
<value>Tipo de Petición</value>
|
||||
</data>
|
||||
<data name="Requestor / Subject" xml:space="preserve">
|
||||
<value>Peticionario / Sujeto</value>
|
||||
</data>
|
||||
<data name="Requests Expire After" xml:space="preserve">
|
||||
<value>Peticiones Expiran Después de</value>
|
||||
</data>
|
||||
<data name="Requests “New” For" xml:space="preserve">
|
||||
<value>Peticiones “Nuevas” Para</value>
|
||||
</data>
|
||||
<data name="Sort by Requestor Name" xml:space="preserve">
|
||||
<value>Ordenar por Nombre del Solicitante</value>
|
||||
</data>
|
||||
<data name="Time Zone" xml:space="preserve">
|
||||
<value>Zona Horaria</value>
|
||||
</data>
|
||||
<data name="List for Next Sunday" xml:space="preserve">
|
||||
<value>Lista para el Próximo Domingo</value>
|
||||
</data>
|
||||
<data name="Restore an Inactive Request" xml:space="preserve">
|
||||
<value>Restaurar una Petición Inactivo</value>
|
||||
</data>
|
||||
<data name="Send via E-mail" xml:space="preserve">
|
||||
<value>Enviar por correo electrónico</value>
|
||||
</data>
|
||||
<data name="User Log On" xml:space="preserve">
|
||||
<value>Iniciar Sesión como Usuario</value>
|
||||
</data>
|
||||
<data name="View Printable" xml:space="preserve">
|
||||
<value>Versión Imprimible</value>
|
||||
</data>
|
||||
<data name="Add a New Group" xml:space="preserve">
|
||||
<value>Agregar un Grupo Nuevo</value>
|
||||
</data>
|
||||
<data name="Add a New User" xml:space="preserve">
|
||||
<value>Agregar un Usuario Nuevo</value>
|
||||
</data>
|
||||
<data name="Admin?" xml:space="preserve">
|
||||
<value>¿Admin?</value>
|
||||
</data>
|
||||
<data name="All {0} Users" xml:space="preserve">
|
||||
<value>Todos los Usuarios {0}</value>
|
||||
</data>
|
||||
<data name="Announcement Sent" xml:space="preserve">
|
||||
<value>El Anuncio Enviado</value>
|
||||
</data>
|
||||
<data name="Assign Groups" xml:space="preserve">
|
||||
<value>Asignar Grupos</value>
|
||||
</data>
|
||||
<data name="Assign Groups to This User" xml:space="preserve">
|
||||
<value>Asignar Grupos a Este Usuario</value>
|
||||
</data>
|
||||
<data name="Case-Sensitive" xml:space="preserve">
|
||||
<value>Entre Mayúsculas y Minúsculas</value>
|
||||
</data>
|
||||
<data name="Color of Heading Lines" xml:space="preserve">
|
||||
<value>El Color de las Líneas de Partida</value>
|
||||
</data>
|
||||
<data name="Color of Heading Text" xml:space="preserve">
|
||||
<value>Color del Texto de la Partida</value>
|
||||
</data>
|
||||
<data name="Dates" xml:space="preserve">
|
||||
<value>Fechas</value>
|
||||
</data>
|
||||
<data name="Days" xml:space="preserve">
|
||||
<value>Días</value>
|
||||
</data>
|
||||
<data name="Delete This Group" xml:space="preserve">
|
||||
<value>Eliminar Este Grupo</value>
|
||||
</data>
|
||||
<data name="Do Not Show Inactive Requests" xml:space="preserve">
|
||||
<value>No Muestran las Peticiones Inactivos</value>
|
||||
</data>
|
||||
<data name="E-mail" xml:space="preserve">
|
||||
<value>Correo Electrónico</value>
|
||||
</data>
|
||||
<data name="Edit Group" xml:space="preserve">
|
||||
<value>Editar Grupo</value>
|
||||
</data>
|
||||
<data name="Edit This Group" xml:space="preserve">
|
||||
<value>Editar Este Grupo</value>
|
||||
</data>
|
||||
<data name="Edit This User" xml:space="preserve">
|
||||
<value>Editiar Este Usuario</value>
|
||||
</data>
|
||||
<data name="Edit User" xml:space="preserve">
|
||||
<value>Editar el Usuario</value>
|
||||
</data>
|
||||
<data name="Group Preferences" xml:space="preserve">
|
||||
<value>Las Preferencias del Grupo</value>
|
||||
</data>
|
||||
<data name="Inactive requests are currently not shown" xml:space="preserve">
|
||||
<value>Peticiones inactivas no se muestra actualmente</value>
|
||||
</data>
|
||||
<data name="Inactive requests are currently shown" xml:space="preserve">
|
||||
<value>Peticiones inactivas se muestra actualmente</value>
|
||||
</data>
|
||||
<data name="Maintain Groups" xml:space="preserve">
|
||||
<value>Mantener los Grupos</value>
|
||||
</data>
|
||||
<data name="Maintain Users" xml:space="preserve">
|
||||
<value>Mantener los Usuarios</value>
|
||||
</data>
|
||||
<data name="Named Color" xml:space="preserve">
|
||||
<value>Color con Nombre</value>
|
||||
</data>
|
||||
<data name="No change" xml:space="preserve">
|
||||
<value>Sin alterar</value>
|
||||
</data>
|
||||
<data name="or" xml:space="preserve">
|
||||
<value>o</value>
|
||||
</data>
|
||||
<data name="Other Settings" xml:space="preserve">
|
||||
<value>Otros Ajustes</value>
|
||||
</data>
|
||||
<data name="Prayer Requests" xml:space="preserve">
|
||||
<value>Las Peticiones de Oración</value>
|
||||
</data>
|
||||
<data name="Private" xml:space="preserve">
|
||||
<value>Privado</value>
|
||||
</data>
|
||||
<data name="Public" xml:space="preserve">
|
||||
<value>Público</value>
|
||||
</data>
|
||||
<data name="Red / Green / Blue Mix" xml:space="preserve">
|
||||
<value>Mezcla de Rojo / Verde / Azul</value>
|
||||
</data>
|
||||
<data name="Request Lists" xml:space="preserve">
|
||||
<value>Listas de Peticiones</value>
|
||||
</data>
|
||||
<data name="Requestor" xml:space="preserve">
|
||||
<value>Peticionario</value>
|
||||
</data>
|
||||
<data name="Requires Cookies" xml:space="preserve">
|
||||
<value>Requiere que las Cookies</value>
|
||||
</data>
|
||||
<data name="Save Group" xml:space="preserve">
|
||||
<value>Guardar el Grupo</value>
|
||||
</data>
|
||||
<data name="Save Group Assignments" xml:space="preserve">
|
||||
<value>Guardar las Autorizaciones del Grupo</value>
|
||||
</data>
|
||||
<data name="Save Preferences" xml:space="preserve">
|
||||
<value>Guardar las Preferencias</value>
|
||||
</data>
|
||||
<data name="Save Request" xml:space="preserve">
|
||||
<value>Guardar la Petición</value>
|
||||
</data>
|
||||
<data name="Save User" xml:space="preserve">
|
||||
<value>Guardar el Usuario</value>
|
||||
</data>
|
||||
<data name="Send Announcement to" xml:space="preserve">
|
||||
<value>Enviar anuncio a</value>
|
||||
</data>
|
||||
<data name="Show Inactive Requests" xml:space="preserve">
|
||||
<value>Muestran las Peticiones Inactivos</value>
|
||||
</data>
|
||||
<data name="Sort by Last Updated Date" xml:space="preserve">
|
||||
<value>Ordenar por Fecha de Última Actualización</value>
|
||||
</data>
|
||||
<data name="The request list was sent to the following people, via individual e-mails" xml:space="preserve">
|
||||
<value>La lista de peticiones fue enviado a las siguientes personas, a través de correos electrónicos individuales</value>
|
||||
</data>
|
||||
<data name="This Group" xml:space="preserve">
|
||||
<value>Este Grupo</value>
|
||||
</data>
|
||||
<data name="This will e-mail the current list to every member of your class, without further prompting. Are you sure this is what you are ready to do?" xml:space="preserve">
|
||||
<value>Esto enviará un correo electrónico la lista actual de todos los miembros de su clase, sin más indicaciones. ¿Estás seguro de que esto es lo que están dispuestos a hacer?</value>
|
||||
</data>
|
||||
<data name="To change your password, enter your current password in the specified box below, then enter your new password twice." xml:space="preserve">
|
||||
<value>Para cambiar su contraseña, introduzca su contraseña actual en el cuadro se especifica a continuación, introduzca su nueva contraseña dos veces.</value>
|
||||
</data>
|
||||
<data name="Type" xml:space="preserve">
|
||||
<value>Tipo</value>
|
||||
</data>
|
||||
<data name="Updated Date" xml:space="preserve">
|
||||
<value>Fecha de Actualización</value>
|
||||
</data>
|
||||
<data name="View" xml:space="preserve">
|
||||
<value>Ver</value>
|
||||
</data>
|
||||
<data name="Weeks" xml:space="preserve">
|
||||
<value>Semanas</value>
|
||||
</data>
|
||||
<data name="Active Requests" xml:space="preserve">
|
||||
<value>Peticiones Activas</value>
|
||||
</data>
|
||||
<data name="Delete This Request" xml:space="preserve">
|
||||
<value>Eliminar esta petición</value>
|
||||
</data>
|
||||
<data name="Edit This Prayer Request" xml:space="preserve">
|
||||
<value>Editar esta petición de oración</value>
|
||||
</data>
|
||||
<data name="Expire a Request" xml:space="preserve">
|
||||
<value>Expirar una petición</value>
|
||||
</data>
|
||||
<data name="Expire This Request Immediately" xml:space="preserve">
|
||||
<value>Expirar esta petición de oración de inmediato</value>
|
||||
</data>
|
||||
<data name="Maintain Prayer Requests" xml:space="preserve">
|
||||
<value>Mantener las Peticiones de Oración</value>
|
||||
</data>
|
||||
<data name="Members" xml:space="preserve">
|
||||
<value>Miembros</value>
|
||||
</data>
|
||||
<data name="Quick Actions" xml:space="preserve">
|
||||
<value>Acciones Rápidas</value>
|
||||
</data>
|
||||
<data name="Restore This Inactive Request" xml:space="preserve">
|
||||
<value>Restaurar esta petición inactiva</value>
|
||||
</data>
|
||||
<data name="Save" xml:space="preserve">
|
||||
<value>Guardar</value>
|
||||
</data>
|
||||
<data name="Total Requests" xml:space="preserve">
|
||||
<value>Total de Peticiones</value>
|
||||
</data>
|
||||
<data name="View Prayer Request List" xml:space="preserve">
|
||||
<value>Ver la Lista de Peticiones de Oración</value>
|
||||
</data>
|
||||
<data name="Central European" xml:space="preserve">
|
||||
<value>Central Europeo</value>
|
||||
</data>
|
||||
<data name="Eastern" xml:space="preserve">
|
||||
<value>Este</value>
|
||||
</data>
|
||||
<data name="MMMM d, yyyy" xml:space="preserve">
|
||||
<value>d \de MMMM yyyy</value>
|
||||
</data>
|
||||
<data name="Mountain" xml:space="preserve">
|
||||
<value>Montaña</value>
|
||||
</data>
|
||||
<data name="Mountain (Arizona)" xml:space="preserve">
|
||||
<value>Montaña (Arizona)</value>
|
||||
</data>
|
||||
<data name="Pacific" xml:space="preserve">
|
||||
<value>Pacífico</value>
|
||||
</data>
|
||||
<data name="Page Not Found" xml:space="preserve">
|
||||
<value>Página No Encontrada</value>
|
||||
</data>
|
||||
<data name="Server Error" xml:space="preserve">
|
||||
<value>Error del Servidor</value>
|
||||
</data>
|
||||
<data name="Privacy Policy" xml:space="preserve">
|
||||
<value>Política de privacidad</value>
|
||||
</data>
|
||||
<data name="Terms of Service" xml:space="preserve">
|
||||
<value>Términos de servicio</value>
|
||||
</data>
|
||||
<data name="Password" xml:space="preserve">
|
||||
<value>Contraseña</value>
|
||||
</data>
|
||||
<data name="Current Password" xml:space="preserve">
|
||||
<value>Contraseña Actual</value>
|
||||
</data>
|
||||
<data name="New Password Twice" xml:space="preserve">
|
||||
<value>Nueva Contraseña Dos Veces</value>
|
||||
</data>
|
||||
<data name="Fonts** for List" xml:space="preserve">
|
||||
<value>Fuentes** de la Lista</value>
|
||||
</data>
|
||||
<data name="From Address" xml:space="preserve">
|
||||
<value>De Dirección</value>
|
||||
</data>
|
||||
<data name="From Name" xml:space="preserve">
|
||||
<value>De Nombre</value>
|
||||
</data>
|
||||
<data name="Group Password (Used to Read Online)" xml:space="preserve">
|
||||
<value>Contraseña del Grupo (Utilizado para Leer en Línea)</value>
|
||||
</data>
|
||||
<data name="Source & Support" xml:space="preserve">
|
||||
<value>Fuente y Soporte</value>
|
||||
</data>
|
||||
<data name="View source code and get technical support" xml:space="preserve">
|
||||
<value>Ver código fuente y obtener soporte técnico</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="If you check this box, however, the text of the announcement will be added to your prayer list under the section you have selected." xml:space="preserve">
|
||||
<value>Si marca esta caja, sin embargo, el texto del anuncio será añadido a su lista de oración en la sección que ha seleccionado.</value>
|
||||
</data>
|
||||
<data name="It functions the same way as the text box on the “<a href=\"{0}\">{1}</a>” page." xml:space="preserve">
|
||||
<value>Funciona de la misma forma que el cuadro de texto en la página “<a href="{0}">{1}</a>”.</value>
|
||||
</data>
|
||||
<data name="This is the text of the announcement you would like to send." xml:space="preserve">
|
||||
<value>Este es el texto del anuncio que desea enviar.</value>
|
||||
</data>
|
||||
<data name="Without this box checked, the text of the announcement will only be e-mailed to your group members." xml:space="preserve">
|
||||
<value>Sin esta caja marcada, el texto del anuncio sólo será por correo electrónico a los miembros del su grupo.</value>
|
||||
</data>
|
||||
</root>
|
||||
141
src/PrayerTracker.UI/Resources/Views/Help/Group/Members.es.resx
Normal file
141
src/PrayerTracker.UI/Resources/Views/Help/Group/Members.es.resx
Normal file
@@ -0,0 +1,141 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="(Of course, if you delete it in error, you can enter it again using the “Add” instructions above.)" xml:space="preserve">
|
||||
<value>(Por supuesto, si usted lo elimine por error, se puede entrar de nuevo utilizando la opción “Agregar” instrucciones de arriba.)</value>
|
||||
</data>
|
||||
<data name="From this page, you can add, edit, and delete the e-mail addresses for your group." xml:space="preserve">
|
||||
<value>Desde esta página, usted puede agregar, editar y eliminar las direcciones de correo electrónico para su grupo.</value>
|
||||
</data>
|
||||
<data name="Note that once an e-mail address has been deleted, it is gone." xml:space="preserve">
|
||||
<value>Tenga en cuenta que una vez que la dirección de correo electrónico se ha eliminado, se ha ido.</value>
|
||||
</data>
|
||||
<data name="This will allow you to update the name and/or the e-mail address for that member." xml:space="preserve">
|
||||
<value>Esto le permitirá actualizar el nombre y / o la dirección de correo electrónico para ese miembro.</value>
|
||||
</data>
|
||||
<data name="To add an e-mail address, click the icon or text in the center of the page, below the title and above the list of addresses for your group." xml:space="preserve">
|
||||
<value>Para agregar una dirección de correo electrónico, haga clic en el icono o el texto en el centro de la página, debajo del título y por encima de la lista de direcciones para su grupo.</value>
|
||||
</data>
|
||||
<data name="To delete an e-mail address, click the blue trash can icon in the “{0}” column." xml:space="preserve">
|
||||
<value>Para eliminar una dirección de correo electrónico, haga clic en el icono azul de la papelera en la columna “{0}”.</value>
|
||||
</data>
|
||||
<data name="To edit an e-mail address, click the blue pencil icon; it's the first icon under the “{0}” column heading." xml:space="preserve">
|
||||
<value>Para editar una dirección de correo electrónico, haga clic en el icono de lápiz azul, es el primer icono bajo el título de columna “{0}”.</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,234 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="(Changing this password will force all members of the group who logged in with the “{0}” box checked to provide the new password.)" xml:space="preserve">
|
||||
<value>(Cambiar esta contraseña obligará a todos los miembros del grupo que se iniciar sesión en el "{0}" caja marcada para proporcionar la nueva contraseña.)</value>
|
||||
</data>
|
||||
<data name="(NOTE: In the plain-text e-mail, new requests are bulleted with a “+” symbol, and old are bulleted with a “-” symbol.)" xml:space="preserve">
|
||||
<value>(NOTA: En el texto sin formato de correo electrónico, las nuevas solicitudes se identifican con un símbolo “+”, y pide a los viejos se identifican con un símbolo “-”.)</value>
|
||||
</data>
|
||||
<data name="A warning is good here; just because you have an obscure font and like the way that it looks does not mean that others have that same font." xml:space="preserve">
|
||||
<value>Una advertencia de que es bueno aquí, sólo porque usted tiene una fuente oscura y gusta la forma en que se vea no significa que los demás tienen de que la misma fuente.</value>
|
||||
</data>
|
||||
<data name="All categories respect this setting." xml:space="preserve">
|
||||
<value>Todas las categorías respetar esta opción.</value>
|
||||
</data>
|
||||
<data name="As this is a shared password, it is stored in plain text, so you can easily see what it is." xml:space="preserve">
|
||||
<value>Como se trata de una contraseña compartida, se almacena en texto plano, así que usted puede ver fácilmente lo que es.</value>
|
||||
</data>
|
||||
<data name="By default, requests are sorted within each group by the last updated date, with the most recent on top." xml:space="preserve">
|
||||
<value>De forma predeterminada, las solicitudes se ordenan dentro de cada grupo por la última fecha de actualización, con el más reciente en la parte superior.</value>
|
||||
</data>
|
||||
<data name="Changing at least the e-mail address to your address will ensure that you receive these e-mails, and can prune your e-mail list accordingly." xml:space="preserve">
|
||||
<value>Cambiar por lo menos la dirección de correo electrónico a su dirección se asegurará de que usted recibe estos correos electrónicos, y se puede podar su lista de correo electrónico en consecuencia.</value>
|
||||
</data>
|
||||
<data name="Each section is addressed below." xml:space="preserve">
|
||||
<value>Cada sección se aborda más adelante.</value>
|
||||
</data>
|
||||
<data name="However, some e-mail clients may not display this properly, so you can choose to default the email to a plain-text format, which does not have colors, italics, or other formatting." xml:space="preserve">
|
||||
<value>Sin embargo, algunos clientes de correo electrónico no puede mostrar esto correctamente, para que pueda elegir el correo electrónico a un formato de texto plano predeterminadas, que no tiene colores, cursiva, u otro formato.</value>
|
||||
</data>
|
||||
<data name="If you do a typo correction on a request, if you do not check the box to update the date, this setting will change the bullet." xml:space="preserve">
|
||||
<value>Si usted hace una corrección de errata en una petición, si no marque la caja para actualizar la fecha, este valor va a cambiar la bala.</value>
|
||||
</data>
|
||||
<data name="If you do not see your time zone listed, just <a href=\"mailto:daniel@djs-consulting.com?subject={0}%20{1}\">contact Daniel</a> and tell him what time zone you need." xml:space="preserve">
|
||||
<value>Si no puede ver la zona horaria en la lista, ponte en <a href="mailto:daniel@djs-consulting.com?subject={1}%20por%20{0}">contacto con Daniel</a> y decirle lo que la zona horaria que usted necesita.</value>
|
||||
</data>
|
||||
<data name="If you select “{0}” but do not enter a password, the list remains private, which is also the default value." xml:space="preserve">
|
||||
<value>Si selecciona "{0}" pero no introduce una contraseña, la lista sigue siendo privado, que también es el valor predeterminado.</value>
|
||||
</data>
|
||||
<data name="If you would prefer to have the list sorted by requestor or subject rather than by date, select “{0}” instead." xml:space="preserve">
|
||||
<value>Si prefiere tener la lista ordenada por el solicitante o el sujeto en vez de por fecha, seleccione “{0}” en su lugar.</value>
|
||||
</data>
|
||||
<data name="If your group is comprised mostly of people who prefer large print, the following settings will make your list look like the typical large-print publication:" xml:space="preserve">
|
||||
<value>Si el grupo está compuesta en su mayoría de la gente que prefiere letras grandes, los siguientes ajustes harán que su lista de parecerse a la típica la publicación “Letra Grande”:</value>
|
||||
</data>
|
||||
<data name="It is generally best to stick with the fonts that come with Windows - fonts like “Arial”, “Times New Roman”, “Tahoma”, and “Comic Sans MS”." xml:space="preserve">
|
||||
<value>Generalmente es mejor quedarse con las fuentes que vienen con Windows - Fuentes como “Arial”, “Times New Roman”, “Tahoma”, y “Comic Sans MS”.</value>
|
||||
</data>
|
||||
<data name="Note that the categories “{0}” and “{1}” never expire automatically." xml:space="preserve">
|
||||
<value>Tenga en cuenta que las categorías “{0}” y “{1}” no expirará automáticamente.</value>
|
||||
</data>
|
||||
<data name="Password-protected lists allow group members to log in and view the current request list online, using the “{0}” link and providing this password." xml:space="preserve">
|
||||
<value>Protegidos con contraseña listas permiten miembros del grupo iniciar sesión y ver la lista de peticiones actual en el sito, utilizando el "{0}" enlace y proporcionar la contraseña.</value>
|
||||
</data>
|
||||
<data name="Public lists are available without logging in, and private lists are only available online to administrators (though the list can still be sent via e-mail by an administrator)." xml:space="preserve">
|
||||
<value>Las listas públicas están disponibles sin iniciar sesión, y listas privadas sólo están disponibles en línea a los administradores (aunque la lista todavía puede ser enviado por correo electrónico por el administrador).</value>
|
||||
</data>
|
||||
<data name="Requests that have been updated within this many days are identified by a hollow circle for their bullet, as opposed to a filled circle for other requests." xml:space="preserve">
|
||||
<value>Peticiones que han sido actualizadas dentro de esta cantidad de días se identifican por un círculo hueco para su bala, en oposición a un círculo relleno para otras peticiones.</value>
|
||||
</data>
|
||||
<data name="Requests that have not been updated in this many weeks are identified by an italic font on the “{0}” page, to remind you to seek updates on these requests so that your prayers can stay relevant and current." xml:space="preserve">
|
||||
<value>Peticiones que no han sido actualizados en esta semana muchos se identifican con un tipo de letra cursiva en la página “{0}”, para recordarle que debe buscar novedades en estas peticiones para que vuestras oraciones pueden permanecer relevante y actual.</value>
|
||||
</data>
|
||||
<data name="The background color cannot be changed." xml:space="preserve">
|
||||
<value>El color de fondo no puede ser cambiado.</value>
|
||||
</data>
|
||||
<data name="The default for the heading is 16pt, and the default for the text is 12pt." xml:space="preserve">
|
||||
<value>El valor predeterminado para el título es 16 puntos, y el valor por defecto para el texto es 12 puntos.</value>
|
||||
</data>
|
||||
<data name="The default name is “PrayerTracker”, and the default e-mail address is “prayer@djs-consulting.com”." xml:space="preserve">
|
||||
<value>El nombre predeterminado es “PrayerTracker”, y el valor predeterminado dirección de correo electrónico es “prayer@djs-consulting.com”.</value>
|
||||
</data>
|
||||
<data name="The group's request list can be either public, private, or password-protected." xml:space="preserve">
|
||||
<value>La lista de peticiones del grupo puede ser pública, privada o protegida por contraseña.</value>
|
||||
</data>
|
||||
<data name="The setting on this page is the group default; you can select a format for each recipient on the “{0}” page." xml:space="preserve">
|
||||
<value>La configuración en esta página es el valor predeterminado del grupo, se puede seleccionar un formato para cada destinatario de la página “{0}”.</value>
|
||||
</data>
|
||||
<data name="The {0} default is HTML, which sends the list just as you see it online." xml:space="preserve">
|
||||
<value>El valor predeterminado de {0} es HTML, el cual envía la lista al igual que usted lo ve en el sitio.</value>
|
||||
</data>
|
||||
<data name="There is a link on the bottom of the page to a color list with more names and their RGB values, if you're really feeling artistic." xml:space="preserve">
|
||||
<value>Hay un enlace en la parte inferior de la página para una lista de colores con más nombres y sus valores RGB, si realmente estás sintiendo artística.</value>
|
||||
</data>
|
||||
<data name="This is a comma-separated list of fonts that will be used for your request list." xml:space="preserve">
|
||||
<value>Esta es una lista separada por comas de fuentes que se utilizarán para su lista de peticiones.</value>
|
||||
</data>
|
||||
<data name="This is the default e-mail format for your group." xml:space="preserve">
|
||||
<value>Este es el valor predeterminado formato de correo electrónico para su grupo.</value>
|
||||
</data>
|
||||
<data name="This is the point size to use for each." xml:space="preserve">
|
||||
<value>Este es el tamaño de punto a utilizar para cada uno.</value>
|
||||
</data>
|
||||
<data name="This is the time zone that you would like to use for your group." xml:space="preserve">
|
||||
<value>Esta es la zona horaria que desea utilizar para su clase.</value>
|
||||
</data>
|
||||
<data name="This page allows you to change how your prayer request list looks and behaves." xml:space="preserve">
|
||||
<value>Esta página le permite cambiar la forma en que su lista de peticiones de la oración se ve y se comporta.</value>
|
||||
</data>
|
||||
<data name="This will work, but any bounced e-mails and out-of-office replies will be sent to that address (which is not even a real address)." xml:space="preserve">
|
||||
<value>Esto funciona, pero los mensajes devueltos, y las respuestas de fuera de la oficina serán enviados a esa dirección (que no es ni siquiera una dirección real).</value>
|
||||
</data>
|
||||
<data name="When a regular request goes this many days without being updated, it expires and no longer appears on the request list." xml:space="preserve">
|
||||
<value>Cuando una petición regular va esta cantidad de días sin actualizar, caduca y ya no aparece en la lista de peticiones.</value>
|
||||
</data>
|
||||
<data name="You can customize the colors that are used for the headings and lines in your request list." xml:space="preserve">
|
||||
<value>Usted puede personalizar los colores que se utilizan para las partidas y líneas en su lista de peticiones.</value>
|
||||
</data>
|
||||
<data name="You can select one of the 16 named colors in the drop down lists, or you can “mix your own” using red, green, and blue (RGB) values between 0 and 255." xml:space="preserve">
|
||||
<value>Puede seleccionar uno de los 16 colores con nombre en las listas desplegables, o puede “mezclar su propia” en colores rojo, verde y azul (RGB) valores entre 0 y 255.</value>
|
||||
</data>
|
||||
<data name="You should also end the font list with either “serif” or “sans-serif”, which will use the browser's default serif (like “Times New Roman”) or sans-serif (like “Arial”) font." xml:space="preserve">
|
||||
<value>También debe poner fin a la lista de fuentes, ya sea con “serif” o el “sans-serif”, que utilizará el fuente serif predeterminado (como “Times New Roman”) o el fuente sans-serif predeterminado (como “Arial”).</value>
|
||||
</data>
|
||||
<data name="{0} must put an name and e-mail address in the “from” position of each e-mail it sends." xml:space="preserve">
|
||||
<value>{0} debe poner el nombre y la dirección de correo electrónico en el “de” posición de cada correo electrónico que envía.</value>
|
||||
</data>
|
||||
</root>
|
||||
129
src/PrayerTracker.UI/Resources/Views/Help/Index.es.resx
Normal file
129
src/PrayerTracker.UI/Resources/Views/Help/Index.es.resx
Normal file
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Clicking this will open a new, small window with directions on using that page." xml:space="preserve">
|
||||
<value>Al hacer clic en esta opción, se abrirá una nueva y pequeña ventana con instrucciones sobre cómo usar esa página.</value>
|
||||
</data>
|
||||
<data name="If you are looking for a quick overview of {0}, start with the “{1}” and “{2}” entries." xml:space="preserve">
|
||||
<value>Si está buscando una descripción rápida de {0}, comience con las entradas "{1}" y "{2}".</value>
|
||||
</data>
|
||||
<data name="Throughout {0}, you'll see this icon&#xa0;<i class="material-icons" title="{1}">help_outline</i>&#xa0;next to the title on each page." xml:space="preserve">
|
||||
<value>En todo el sistema, verá este icono&#xa0;<i class="material-icons" title="{1}">help_outline</i>&#xa0;junto al título de cada página.</value>
|
||||
</data>
|
||||
</root>
|
||||
195
src/PrayerTracker.UI/Resources/Views/Help/Requests/Edit.es.resx
Normal file
195
src/PrayerTracker.UI/Resources/Views/Help/Requests/Edit.es.resx
Normal file
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Apart from the icons on the request maintenance page, this is the only other way to expire “{0}” and “{1}” requests, but it can be used for any request type." xml:space="preserve">
|
||||
<value>Aparte de los iconos de la página de mantenimiento de las peticiones, ésta es la única otra forma de expirar peticiones del tipos “{0}” y “{1}”, pero puede ser utilizada para cualquier tipo de petición.</value>
|
||||
</data>
|
||||
<data name="Click or tab into the box to display the calendar, which will be preselected to today's date." xml:space="preserve">
|
||||
<value>Haga clic en la pestaña o en la caja para mostrar el calendario, que será preseleccionada para la fecha de hoy.</value>
|
||||
</data>
|
||||
<data name="For all types, it is optional; I used to have an announcement with no subject that ran every week, telling where to send requests and updates." xml:space="preserve">
|
||||
<value>Para todos los tipos, es opcional, yo solía tener un anuncio con ningún tema que iba todas las semanas, diciendo a dónde enviar peticiones y actualizaciones.</value>
|
||||
</data>
|
||||
<data name="For announcements, this should contain the subject of the announcement." xml:space="preserve">
|
||||
<value>Para los anuncios, este debe contener el objeto del anuncio.</value>
|
||||
</data>
|
||||
<data name="For existing requests, there will be a check box labeled “{0}”." xml:space="preserve">
|
||||
<value>Para peticiones existentes, habrá una casilla de verificación “{0}”.</value>
|
||||
</data>
|
||||
<data name="For new requests, this is a box with a calendar date picker." xml:space="preserve">
|
||||
<value>Para nuevas peticiones, se trata de una caja con un selector de fechas del calendario.</value>
|
||||
</data>
|
||||
<data name="For requests or praises, this field is for the name of the person who made the request or offered the praise report." xml:space="preserve">
|
||||
<value>Para las peticiones o alabanzas, este campo es el nombre de la persona que hizo la petición o que ofrece el informe de alabanza.</value>
|
||||
</data>
|
||||
<data name="Hover over each icon to see what each button does." xml:space="preserve">
|
||||
<value>Pase el ratón sobre cada icono para ver qué hace cada botón.</value>
|
||||
</data>
|
||||
<data name="If you are editing an existing request, a third option appears." xml:space="preserve">
|
||||
<value>Si está editando una petición existente, aparece una tercera opción.</value>
|
||||
</data>
|
||||
<data name="It also supports undo and redo, and the editor supports full-screen mode." xml:space="preserve">
|
||||
<value>También es compatible con deshacer y rehacer, y el editor soporta modo de pantalla completa.</value>
|
||||
</data>
|
||||
<data name="The editor provides many formatting capabilities, including “Spell Check as you Type” (enabled by default), “Paste from Word”, and “Paste Plain”, as well as “Source” view, if you want to edit the HTML yourself." xml:space="preserve">
|
||||
<value>El editor ofrece muchas capacidades de formato, como "El Corrector Ortográfico al Escribir" (habilitado predeterminado), "Pegar desde Word" y "Pegar sin formato", así como "Código Fuente" punto de vista, si quieres editar el código HTML usted mismo.</value>
|
||||
</data>
|
||||
<data name="The order above is the order in which the request types appear on the list." xml:space="preserve">
|
||||
<value>El orden anterior es el orden en que los tipos de peticiones aparecen en la lista.</value>
|
||||
</data>
|
||||
<data name="There are 5 request types in {0}." xml:space="preserve">
|
||||
<value>Hay 5 tipos de peticiones en {0}.</value>
|
||||
</data>
|
||||
<data name="This can be used if you are correcting spelling or punctuation, and do not have an actual update to make to the request." xml:space="preserve">
|
||||
<value>Esto puede ser usado si corrige la ortografía ni la puntuacion, y no tienen una actualización real de hacer la petición.</value>
|
||||
</data>
|
||||
<data name="This is the text of the request." xml:space="preserve">
|
||||
<value>Este es el texto de la petición.</value>
|
||||
</data>
|
||||
<data name="This page allows you to enter or update a new prayer request." xml:space="preserve">
|
||||
<value>Esta página le permite introducir o actualizar una petición de oración nueva.</value>
|
||||
</data>
|
||||
<data name="“{0}” and “{1}” are not subject to the automatic expiration (set on the “{2}” page) that the other requests are." xml:space="preserve">
|
||||
<value>“{0}” y “{1}” no están sujetos a la caducidad automática (establecida en el “{2}” de la página) que las peticiones son otros.</value>
|
||||
</data>
|
||||
<data name="“{0}” are like “{1}”, but instead of a request, they are simply passing information along about something coming up." xml:space="preserve">
|
||||
<value>“{0}” son como “{1}”, pero en lugar de una petición, simplemente se pasa la información a lo largo de algo por venir.</value>
|
||||
</data>
|
||||
<data name="“{0}” are like “{1}”, but they are answers to prayer to share with your group." xml:space="preserve">
|
||||
<value>“{0}” son como “{1}”, pero son respuestas a la oración para compartir con su grupo.</value>
|
||||
</data>
|
||||
<data name="“{0}” are requests that may occur repeatedly or continue indefinitely." xml:space="preserve">
|
||||
<value>“{0}” son peticiones que pueden ocurrir varias veces, o continuar indefinidamente.</value>
|
||||
</data>
|
||||
<data name="“{0}” are your regular requests that people may have regarding things happening over the next week or so." xml:space="preserve">
|
||||
<value>“{0}” son sus peticiones habituales que la gente pueda tener acerca de las cosas que suceden durante la próxima semana o así.</value>
|
||||
</data>
|
||||
<data name="“{0}” can be used to make a request never expire (note that this is redundant for “{1}” and “{2}”)." xml:space="preserve">
|
||||
<value>“{0}” se puede utilizar para hacer una petición que no caduque nunca (nótese que esto es redundante para los tipos “{1}” y “{2}”).</value>
|
||||
</data>
|
||||
<data name="“{0}” is for those who are pregnant."" xml:space="preserve">
|
||||
<value>“{0}” es para aquellos que están embarazadas.</value>
|
||||
</data>
|
||||
<data name="“{0}” means that the request is subject to the expiration days in the group preferences." xml:space="preserve">
|
||||
<value>“{0}” significa que la petición está sujeta a los días de vencimiento de las preferencias del grupo.</value>
|
||||
</data>
|
||||
<data name="“{0}” will make the request expire when it is saved." xml:space="preserve">
|
||||
<value>“{0}” hará que la petición expirará cuando se guarda.</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,159 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Deleting a request is contrary to the intent of {0}, as you can retrieve requests that have expired." xml:space="preserve">
|
||||
<value>Eliminación de una petición es contraria a la intención de {0}, como se puede recuperar peticiones que han expirado.</value>
|
||||
</data>
|
||||
<data name="For active requests, the second icon is an eye with a slash through it; clicking this icon will expire the request immediately." xml:space="preserve">
|
||||
<value>Para las peticiones activas, el segundo icono es un ojo con una barra a través de él; Si hace clic en este icono, la petición se cancelará inmediatamente.</value>
|
||||
</data>
|
||||
<data name="From this page, you can add, edit, and delete your current requests." xml:space="preserve">
|
||||
<value>Desde esta página, usted puede agregar, editar y borrar sus peticiones actuales.</value>
|
||||
</data>
|
||||
<data name="However, clicking the link at the bottom of the page will refresh the page with the inactive requests shown." xml:space="preserve">
|
||||
<value>Sin embargo, al hacer clic en el vínculo en la parte inferior de la página se actualizará la página con las peticiones se muestran inactivos.</value>
|
||||
</data>
|
||||
<data name="However, if there is a request that needs to be deleted, clicking the blue trash can icon in the “{0}” column will allow you to do it." xml:space="preserve">
|
||||
<value>Sin embargo, si hay una solicitud que debe ser eliminado, haga clic en el icono azul de la papelera en la columna “{0}” le permitirá hacerlo.</value>
|
||||
</data>
|
||||
<data name="The last updated date will be current, and the request is set to expire normally." xml:space="preserve">
|
||||
<value>La última fecha actualizada será actual, y la petición se establece para caducar normalmente.</value>
|
||||
</data>
|
||||
<data name="The middle icon will look like an eye; clicking it will restore the request as an active request." xml:space="preserve">
|
||||
<value>El icono del centro se verá como un ojo; Haciendo clic en él, restaurará la petición como una petición activa.</value>
|
||||
</data>
|
||||
<data name="This is equivalent to editing the request, selecting “{0}”, and saving it." xml:space="preserve">
|
||||
<value>Esto equivale a editar la petición, seleccionar "{0}" y guardarla.</value>
|
||||
</data>
|
||||
<data name="To add a request, click the icon or text in the center of the page, below the title and above the list of requests for your group." xml:space="preserve">
|
||||
<value>Para agregar una petición, haga clic en el icono o el texto en el centro de la página, debajo del título y por encima de la lista de peticiones para su grupo.</value>
|
||||
</data>
|
||||
<data name="To edit a request, click the blue pencil icon; it's the first icon under the “{0}” column heading." xml:space="preserve">
|
||||
<value>Para editar una petición, haga clic en el icono de lápiz azul, el primer icono bajo el título de columna “{0}”.</value>
|
||||
</data>
|
||||
<data name="Use this option carefully, as these deletions cannot be undone; once a request is deleted, it is gone for good." xml:space="preserve">
|
||||
<value>Utilice esta opción con cuidado, ya que estas supresiones no se puede deshacer, una vez a la petición se ha borrado, ha desaparecido para siempre.</value>
|
||||
</data>
|
||||
<data name="When the page is first displayed, it does not display inactive requests." xml:space="preserve">
|
||||
<value>Cuando la página se muestra por primera vez, que no muestra peticiones inactivos.</value>
|
||||
</data>
|
||||
<data name="You can also restore requests that may have expired, but should be made active once again." xml:space="preserve">
|
||||
<value>También puede restaurar peticiones que han caducado, sino que debe ser activa, una vez más.</value>
|
||||
</data>
|
||||
</root>
|
||||
153
src/PrayerTracker.UI/Resources/Views/Help/Requests/View.es.resx
Normal file
153
src/PrayerTracker.UI/Resources/Views/Help/Requests/View.es.resx
Normal file
@@ -0,0 +1,153 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="(NOTE: If you are logged in as a group member, the only option you will see is to view a printable list.)" xml:space="preserve">
|
||||
<value>(NOTA: Si usted está registrado como miembro de la clase, la única opción que se ve es para ver una lista para imprimir.)</value>
|
||||
</data>
|
||||
<data name="Clicking this link will display the list in a format that is suitable for printing; it does not have the normal {0} header across the top." xml:space="preserve">
|
||||
<value>Hacer clic en este vínculo, se muestra la lista en un formato que sea adecuado para imprimir, sino que no tiene el encabezado normal de {0} en la parte superior.</value>
|
||||
</data>
|
||||
<data name="Clicking this link will send the list you are currently viewing to your group members." xml:space="preserve">
|
||||
<value>Al hacer clic en este enlace le enviará la lista que está viendo en ese momento a los miembros del grupo.</value>
|
||||
</data>
|
||||
<data name="From this page, you can view the request list (for today or for the next Sunday), view a printable version of the list, and e-mail the list to the members of your group." xml:space="preserve">
|
||||
<value>Desde esta página, puede ver la lista de peticiones (para hoy o para el próximo Domingo), ver una versión imprimible de la lista, y por correo electrónico la lista de los miembros de su grupo.</value>
|
||||
</data>
|
||||
<data name="If you proceed, you will see a page that shows to whom the list was sent, and what the list looked like." xml:space="preserve">
|
||||
<value>Si continúa, usted verá una página que muestra a la que la lista fue enviado, y lo que la lista parecía.</value>
|
||||
</data>
|
||||
<data name="Note that this link does not appear if it is Sunday." xml:space="preserve">
|
||||
<value>Tenga en cuenta que este enlace no aparece si es Domingo.</value>
|
||||
</data>
|
||||
<data name="Once you have clicked the link, you can print it using your browser's standard “Print” functionality." xml:space="preserve">
|
||||
<value>Una vez que haya hecho clic en el enlace, se puede imprimir con el navegador estándar de “Imprimir” funcionalidad.</value>
|
||||
</data>
|
||||
<data name="The page will remind you that you are about to do that, and ask for your confirmation." xml:space="preserve">
|
||||
<value>La página te recordará que estás a punto de hacerlo, y pedir su confirmación.</value>
|
||||
</data>
|
||||
<data name="This can be used, for example, to see what requests will expire, or allow you to print a list with Sunday's date on Saturday evening." xml:space="preserve">
|
||||
<value>Esto puede ser usado, por ejemplo, para ver lo que peticiones de caducidad, ni le permite imprimir una lista con la fecha del Domingo en la noche del Sábado.</value>
|
||||
</data>
|
||||
<data name="This will modify the date for the list, so it will look like it is currently next Sunday." xml:space="preserve">
|
||||
<value>Esto modificará la fecha de la lista, por lo que se verá como es en la actualidad el próximo Domingo.</value>
|
||||
</data>
|
||||
<data name="You may safely use your browser's “Back” button to navigate away from the page." xml:space="preserve">
|
||||
<value>Usted puede utilizar con seguridad de su navegador botón “Atrás” para navegar fuera de la página.</value>
|
||||
</data>
|
||||
</root>
|
||||
138
src/PrayerTracker.UI/Resources/Views/Help/User/LogOn.es.resx
Normal file
138
src/PrayerTracker.UI/Resources/Views/Help/User/LogOn.es.resx
Normal file
@@ -0,0 +1,138 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="If you want {0} to remember you on your computer, click the “{1}” box before clicking the “{2}” button." xml:space="preserve">
|
||||
<value>Si desea que {0} que le recuerde en su ordenador, haga clic en “{1}” caja antes de pulsar el “{2}” botón.</value>
|
||||
</data>
|
||||
<data name="If you want {0} to remember your group, click the “{1}” box before clicking the “{2}” button." xml:space="preserve">
|
||||
<value>Si desea que {0} recuerde su grupo, haga clic en “{1}” caja antes de pulsar el “{2}” botón.</value>
|
||||
</data>
|
||||
<data name="If your group has defined a password to use to allow you to view their request list online, select your group from the drop down list, then enter the group password into the appropriate box." xml:space="preserve">
|
||||
<value>Si el grupo se ha definido una contraseña para usar que le permite ver su lista de peticiones en línea, seleccionar el grupo en la lista desplegable y introduzca la contraseña del grupo en la caja correspondiente.</value>
|
||||
</data>
|
||||
<data name="Select your group, then enter your e-mail address and password into the appropriate boxes." xml:space="preserve">
|
||||
<value>Seleccione su grupo y introduzca su dirección de correo electrónico y contraseña en las cajas apropiadas.</value>
|
||||
</data>
|
||||
<data name="There are two different levels of access for {0} - user and group." xml:space="preserve">
|
||||
<value>Hay dos diferentes niveles de acceso para {0} - el usuario y el grupo.</value>
|
||||
</data>
|
||||
<data name="This page allows you to log on to {0}." xml:space="preserve">
|
||||
<value>Esta página le permite acceder a {0}.</value>
|
||||
</data>
|
||||
</root>
|
||||
135
src/PrayerTracker.UI/Resources/Views/Help/User/Password.es.resx
Normal file
135
src/PrayerTracker.UI/Resources/Views/Help/User/Password.es.resx
Normal file
@@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="<a href="mailto:daniel@djs-consulting.com?subject={0}%20Password%20Help">Click here to request help resetting your password</a>." xml:space="preserve">
|
||||
<value><a href="mailto:daniel@djs-consulting.com?subject=Ayuda%20de%20Contraseña%20de%20{0}">Haga clic aquí para solicitar ayuda para restablecer su contraseña</a>.</value>
|
||||
</data>
|
||||
<data name="Enter your existing password in the top box, then enter your new password in the bottom two boxes." xml:space="preserve">
|
||||
<value>Ingrese su contraseña actual en la caja superior y introduzca la nueva contraseña en la parte inferior dos cajas.</value>
|
||||
</data>
|
||||
<data name="Entering your existing password is a security measure; with the “{0}” box on the log in page, this will prevent someone else who may be using your computer from being able to simply go to the site and change your password." xml:space="preserve">
|
||||
<value>Al entrar su contraseña actual es una medida de seguridad, con el “{0}” caja de la página inicio de sesión, esto evitará que otra persona que pueda estar usando su computadora de la posibilidad de simplemente ir a el sitio y cambiar la contraseña.</value>
|
||||
</data>
|
||||
<data name="If you cannot remember your existing password, we cannot retrieve it, but we can set it to something known so that you can then change it to your password." xml:space="preserve">
|
||||
<value>Si no recuerdas tu contraseña actual, no podemos recuperar, pero podemos ponerlo en algo que se conoce de modo que usted puede cambiarlo a su contraseña.</value>
|
||||
</data>
|
||||
<data name="This page will let you change your password." xml:space="preserve">
|
||||
<value>Esta página le permitirá cambiar su contraseña.</value>
|
||||
</data>
|
||||
</root>
|
||||
132
src/PrayerTracker.UI/Resources/Views/Home/Error.es.resx
Normal file
132
src/PrayerTracker.UI/Resources/Views/Home/Error.es.resx
Normal file
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="An error ({0}) has occurred." xml:space="preserve">
|
||||
<value>Se ha producido un error ({0}).</value>
|
||||
</data>
|
||||
<data name="If you reached this page from a link within {0}, please copy the link from the browser's address bar, and send it to support, along with the group for which you were currently authenticated (if any)." xml:space="preserve">
|
||||
<value>Si accediste a esta página desde un enlace dentro de {0}, copia el vínculo de la barra de direcciones del navegador y envíalo a soporte, junto con el grupo para el que estás autenticado (si existe).</value>
|
||||
</data>
|
||||
<data name="Please use your "Back" button to return to {0}." xml:space="preserve">
|
||||
<value>Utilice su botón "Atrás" para volver a {0}.</value>
|
||||
</data>
|
||||
<data name="The page you requested cannot be found." xml:space="preserve">
|
||||
<value>La página solicitada no pudo ser encontrada.</value>
|
||||
</data>
|
||||
</root>
|
||||
201
src/PrayerTracker.UI/Resources/Views/Home/Index.es.resx
Normal file
201
src/PrayerTracker.UI/Resources/Views/Home/Index.es.resx
Normal file
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="(And, once requests do “drop off”, they are not gone - they may be recovered if needed.)" xml:space="preserve">
|
||||
<value>(Y, una vez que se las peticiones “dejar”, no se han ido - que se puede recuperar si es necesario.)</value>
|
||||
</data>
|
||||
<data name="All fonts, colors, and sizes can be customized." xml:space="preserve">
|
||||
<value>Todos los tipos de letra, colores y tamaños pueden ser personalizados.</value>
|
||||
</data>
|
||||
<data name="Check out the “{0}” link above - it details each of the processes and how they work." xml:space="preserve">
|
||||
<value>Echa un vistazo a la “{0}” enlace de arriba - que detalla cada uno de los procesos y cómo funcionan.</value>
|
||||
</data>
|
||||
<data name="Do I Have to Register to See the Requests?" xml:space="preserve">
|
||||
<value>¿Tengo que Registrarme para Ver las Peticiones?</value>
|
||||
</data>
|
||||
<data name="E-mails are sent individually to each person, which keeps the e-mail list private and keeps the messages from being flagged as spam." xml:space="preserve">
|
||||
<value>Los correos electrónicos se envían de forma individual a cada persona, lo que mantiene la lista de correo electrónico privado y mantiene los mensajes de ser marcado como spam.</value>
|
||||
</data>
|
||||
<data name="How Can Your Organization Use {0}?" xml:space="preserve">
|
||||
<value>¿Cómo Puede Su Organización Utilizan {0}?</value>
|
||||
</data>
|
||||
<data name="How Does It Work?" xml:space="preserve">
|
||||
<value>¿Cómo Funciona?</value>
|
||||
</data>
|
||||
<data name="If you click on the “{0}” link above, you will see a list of groups - those that do not indicate that they require logging in are publicly viewable." xml:space="preserve">
|
||||
<value>Si hace clic en la “{0}” enlace de arriba, podrás ver una lista de grupos - los que no indican que se requiere el registro en el son públicos y visibles.</value>
|
||||
</data>
|
||||
<data name="If your organization would like to get set up, just <a href="mailto:daniel@djs-consulting.com?subject=New%20{0}%20Class">e-mail</a> Daniel and let him know." xml:space="preserve">
|
||||
<value>Si su organización quiere ponerse en marcha, <a href="mailto:daniel@djs-consulting.com?subject=Nueva%20Clase%20de%20{0}">enviar por correo electrónico a Daniel</a> y le hizo saber.</value>
|
||||
</data>
|
||||
<data name="It drops old requests off the list automatically." xml:space="preserve">
|
||||
<value>Suelta las peticiones de edad fuera de la lista automáticamente.</value>
|
||||
</data>
|
||||
<data name="It is provided at no charge, as a ministry and a community service." xml:space="preserve">
|
||||
<value>Se proporciona sin costo alguno, como un ministerio y un servicio a la comunidad.</value>
|
||||
</data>
|
||||
<data name="Like God’s gift of salvation, {0} is free for the asking for any church, Sunday School class, or other organization who wishes to use it." xml:space="preserve">
|
||||
<value>Como un regalo de Dios de la salvación, {0} es un país libre para pedir para cualquier iglesia, la clase de escuela dominical, o cualquier otra organización que desee utilizarlo.</value>
|
||||
</data>
|
||||
<data name="Lists can be configured to be password-protected, but they do not have to be." xml:space="preserve">
|
||||
<value>Las listas pueden ser configurados para estar protegido por contraseña, pero no tiene que ser.</value>
|
||||
</data>
|
||||
<data name="Lists can be e-mailed to a pre-defined list of members." xml:space="preserve">
|
||||
<value>Las listas pueden ser enviados por correo electrónico a una lista predefinida de los miembros.</value>
|
||||
</data>
|
||||
<data name="Lists can be made public, or they can be secured with a password, if desired." xml:space="preserve">
|
||||
<value>Las listas pueden hacerse públicos, o pueden ser asegurados con una contraseña, si lo desea.</value>
|
||||
</data>
|
||||
<data name="Requests can be viewed any time." xml:space="preserve">
|
||||
<value>Peticiones se pueden ver en cualquier momento.</value>
|
||||
</data>
|
||||
<data name="Requests other than “{0}” requests will expire at 14 days, though this can be changed by the organization." xml:space="preserve">
|
||||
<value>Peticiones que no sean “{0}” peticiones finalizará a los 14 días, aunque esto puede ser cambiado por la organización.</value>
|
||||
</data>
|
||||
<data name="Some of the things it can do..." xml:space="preserve">
|
||||
<value>Algunas de las cosas que puede hacer...</value>
|
||||
</data>
|
||||
<data name="The look and feel of the list can be configured for each group." xml:space="preserve">
|
||||
<value>La mirada y la sensación de la lista se puede configurar para cada grupo.</value>
|
||||
</data>
|
||||
<data name="This allows for configuration of large-print lists, among other things." xml:space="preserve">
|
||||
<value>Esto permite que para la configuración de gran impresión listas, entre otras cosas.</value>
|
||||
</data>
|
||||
<data name="This can be useful for folks who may not be able to write down all the requests during class, but want a list so that they can pray for them the rest of week." xml:space="preserve">
|
||||
<value>Esto puede ser útil para la gente que no puede ser capaz de escribir todas las las peticiones durante la clase, pero quiero una lista para que puedan orar por ellos el resto de la semana.</value>
|
||||
</data>
|
||||
<data name="This depends on the group." xml:space="preserve">
|
||||
<value>Esto depende del grupo.</value>
|
||||
</data>
|
||||
<data name="This expiration is based on the last update, not the initial request." xml:space="preserve">
|
||||
<value>Esta caducidad se basa en la última actualización, no de la petición inicial.</value>
|
||||
</data>
|
||||
<data name="Welcome to <strong>{0}</strong>!" xml:space="preserve">
|
||||
<value>¡Bienvenido a <strong>{0}</strong>!</value>
|
||||
</data>
|
||||
<data name="What Does It Do?" xml:space="preserve">
|
||||
<value>¿Qué Hacer?</value>
|
||||
</data>
|
||||
<data name="{0} has what you need to make maintaining a prayer request list a breeze." xml:space="preserve">
|
||||
<value>{0} tiene lo que usted necesita para hacer el mantenimiento de una lista de peticiones de la oración sencilla.</value>
|
||||
</data>
|
||||
<data name="{0} is an interactive website that provides churches, Sunday School classes, and other organizations an easy way to keep up with their prayer requests." xml:space="preserve">
|
||||
<value>{0} es un sitio web interactivo que ofrece a iglesias, clases de escuela dominical, y otras organizaciones una manera fácil de mantenerse al día con sus peticiones de oración.</value>
|
||||
</data>
|
||||
</root>
|
||||
126
src/PrayerTracker.UI/Resources/Views/Home/NotAuthorized.es.resx
Normal file
126
src/PrayerTracker.UI/Resources/Views/Home/NotAuthorized.es.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name=""Otherwise, you may select one of the links above to get back into an authorized portion of {0}." xml:space="preserve">
|
||||
<value>De lo contrario, usted puede seleccionar uno de los enlaces de arriba para volver en una parte autorizada de {0}.</value>
|
||||
</data>
|
||||
<data name="If you feel you have reached this page in error, please <a href="mailto:daniel@djs-consulting.com?Subject={0}%20Unauthorized%20Access">contact Daniel</a> and provide the details as to what you were doing (i.e., what link did you click, where had you been, etc.)." xml:space="preserve">
|
||||
<value>Si usted siente que ha llegado a esta página por error, por favor <a href="mailto:daniel@djs-consulting.com?Subject={0}%20El%20Acceso%20No%20Autorizado">póngase en contacto con Daniel</a> y proporcionar los detalles de lo que estaba haciendo (es decir, ¿qué relación se hace clic?, ¿dónde habías estado?, etc.). <em>(Primera lengua de Daniel es el Inglés, así que por favor tengan paciencia con él en su intento de ayudarle.)</em></value>
|
||||
</data>
|
||||
</root>
|
||||
192
src/PrayerTracker.UI/Resources/Views/Home/PrivacyPolicy.es.resx
Normal file
192
src/PrayerTracker.UI/Resources/Views/Home/PrivacyPolicy.es.resx
Normal file
@@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="(as of July 31, 2018)" xml:space="preserve">
|
||||
<value>(al 31 de julio de 2018)</value>
|
||||
</data>
|
||||
<data name="Access to servers and backups is strictly controlled and monitored for unauthorized access attempts." xml:space="preserve">
|
||||
<value>El acceso a servidores y copias de seguridad está estrictamente controlado y monitoreado para intentos de acceso no autorizados.</value>
|
||||
</data>
|
||||
<data name="At any time, you may choose to discontinue using {0}; just e-mail Daniel, as you did to register, and request deletion of your small group." xml:space="preserve">
|
||||
<value>En cualquier momento, puede optar por dejar de usar {0}; solo envíe un correo electrónico a Daniel, como lo hizo para registrarse, y solicite la eliminación de su pequeño grupo.</value>
|
||||
</data>
|
||||
<data name="Both of these cookies are encrypted, both in your browser and in transit." xml:space="preserve">
|
||||
<value>Ambas cookies están encriptadas, tanto en su navegador como en tránsito.</value>
|
||||
</data>
|
||||
<data name="Data for your small group is returned to you, as required, to display and edit." xml:space="preserve">
|
||||
<value>Los datos para su pequeño grupo se le devuelven, según sea necesario, para mostrar y editar.</value>
|
||||
</data>
|
||||
<data name="Distinct e-mails are sent to each user, as to not disclose the other recipients." xml:space="preserve">
|
||||
<value>Se envían correos electrónicos distintos a cada usuario para no revelar a los demás destinatarios.</value>
|
||||
</data>
|
||||
<data name="Finally, a third cookie is used to maintain your currently selected language, so that this selection is maintained across browser sessions." xml:space="preserve">
|
||||
<value>Finalmente, se usa una tercera cookie para mantener el idioma seleccionado actualmente, de modo que esta selección se mantenga en todas las sesiones del navegador.</value>
|
||||
</data>
|
||||
<data name="How Your Data Is Accessed / Secured" xml:space="preserve">
|
||||
<value>Cómo se Accede / se Aseguran Sus Datos</value>
|
||||
</data>
|
||||
<data name="Identifying Data" xml:space="preserve">
|
||||
<value>Identificando Datos</value>
|
||||
</data>
|
||||
<data name="If you utilize the “{0}” box on sign in, a second cookie is stored, and transmitted to establish a session; this cookie is removed by clicking the “{1}” link." xml:space="preserve">
|
||||
<value>Si utilizas el cuadro "{0}" al iniciar sesión, se almacena una segunda cookie y se transmite para establecer una sesión; esta cookie se elimina haciendo clic en el enlace "{1}".</value>
|
||||
</data>
|
||||
<data name="It also stores names and e-mail addreses of small group members, and plain-text passwords for small groups with password-protected lists." xml:space="preserve">
|
||||
<value>También almacena nombres y direcciones de correo electrónico de miembros de grupos pequeños, y contraseñas de texto sin formato para grupos pequeños con listas protegidas por contraseña.</value>
|
||||
</data>
|
||||
<data name="On the server, all data is stored in a controlled-access database." xml:space="preserve">
|
||||
<value>En el servidor, todos los datos se almacenan en una base de datos de acceso controlado.</value>
|
||||
</data>
|
||||
<data name="Removing Your Data" xml:space="preserve">
|
||||
<value>Eliminar Tus Datos</value>
|
||||
</data>
|
||||
<data name="The items below will help you understand the data we collect, access, and store on your behalf as you use this service." xml:space="preserve">
|
||||
<value>Los siguientes elementos le ayudarán a comprender los datos que recopilamos, accedemos y almacenamos en su nombre a medida que utiliza este servicio.</value>
|
||||
</data>
|
||||
<data name="The nature of the service is one where privacy is a must." xml:space="preserve">
|
||||
<value>La naturaleza del servicio es uno donde la privacidad es imprescindible.</value>
|
||||
</data>
|
||||
<data name="These backups are stored in a private cloud data repository." xml:space="preserve">
|
||||
<value>Estas copias de seguridad se almacenan en un repositorio de datos de nube privada.</value>
|
||||
</data>
|
||||
<data name="User Provided Data" xml:space="preserve">
|
||||
<value>Datos Proporcionados por el Usuario</value>
|
||||
</data>
|
||||
<data name="Users are also associated with one or more small groups." xml:space="preserve">
|
||||
<value>Los usuarios también están asociados con uno o más grupos pequeños.</value>
|
||||
</data>
|
||||
<data name="What We Collect" xml:space="preserve">
|
||||
<value>Lo Que Recolectamos</value>
|
||||
</data>
|
||||
<data name="While you are signed in, {0} utilizes a session cookie, and transmits that cookie to the server to establish your identity." xml:space="preserve">
|
||||
<value>Mientras está registrado, {0} utiliza una cookie de sesión y transmite esa cookie al servidor para establecer su identidad.</value>
|
||||
</data>
|
||||
<data name="Your data is backed up, along with other Bit Badger Solutions hosted systems, in a rolling manner; backups are preserved for the prior 7 days, and backups from the 1st and 15th are preserved for 3 months." xml:space="preserve">
|
||||
<value>Sus datos están respaldados, junto con otros sistemas hospedados de Soluciones de Bit Badger, de manera continua; las copias de seguridad se conservan durante los 7 días anteriores, y las copias de seguridad de la 1ª y la 15ª se conservan durante 3 meses.</value>
|
||||
</data>
|
||||
<data name="{0} also sends e-mails on behalf of the configured owner of a small group; these e-mails are sent from prayer@djs-consulting.com, with the “Reply To” header set to the configured owner of the small group." xml:space="preserve">
|
||||
<value>{0} también envía correos electrónicos en nombre del propietario configurado de un grupo pequeño; estos correos electrónicos se envían desde prayer@djs-consulting.com, con el encabezado “Reply To” configurado en el propietario configurado del grupo pequeño.</value>
|
||||
</data>
|
||||
<data name="{0} stores the first and last names, e-mail addresses, and hashed passwords of all authorized users." xml:space="preserve">
|
||||
<value>{0} almacena los nombres y apellidos, las direcciones de correo electrónico y las contraseñas hash de todos los usuarios autorizados.</value>
|
||||
</data>
|
||||
<data name="{0} stores the text of prayer requests." xml:space="preserve">
|
||||
<value>{0} almacena el texto de las solicitudes de oración.</value>
|
||||
</data>
|
||||
</root>
|
||||
168
src/PrayerTracker.UI/Resources/Views/Home/TermsOfService.es.resx
Normal file
168
src/PrayerTracker.UI/Resources/Views/Home/TermsOfService.es.resx
Normal file
@@ -0,0 +1,168 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="(as of May 24, 2018)" xml:space="preserve">
|
||||
<value>(a partir del 24 de mayo de 2018)</value>
|
||||
</data>
|
||||
<data name="Acceptance of Terms" xml:space="preserve">
|
||||
<value>Aceptación de los Términos</value>
|
||||
</data>
|
||||
<data name="Additionally, the date at the top of this page will be updated." xml:space="preserve">
|
||||
<value>Además, se actualizará la fecha en la parte superior de esta página.</value>
|
||||
</data>
|
||||
<data name="By accessing this web site, you are agreeing to be bound by these Terms and Conditions, and that you are responsible to ensure that your use of this site complies with all applicable laws." xml:space="preserve">
|
||||
<value>Al acceder a este sitio web, usted acepta estar sujeto a estos Términos y condiciones, y que es responsable de garantizar que su uso de este sitio cumpla con todas las leyes aplicables.</value>
|
||||
</data>
|
||||
<data name="Description of Service and Registration" xml:space="preserve">
|
||||
<value>Descripción del Servicio y Registro</value>
|
||||
</data>
|
||||
<data name="Liability" xml:space="preserve">
|
||||
<value>Responsabilidad</value>
|
||||
</data>
|
||||
<data name="Registration is accomplished via e-mail to Daniel Summers (daniel at bitbadger dot solutions, substituting punctuation)." xml:space="preserve">
|
||||
<value>El registro se realiza por correo electrónico a Daniel Summers (daniel en bitbadger dot solutions, sustituyendo la puntuación).</value>
|
||||
</data>
|
||||
<data name="See our {0} for details on the personal (user) information we maintain." xml:space="preserve">
|
||||
<value>Vea nuestro {0} para obtener detalles sobre la información personal (usuario) que mantenemos.</value>
|
||||
</data>
|
||||
<data name="The service and its developers may not be held liable for any damages that may arise through the use of this service." xml:space="preserve">
|
||||
<value>El servicio y sus desarrolladores no pueden ser considerados responsables de los daños que puedan surgir a través del uso de este servicio.</value>
|
||||
</data>
|
||||
<data name="These terms and conditions may be updated at any time." xml:space="preserve">
|
||||
<value>Estos términos y condiciones pueden actualizarse en cualquier momento.</value>
|
||||
</data>
|
||||
<data name="This service is provided “as is”, and no warranty (express or implied) exists." xml:space="preserve">
|
||||
<value>Este servicio se proporciona "tal cual", y no existe ninguna garantía (expresa o implícita).</value>
|
||||
</data>
|
||||
<data name="Updates to Terms" xml:space="preserve">
|
||||
<value>Actualizaciones a los Términos</value>
|
||||
</data>
|
||||
<data name="When these terms are updated, users will be notified by a system-generated announcement." xml:space="preserve">
|
||||
<value>Cuando se actualicen estos términos, los usuarios recibirán una notificación mediante un anuncio generado por el sistema.</value>
|
||||
</data>
|
||||
<data name="You may also wish to review our {0} to learn how we handle your data." xml:space="preserve">
|
||||
<value>También puede consultar nuestro {0} para conocer cómo manejamos sus datos.</value>
|
||||
</data>
|
||||
<data name="Your continued use of this site implies your acceptance of these terms." xml:space="preserve">
|
||||
<value>Su uso continuo de este sitio implica su aceptación de estos términos.</value>
|
||||
</data>
|
||||
<data name="{0} is a service that allows individuals to enter and amend prayer requests on behalf of organizations." xml:space="preserve">
|
||||
<value>{0} es un servicio que permite a las personas ingresar y modificar las solicitudes de oración en nombre de las organizaciones.</value>
|
||||
</data>
|
||||
</root>
|
||||
132
src/PrayerTracker.UI/Resources/Views/Requests/Lists.es.resx
Normal file
132
src/PrayerTracker.UI/Resources/Views/Requests/Lists.es.resx
Normal file
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Click the appropriate icon to log on or view the request list." xml:space="preserve">
|
||||
<value>Haga clic en el icono correspondiente para iniciar sesión en o ver la lista de peticiones.</value>
|
||||
</data>
|
||||
<data name="The groups listed below have either public or password-protected request lists." xml:space="preserve">
|
||||
<value>Los grupos se enumeran a continuación tienen o listas de peticiones públicos o protegidos por contraseña.</value>
|
||||
</data>
|
||||
<data name="There are no groups with public or password-protected request lists." xml:space="preserve">
|
||||
<value>No hay grupos con listas de peticiones públicos o protegidos por contraseña.</value>
|
||||
</data>
|
||||
<data name="Those with list icons are public, and those with log on icons are password-protected." xml:space="preserve">
|
||||
<value>Los grupos con las listas públicas tienen el icono de la lista, los grupos con contraseñas protegidas listas tienen el icono de inicio de sesión.</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Ending with either “serif” or “sans-serif” will cause the user's browser to use the default “serif” font (“Times New Roman” on Windows) or “sans-serif” font (“Arial” on Windows) if no other fonts in the list are found." xml:space="preserve">
|
||||
<value>Con la extensión “serif” o el “sans-serif” hará que el navegador del usuario para utilizar el valor predeterminado “serif” de la fuente (“Times New Roman” en Windows) o “sans-serif” de la fuente (“Arial” en Windows) si no otras fuentes en la lista se encuentran.</value>
|
||||
</data>
|
||||
<data name="If you want a custom color, you may be able to get some ideas (and a list of RGB values for those colors) from the W3 School's <a href="http://www.w3schools.com/html/html_colornames.asp" title="HTML Color List - W3 School">HTML color name list</a>." xml:space="preserve">
|
||||
<value>Si desea un color personalizado, que puede ser capaz de obtener algunas ideas (y una lista de valores RGB para los colores) de la lista de la Escuela de W3 de <a href="http://www.w3schools.com/html/html_colornames.asp" title="La Lista de Nombres de Colores HTML - La Escuela de W3">nombres de colores HTML</a>.</value>
|
||||
</data>
|
||||
<data name="List font names, separated by commas." xml:space="preserve">
|
||||
<value>Lista de nombres de fuentes separados por comas.</value>
|
||||
</data>
|
||||
<data name="The first font that is matched is the one that is used." xml:space="preserve">
|
||||
<value>La primera fuente que se corresponde es el que se utiliza.</value>
|
||||
</data>
|
||||
</root>
|
||||
520
src/PrayerTracker.UI/SmallGroup.fs
Normal file
520
src/PrayerTracker.UI/SmallGroup.fs
Normal file
@@ -0,0 +1,520 @@
|
||||
module PrayerTracker.Views.SmallGroup
|
||||
|
||||
open Giraffe.GiraffeViewEngine
|
||||
open Microsoft.Extensions.Localization
|
||||
open PrayerTracker
|
||||
open PrayerTracker.Entities
|
||||
open PrayerTracker.ViewModels
|
||||
open System.IO
|
||||
|
||||
/// View for the announcement page
|
||||
let announcement isAdmin ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let reqTypes = ReferenceList.requestTypeList s
|
||||
[ form [ _action "/small-group/announcement/send"; _method "post"; _class "pt-center-columns" ] [
|
||||
yield csrfToken ctx
|
||||
yield div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field pt-editor" ] [
|
||||
label [ _for "text" ] [ encLocText s.["Announcement Text"] ]
|
||||
textarea [ _name "text"; _id "text"; _autofocus ] []
|
||||
]
|
||||
]
|
||||
match isAdmin with
|
||||
| true ->
|
||||
yield div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [] [ encLocText s.["Send Announcement to"]; rawText ":" ]
|
||||
div [ _class "pt-center-text" ] [
|
||||
radio "sendToClass" "sendY" "Y" "Y"
|
||||
label [ _for "sendY" ] [ encLocText s.["This Group"]; rawText " " ]
|
||||
radio "sendToClass" "sendN" "N" "Y"
|
||||
label [ _for "sendN" ] [ encLocText s.["All {0} Users", s.["PrayerTracker"]] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
| false ->
|
||||
yield input [ _type "hidden"; _name "sendToClass"; _value "Y" ]
|
||||
yield div [ _class "pt-field-row pt-fadeable pt-shown"; _id "divAddToList" ] [
|
||||
div [ _class "pt-checkbox-field" ] [
|
||||
input [ _type "checkbox"; _name "addToRequestList"; _id "addToRequestList"; _value "True" ]
|
||||
label [ _for "addToRequestList" ] [ encLocText s.["Add to Request List"] ]
|
||||
]
|
||||
]
|
||||
yield div [ _class "pt-field-row pt-fadeable"; _id "divCategory" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "requestType" ] [ encLocText s.["Request Type"] ]
|
||||
reqTypes
|
||||
|> Seq.ofList
|
||||
|> Seq.map (fun item -> fst item, (snd item).Value)
|
||||
|> selectList "requestType" "Announcement" []
|
||||
]
|
||||
]
|
||||
yield div [ _class "pt-field-row" ] [ submit [] "send" s.["Send Announcement"] ]
|
||||
]
|
||||
script [] [ rawText "PT.onLoad(PT.smallGroup.announcement.onPageLoad)" ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Send Announcement"
|
||||
|
||||
|
||||
/// View for once an announcement has been sent
|
||||
let announcementSent (m : Announcement) vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
[ span [ _class "pt-email-heading" ] [ encLocText s.["HTML Format"]; rawText ":" ]
|
||||
div [ _class "pt-email-canvas" ] [ rawText m.text ]
|
||||
br []
|
||||
br []
|
||||
span [ _class "pt-email-heading" ] [ encLocText s.["Plain-Text Format"]; rawText ":" ]
|
||||
div [ _class "pt-email-canvas" ] [ pre [] [ encodedText (m.plainText ()) ] ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Announcement Sent"
|
||||
|
||||
|
||||
/// View for the small group add/edit page
|
||||
let edit (m : EditSmallGroup) (churches : Church list) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let pageTitle = match m.isNew () with true -> "Add a New Group" | false -> "Edit Group"
|
||||
form [ _action "/small-group/save"; _method "post"; _class "pt-center-columns" ] [
|
||||
csrfToken ctx
|
||||
input [ _type "hidden"; _name "smallGroupId"; _value (m.smallGroupId.ToString "N") ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "name" ] [ encLocText s.["Group Name"] ]
|
||||
input [ _type "text"; _name "name"; _id "name"; _value m.name; _required; _autofocus ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "churchId" ] [ encLocText s.["Church"] ]
|
||||
seq {
|
||||
yield "", selectDefault s.["Select Church"].Value
|
||||
yield! churches |> List.map (fun c -> c.churchId.ToString "N", c.name)
|
||||
}
|
||||
|> selectList "churchId" (m.churchId.ToString "N") [ _required ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [ submit [] "save" s.["Save Group"] ]
|
||||
]
|
||||
|> List.singleton
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi pageTitle
|
||||
|
||||
|
||||
/// View for the member edit page
|
||||
let editMember (m : EditMember) (typs : (string * LocalizedString) seq) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let pageTitle = match m.isNew () with true -> "Add a New Group Member" | false -> "Edit Group Member"
|
||||
form [ _action "/small-group/member/save"; _method "post"; _class "pt-center-columns" ] [
|
||||
style [ _scoped ] [ rawText "#memberName { width: 15rem; } #emailAddress { width: 20rem; }" ]
|
||||
csrfToken ctx
|
||||
input [ _type "hidden"; _name "memberId"; _value (m.memberId.ToString "N") ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "memberName" ] [ encLocText s.["Member Name"] ]
|
||||
input [ _type "text"; _name "memberName"; _id "memberName"; _required; _autofocus; _value m.memberName ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "emailAddress" ] [ encLocText s.["E-mail Address"] ]
|
||||
input [ _type "email"; _name "emailAddress"; _id "emailAddress"; _required; _value m.emailAddress ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "emailType" ] [ encLocText s.["E-mail Format"] ]
|
||||
typs
|
||||
|> Seq.map (fun typ -> fst typ, (snd typ).Value)
|
||||
|> selectList "emailType" m.emailType []
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [ submit [] "save" s.["Save"] ]
|
||||
]
|
||||
|> List.singleton
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi pageTitle
|
||||
|
||||
|
||||
/// View for the small group log on page
|
||||
let logOn (grps : SmallGroup list) grpId ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
[ form [ _action "/small-group/log-on/submit"; _method "post"; _class "pt-center-columns" ] [
|
||||
csrfToken ctx
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "smallGroupId" ] [ encLocText s.["Group"] ]
|
||||
seq {
|
||||
match grps.Length with
|
||||
| 0 -> yield "", s.["There are no classes with passwords defined"].Value
|
||||
| _ ->
|
||||
yield "", selectDefault s.["Select Group"].Value
|
||||
yield! grps
|
||||
|> List.map (fun grp -> grp.smallGroupId.ToString "N", sprintf "%s | %s" grp.church.name grp.name)
|
||||
}
|
||||
|> selectList "smallGroupId" grpId [ _required ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "password" ] [ encLocText s.["Password"] ]
|
||||
input [ _type "password"; _name "password"; _id "password"; _required;
|
||||
_placeholder (s.["Case-Sensitive"].Value.ToLower ()) ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-checkbox-field" ] [
|
||||
input [ _type "checkbox"; _name "rememberMe"; _id "rememberMe"; _value "True" ]
|
||||
label [ _for "rememberMe" ] [ encLocText s.["Remember Me"] ]
|
||||
br []
|
||||
small [] [ em [] [ encodedText (s.["Requires Cookies"].Value.ToLower ()) ] ]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [ submit [] "account_circle" s.["Log On"] ]
|
||||
]
|
||||
script [] [ rawText "PT.onLoad(PT.smallGroup.logOn.onPageLoad)" ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Group Log On"
|
||||
|
||||
|
||||
/// View for the small group maintenance page
|
||||
let maintain (grps : SmallGroup list) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
[ div [ _class "pt-center-text" ] [
|
||||
br []
|
||||
a [ _href (sprintf "/small-group/%s/edit" emptyGuid); _title s.["Add a New Group"].Value ] [
|
||||
icon "add_circle"
|
||||
rawText " "
|
||||
encLocText s.["Add a New Group"]
|
||||
]
|
||||
br []
|
||||
br []
|
||||
]
|
||||
tableSummary grps.Length s
|
||||
table [ _class "pt-table pt-action-table" ] [
|
||||
thead [] [
|
||||
tr [] [
|
||||
th [] [ encLocText s.["Actions"] ]
|
||||
th [] [ encLocText s.["Name"] ]
|
||||
th [] [ encLocText s.["Church"] ]
|
||||
th [] [ encLocText s.["Time Zone"] ]
|
||||
]
|
||||
]
|
||||
grps
|
||||
|> List.map (fun g ->
|
||||
let grpId = g.smallGroupId.ToString "N"
|
||||
let delAction = sprintf "/small-group/%s/delete" grpId
|
||||
let delPrompt = s.["Are you want to delete this {0}? This action cannot be undone.",
|
||||
sprintf "%s (%s)" (s.["Small Group"].Value.ToLower ()) g.name].Value
|
||||
tr [] [
|
||||
td [] [
|
||||
a [ _href (sprintf "/small-group/%s/edit" grpId); _title s.["Edit This Group"].Value ] [ icon "edit" ]
|
||||
a [ _href delAction
|
||||
_title s.["Delete This Group"].Value
|
||||
_onclick (sprintf "return PT.confirmDelete('%s','%s')" delAction delPrompt) ]
|
||||
[ icon "delete_forever" ]
|
||||
]
|
||||
td [] [ encodedText g.name ]
|
||||
td [] [ encodedText g.church.name ]
|
||||
td [] [ encLocText (TimeZones.name g.preferences.timeZoneId s) ]
|
||||
])
|
||||
|> tbody []
|
||||
]
|
||||
form [ _id "DeleteForm"; _action ""; _method "post" ] [ csrfToken ctx ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Maintain Groups"
|
||||
|
||||
|
||||
/// View for the member maintenance page
|
||||
let members (mbrs : Member list) (emailTyps : Map<string, LocalizedString>) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
[ div [ _class"pt-center-text" ] [
|
||||
br []
|
||||
a [ _href (sprintf "/small-group/member/%s/edit" emptyGuid); _title s.["Add a New Group Member"].Value ]
|
||||
[ icon "add_circle"; rawText " "; encLocText s.["Add a New Group Member"] ]
|
||||
br []
|
||||
br []
|
||||
]
|
||||
tableSummary mbrs.Length s
|
||||
table [ _class "pt-table pt-action-table" ] [
|
||||
thead [] [
|
||||
tr [] [
|
||||
th [] [ encLocText s.["Actions"] ]
|
||||
th [] [ encLocText s.["Name"] ]
|
||||
th [] [ encLocText s.["E-mail Address"] ]
|
||||
th [] [ encLocText s.["Format"] ]
|
||||
]
|
||||
]
|
||||
mbrs
|
||||
|> List.map (fun mbr ->
|
||||
let mbrId = mbr.memberId.ToString "N"
|
||||
let delAction = sprintf "/small-group/member/%s/delete" mbrId
|
||||
let delPrompt = s.["Are you want to delete this {0} ({1})? This action cannot be undone.",
|
||||
s.["group member"], mbr.memberName].Value
|
||||
tr [] [
|
||||
td [] [
|
||||
a [ _href (sprintf "/small-group/member/%s/edit" mbrId); _title s.["Edit This Group Member"].Value ]
|
||||
[ icon "edit" ]
|
||||
a [ _href delAction
|
||||
_title s.["Delete This Group Member"].Value
|
||||
_onclick (sprintf "return PT.confirmDelete('%s','%s')" delAction delPrompt) ]
|
||||
[ icon "delete_forever" ]
|
||||
]
|
||||
td [] [ encodedText mbr.memberName ]
|
||||
td [] [ encodedText mbr.email ]
|
||||
td [] [ encLocText emailTyps.[defaultArg mbr.format ""] ]
|
||||
])
|
||||
|> tbody []
|
||||
]
|
||||
form [ _id "DeleteForm"; _action ""; _method "post" ] [ csrfToken ctx ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Maintain Group Members"
|
||||
|
||||
|
||||
/// View for the small group overview page
|
||||
let overview m vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let linkSpacer = rawText " "
|
||||
let typs = ReferenceList.requestTypeList s |> Map.ofList
|
||||
article [ _class "pt-overview" ] [
|
||||
section [] [
|
||||
header [ _role "heading" ] [
|
||||
iconSized 72 "bookmark_border"
|
||||
encLocText s.["Quick Actions"]
|
||||
]
|
||||
div [] [
|
||||
a [ _href "/prayer-requests/view" ] [ icon "list"; linkSpacer; encLocText s.["View Prayer Request List"] ]
|
||||
hr []
|
||||
a [ _href "/small-group/announcement" ] [ icon "send"; linkSpacer; encLocText s.["Send Announcement"] ]
|
||||
hr []
|
||||
a [ _href "/small-group/preferences" ] [ icon "build"; linkSpacer; encLocText s.["Change Preferences"] ]
|
||||
]
|
||||
]
|
||||
section [] [
|
||||
header [ _role "heading" ] [
|
||||
iconSized 72 "question_answer"
|
||||
encLocText s.["Prayer Requests"]
|
||||
]
|
||||
div [] [
|
||||
yield p [ _class "pt-center-text" ] [
|
||||
strong [] [ encodedText (m.totalActiveReqs.ToString "N0"); space; encLocText s.["Active Requests"] ]
|
||||
]
|
||||
yield hr []
|
||||
for cat in m.activeReqsByCat do
|
||||
yield encodedText (cat.Value.ToString "N0")
|
||||
yield space
|
||||
yield encLocText typs.[cat.Key]
|
||||
yield br []
|
||||
yield br []
|
||||
yield encodedText (m.allReqs.ToString "N0")
|
||||
yield space
|
||||
yield encLocText s.["Total Requests"]
|
||||
yield hr []
|
||||
yield a [ _href "/prayer-requests/maintain" ] [
|
||||
icon "compare_arrows"
|
||||
linkSpacer
|
||||
encLocText s.["Maintain Prayer Requests"]
|
||||
]
|
||||
]
|
||||
]
|
||||
section [] [
|
||||
header [ _role "heading" ] [
|
||||
iconSized 72 "people_outline"
|
||||
encLocText s.["Group Members"]
|
||||
]
|
||||
div [ _class "pt-center-text" ] [
|
||||
strong [] [ encodedText (m.totalMbrs.ToString "N0"); space; encLocText s.["Members"] ]
|
||||
hr []
|
||||
a [ _href "/small-group/members" ] [ icon "email"; linkSpacer; encLocText s.["Maintain Group Members"] ]
|
||||
]
|
||||
]
|
||||
]
|
||||
|> List.singleton
|
||||
|> Layout.Content.wide
|
||||
|> Layout.standard vi "Small Group Overview"
|
||||
|
||||
|
||||
/// View for the small group preferences page
|
||||
let preferences (m : EditPreferences) (tzs : TimeZone list) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let l = I18N.forView "SmallGroup/Preferences"
|
||||
use sw = new StringWriter ()
|
||||
let raw = rawLocText sw
|
||||
[ form [ _action "/small-group/preferences/save"; _method "post"; _class "pt-center-columns" ] [
|
||||
style [ _scoped ] [ rawText "#expireDays, #daysToKeepNew, #longTermUpdateWeeks, #headingFontSize, #listFontSize { width: 3rem; } #emailFromAddress { width: 20rem; } #listFonts { width: 40rem; } @media screen and (max-width: 40rem) { #listFonts { width: 100%; } }" ]
|
||||
csrfToken ctx
|
||||
fieldset [] [
|
||||
legend [] [ strong [] [ icon "date_range"; rawText " "; encLocText s.["Dates"] ] ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "expireDays" ] [ encLocText s.["Requests Expire After"] ]
|
||||
span [] [
|
||||
input [ _type "number"; _name "expireDays"; _id "expireDays"; _min "1"; _max "30"; _required; _autofocus
|
||||
_value (string m.expireDays) ]
|
||||
space; encodedText (s.["Days"].Value.ToLower ())
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "daysToKeepNew" ] [ encLocText s.["Requests “New” For"] ]
|
||||
span [] [
|
||||
input [ _type "number"; _name "daysToKeepNew"; _id "daysToKeepNew"; _min "1"; _max "30"; _required
|
||||
_value (string m.daysToKeepNew) ]
|
||||
space; encodedText (s.["Days"].Value.ToLower ())
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "longTermUpdateWeeks" ] [ encLocText s.["Long-Term Requests Alerted for Update"] ]
|
||||
span [] [
|
||||
input [ _type "number"; _name "longTermUpdateWeeks"; _id "longTermUpdateWeeks"; _min "1"; _max "30"
|
||||
_required; _value (string m.longTermUpdateWeeks) ]
|
||||
space; encodedText (s.["Weeks"].Value.ToLower ())
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
fieldset [] [
|
||||
legend [] [ strong [] [ icon "sort"; rawText " "; encLocText s.["Request Sorting"] ] ]
|
||||
radio "requestSort" "requestSort_D" "D" m.requestSort
|
||||
label [ _for "requestSort_D" ] [ encLocText s.["Sort by Last Updated Date"] ]
|
||||
rawText " "
|
||||
radio "requestSort" "requestSort_R" "R" m.requestSort
|
||||
label [ _for "requestSort_R" ] [ encLocText s.["Sort by Requestor Name"] ]
|
||||
]
|
||||
fieldset [] [
|
||||
legend [] [ strong [] [ icon "mail_outline"; rawText " "; encLocText s.["E-mail"] ] ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "emailFromName" ] [ encLocText s.["From Name"] ]
|
||||
input [ _type "text"; _name "emailFromName"; _id "emailFromName"; _required; _value m.emailFromName ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "emailFromAddress" ] [ encLocText s.["From Address"] ]
|
||||
input [ _type "email"; _name "emailFromAddress"; _id "emailFromAddress"; _required
|
||||
_value m.emailFromAddress ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "defaultEmailType" ] [ encLocText s.["E-mail Format"] ]
|
||||
seq {
|
||||
yield "", selectDefault s.["Select"].Value
|
||||
yield! ReferenceList.emailTypeList "" s |> Seq.skip 1 |> Seq.map (fun typ -> fst typ, (snd typ).Value)
|
||||
}
|
||||
|> selectList "defaultEmailType" m.defaultEmailType [ _required ]
|
||||
]
|
||||
]
|
||||
]
|
||||
fieldset [] [
|
||||
legend [] [ strong [] [ icon "color_lens"; rawText " "; encLocText s.["Colors"] ]; rawText " ***" ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _class "pt-center-text" ] [ encLocText s.["Color of Heading Lines"] ]
|
||||
span [] [
|
||||
radio "headingLineType" "headingLineType_Name" "Name" m.headingLineType
|
||||
label [ _for "headingLineType_Name" ] [ encLocText s.["Named Color"] ]
|
||||
namedColorList "headingLineColor" m.headingLineColor
|
||||
[ yield _id "headingLineColor_Select"
|
||||
match m.headingLineColor.StartsWith "#" with true -> yield _disabled | false -> () ] s
|
||||
rawText " "; encodedText (s.["or"].Value.ToUpper ())
|
||||
radio "headingLineType" "headingLineType_RGB" "RGB" m.headingLineType
|
||||
label [ _for "headingLineType_RGB" ] [ encLocText s.["Custom Color"] ]
|
||||
input [ yield _type "color"
|
||||
yield _name "headingLineColor"
|
||||
yield _id "headingLineColor_Color"
|
||||
yield _value m.headingLineColor
|
||||
match m.headingLineColor.StartsWith "#" with true -> () | false -> yield _disabled ]
|
||||
]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _class "pt-center-text" ] [ encLocText s.["Color of Heading Text"] ]
|
||||
span [] [
|
||||
radio "headingTextType" "headingTextType_Name" "Name" m.headingTextType
|
||||
label [ _for "headingTextType_Name" ] [ encLocText s.["Named Color"] ]
|
||||
namedColorList "headingTextColor" m.headingTextColor
|
||||
[ yield _id "headingTextColor_Select"
|
||||
match m.headingTextColor.StartsWith "#" with true -> yield _disabled | false -> () ] s
|
||||
rawText " "; encodedText (s.["or"].Value.ToUpper ())
|
||||
radio "headingTextType" "headingTextType_RGB" "RGB" m.headingTextType
|
||||
label [ _for "headingTextType_RGB" ] [ encLocText s.["Custom Color"] ]
|
||||
input [ yield _type "color"
|
||||
yield _name "headingTextColor"
|
||||
yield _id "headingTextColor_Color"
|
||||
yield _value m.headingTextColor
|
||||
match m.headingTextColor.StartsWith "#" with true -> () | false -> yield _disabled ]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
fieldset [] [
|
||||
legend [] [ strong [] [ icon "font_download"; rawText " "; encLocText s.["Fonts"] ] ]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "listFonts" ] [ encLocText s.["Fonts** for List"] ]
|
||||
input [ _type "text"; _name "listFonts"; _id "listFonts"; _required; _value m.listFonts ]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "headingFontSize" ] [ encLocText s.["Heading Text Size"] ]
|
||||
input [ _type "number"; _name "headingFontSize"; _id "headingFontSize"; _min "8"; _max "24"; _required
|
||||
_value (string m.headingFontSize) ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "listFontSize" ] [ encLocText s.["List Text Size"] ]
|
||||
input [ _type "number"; _name "listFontSize"; _id "listFontSize"; _min "8"; _max "24"; _required
|
||||
_value (string m.listFontSize) ]
|
||||
]
|
||||
]
|
||||
]
|
||||
fieldset [] [
|
||||
legend [] [ strong [] [ icon "settings"; rawText " "; encLocText s.["Other Settings"] ] ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "TimeZone" ] [ encLocText s.["Time Zone"] ]
|
||||
seq {
|
||||
yield "", selectDefault s.["Select"].Value
|
||||
yield! tzs |> List.map (fun tz -> tz.timeZoneId, (TimeZones.name tz.timeZoneId s).Value)
|
||||
}
|
||||
|> selectList "timeZone" m.timeZone [ _required ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [] [ encLocText s.["Request List Visibility"] ]
|
||||
span [] [
|
||||
radio "listVisibility" "viz_Public" (string RequestVisibility.``public``) (string m.listVisibility)
|
||||
label [ _for "viz_Public" ] [ encLocText s.["Public"] ]
|
||||
rawText " "
|
||||
radio "listVisibility" "viz_Private" (string RequestVisibility.``private``) (string m.listVisibility)
|
||||
label [ _for "viz_Private" ] [ encLocText s.["Private"] ]
|
||||
rawText " "
|
||||
radio "listVisibility" "viz_Password" (string RequestVisibility.passwordProtected) (string m.listVisibility)
|
||||
label [ _for "viz_Password" ] [ encLocText s.["Password Protected"] ]
|
||||
]
|
||||
]
|
||||
div [ yield _id "divClassPassword"
|
||||
match m.listVisibility = RequestVisibility.passwordProtected with
|
||||
| true -> yield _class "pt-field-row pt-fadeable pt-show"
|
||||
| false -> yield _class "pt-field-row pt-fadeable"
|
||||
] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "groupPassword" ] [ encLocText s.["Group Password (Used to Read Online)"] ]
|
||||
input [ _type "text"; _name "groupPassword"; _id "groupPassword";
|
||||
_value (match m.groupPassword with Some x -> x | None -> "") ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [ submit [] "save" s.["Save Preferences"] ]
|
||||
]
|
||||
]
|
||||
p [] [
|
||||
rawText "** "
|
||||
raw l.["List font names, separated by commas."]
|
||||
space
|
||||
raw l.["The first font that is matched is the one that is used."]
|
||||
space
|
||||
raw l.["Ending with either “serif” or “sans-serif” will cause the user's browser to use the default “serif” font (“Times New Roman” on Windows) or “sans-serif” font (“Arial” on Windows) if no other fonts in the list are found."]
|
||||
]
|
||||
p [] [
|
||||
rawText "*** "
|
||||
raw l.["If you want a custom color, you may be able to get some ideas (and a list of RGB values for those colors) from the W3 School's <a href=\"http://www.w3schools.com/html/html_colornames.asp\" title=\"HTML Color List - W3 School\">HTML color name list</a>."]
|
||||
]
|
||||
script [] [ rawText "PT.onLoad(PT.smallGroup.preferences.onPageLoad)" ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Group Preferences"
|
||||
222
src/PrayerTracker.UI/User.fs
Normal file
222
src/PrayerTracker.UI/User.fs
Normal file
@@ -0,0 +1,222 @@
|
||||
module PrayerTracker.Views.User
|
||||
|
||||
open Giraffe.GiraffeViewEngine
|
||||
open PrayerTracker.Entities
|
||||
open PrayerTracker.ViewModels
|
||||
|
||||
/// View for the group assignment page
|
||||
let assignGroups m (groups : Map<string, string>) (curGroups : string list) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let pageTitle = sprintf "%s • %A" m.userName s.["Assign Groups"]
|
||||
form [ _action "/user/small-groups/save"; _method "post"; _class "pt-center-columns" ] [
|
||||
csrfToken ctx
|
||||
input [ _type "hidden"; _name "userId"; _value (m.userId.ToString "N") ]
|
||||
input [ _type "hidden"; _name "userName"; _value m.userName ]
|
||||
table [ _class "pt-table" ] [
|
||||
thead [] [
|
||||
tr [] [
|
||||
th [] [ rawText " " ]
|
||||
th [] [ encLocText s.["Group"] ]
|
||||
]
|
||||
]
|
||||
groups
|
||||
|> Seq.map (fun grp ->
|
||||
let inputId = sprintf "id-%s" grp.Key
|
||||
tr [] [
|
||||
td [] [
|
||||
input [ yield _type "checkbox"
|
||||
yield _name "smallGroups"
|
||||
yield _id inputId
|
||||
yield _value grp.Key
|
||||
match curGroups |> List.contains grp.Key with true -> yield _checked | false -> () ]
|
||||
]
|
||||
td [] [ label [ _for inputId ] [ encodedText grp.Value ] ]
|
||||
])
|
||||
|> List.ofSeq
|
||||
|> tbody []
|
||||
]
|
||||
div [ _class "pt-field-row" ] [ submit [] "save" s.["Save Group Assignments"] ]
|
||||
]
|
||||
|> List.singleton
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi pageTitle
|
||||
|
||||
|
||||
/// View for the password change page
|
||||
let changePassword ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
[ p [ _class "pt-center-text" ] [
|
||||
encLocText s.["To change your password, enter your current password in the specified box below, then enter your new password twice."]
|
||||
]
|
||||
form [ _action "/user/password/change"
|
||||
_method "post"
|
||||
_onsubmit (sprintf "return PT.compareValidation('newPassword','newPasswordConfirm','%A')" s.["The passwords do not match"]) ] [
|
||||
style [ _scoped ] [ rawText "#oldPassword, #newPassword, #newPasswordConfirm { width: 10rem; } "]
|
||||
csrfToken ctx
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "oldPassword" ] [ encLocText s.["Current Password"] ]
|
||||
input [ _type "password"; _name "oldPassword"; _id "oldPassword"; _required; _autofocus ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "newPassword" ] [ encLocText s.["New Password Twice"] ]
|
||||
input [ _type "password"; _name "newPassword"; _id "newPassword"; _required ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [] [ rawText " " ]
|
||||
input [ _type "password"; _name "newPasswordConfirm"; _id "newPasswordConfirm"; _required ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
submit [ _onclick "document.getElementById('newPasswordConfirm').setCustomValidity('')" ] "done"
|
||||
s.["Change Your Password"]
|
||||
]
|
||||
]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Change Your Password"
|
||||
|
||||
|
||||
/// View for the edit user page
|
||||
let edit (m : EditUser) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
let pageTitle = match m.isNew () with true -> "Add a New User" | false -> "Edit User"
|
||||
let pwPlaceholder = s.[match m.isNew () with true -> "" | false -> "No change"].Value
|
||||
[ form [ _action "/user/edit/save"; _method "post"; _class "pt-center-columns"
|
||||
_onsubmit (sprintf "return PT.compareValidation('password','passwordConfirm','%A')" s.["The passwords do not match"]) ] [
|
||||
style [ _scoped ]
|
||||
[ rawText "#firstName, #lastName, #password, #passwordConfirm { width: 10rem; } #emailAddress { width: 20rem; } " ]
|
||||
csrfToken ctx
|
||||
input [ _type "hidden"; _name "userId"; _value (m.userId.ToString "N") ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "firstName" ] [ encLocText s.["First Name"] ]
|
||||
input [ _type "text"; _name "firstName"; _id "firstName"; _value m.firstName; _required; _autofocus ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "lastName" ] [ encLocText s.["Last Name"] ]
|
||||
input [ _type "text"; _name "lastName"; _id "lastName"; _value m.lastName; _required ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "emailAddress" ] [ encLocText s.["E-mail Address"] ]
|
||||
input [ _type "email"; _name "emailAddress"; _id "emailAddress"; _value m.emailAddress; _required ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "password" ] [ encLocText s.["Password"] ]
|
||||
input [ _type "password"; _name "password"; _id "password"; _placeholder pwPlaceholder ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "passwordConfirm" ] [ encLocText s.["Password Again"] ]
|
||||
input [ _type "password"; _name "passwordConfirm"; _id "passwordConfirm"; _placeholder pwPlaceholder ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-checkbox-field" ] [
|
||||
input [ yield _type "checkbox"
|
||||
yield _name "isAdmin"
|
||||
yield _id "isAdmin"
|
||||
yield _value "True"
|
||||
match m.isAdmin with Some x when x -> yield _checked | _ -> () ]
|
||||
label [ _for "isAdmin" ] [ encLocText s.["This user is a PrayerTracker administrator"] ]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [ submit [] "save" s.["Save User"] ]
|
||||
]
|
||||
script [] [ rawText (sprintf "PT.onLoad(PT.user.edit.onPageLoad(%s))" ((string (m.isNew ())).ToLower ())) ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi pageTitle
|
||||
|
||||
|
||||
/// View for the user log on page
|
||||
let logOn (m : UserLogOn) (groups : Map<string, string>) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
form [ _action "/user/log-on"; _method "post"; _class "pt-center-columns" ] [
|
||||
style [ _scoped ] [ rawText "#emailAddress { width: 20rem; }" ]
|
||||
csrfToken ctx
|
||||
input [ _type "hidden"; _name "redirectUrl"; _value (defaultArg m.redirectUrl "") ]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "emailAddress"] [ encLocText s.["E-mail Address"] ]
|
||||
input [ _type "email"; _name "emailAddress"; _id "emailAddress"; _value m.emailAddress; _required; _autofocus ]
|
||||
]
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "password" ] [ encLocText s.["Password"] ]
|
||||
input [ _type "password"; _name "password"; _id "password"; _required;
|
||||
_placeholder (sprintf "(%s)" (s.["Case-Sensitive"].Value.ToLower ())) ]
|
||||
]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [
|
||||
div [ _class "pt-field" ] [
|
||||
label [ _for "smallGroupId" ] [ encLocText s.["Group"] ]
|
||||
seq {
|
||||
yield "", selectDefault s.["Select Group"].Value
|
||||
yield! groups |> Seq.sortBy (fun x -> x.Value) |> Seq.map (fun x -> x.Key, x.Value)
|
||||
}
|
||||
|> selectList "smallGroupId" "" [ _required ]
|
||||
|
||||
]
|
||||
]
|
||||
div [ _class "pt-checkbox-field" ] [
|
||||
input [ _type "checkbox"; _name "rememberMe"; _id "rememberMe"; _value "True" ]
|
||||
label [ _for "rememberMe" ] [ encLocText s.["Remember Me"] ]
|
||||
br []
|
||||
small [] [ em [] [ rawText "("; encodedText (s.["Requires Cookies"].Value.ToLower ()); rawText ")" ] ]
|
||||
]
|
||||
div [ _class "pt-field-row" ] [ submit [] "account_circle" s.["Log On"] ]
|
||||
]
|
||||
|> List.singleton
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "User Log On"
|
||||
|
||||
|
||||
/// View for the user maintenance page
|
||||
let maintain (users : User list) ctx vi =
|
||||
let s = I18N.localizer.Force ()
|
||||
[ div [ _class "pt-center-text" ] [
|
||||
br []
|
||||
a [ _href (sprintf "/user/%s/edit" emptyGuid); _title s.["Add a New User"].Value ]
|
||||
[ icon "add_circle"; rawText " "; encLocText s.["Add a New User"] ]
|
||||
br []
|
||||
br []
|
||||
]
|
||||
tableSummary users.Length s
|
||||
table [ _class "pt-table pt-action-table" ] [
|
||||
thead [] [
|
||||
tr [] [
|
||||
th [] [ encLocText s.["Actions"] ]
|
||||
th [] [ encLocText s.["Name"] ]
|
||||
th [] [ encLocText s.["Admin?"] ]
|
||||
]
|
||||
]
|
||||
users
|
||||
|> List.map (fun user ->
|
||||
let userId = user.userId.ToString "N"
|
||||
let delAction = sprintf "/user/%s/delete" userId
|
||||
let delPrompt = s.["Are you want to delete this {0}? This action cannot be undone.",
|
||||
(sprintf "%s (%s)" (s.["User"].Value.ToLower()) user.fullName)].Value
|
||||
tr [] [
|
||||
td [] [
|
||||
a [ _href (sprintf "/user/%s/edit" userId); _title s.["Edit This User"].Value ] [ icon "edit" ]
|
||||
a [ _href (sprintf "/user/%s/small-groups" userId); _title s.["Assign Groups to This User"].Value ]
|
||||
[ icon "group" ]
|
||||
a [ _href delAction
|
||||
_title s.["Delete This User"].Value
|
||||
_onclick (sprintf "return PT.confirmDelete('%s','%s')" delAction delPrompt) ]
|
||||
[ icon "delete_forever" ]
|
||||
]
|
||||
td [] [ encodedText user.fullName ]
|
||||
td [ _class "pt-center-text" ] [
|
||||
match user.isAdmin with
|
||||
| true -> yield strong [] [ encLocText s.["Yes"] ]
|
||||
| false -> yield encLocText s.["No"]
|
||||
]
|
||||
])
|
||||
|> tbody []
|
||||
]
|
||||
form [ _id "DeleteForm"; _action ""; _method "post" ] [ csrfToken ctx ]
|
||||
]
|
||||
|> Layout.Content.standard
|
||||
|> Layout.standard vi "Maintain Users"
|
||||
207
src/PrayerTracker.UI/Utils.fs
Normal file
207
src/PrayerTracker.UI/Utils.fs
Normal file
@@ -0,0 +1,207 @@
|
||||
[<AutoOpen>]
|
||||
module PrayerTracker.Utils
|
||||
|
||||
open System.Net
|
||||
open System.Security.Cryptography
|
||||
open System.Text
|
||||
open System.Text.RegularExpressions
|
||||
open System
|
||||
|
||||
/// Hash a string with a SHA1 hash
|
||||
let sha1Hash (x : string) =
|
||||
use alg = SHA1.Create ()
|
||||
alg.ComputeHash (ASCIIEncoding().GetBytes x)
|
||||
|> Seq.map (fun chr -> chr.ToString "x2")
|
||||
|> Seq.reduce (+)
|
||||
|
||||
|
||||
/// Hash a string using 1,024 rounds of PBKDF2 and a salt
|
||||
let pbkdf2Hash (salt : Guid) (x : string) =
|
||||
use alg = new Rfc2898DeriveBytes (x, Encoding.UTF8.GetBytes (salt.ToString "N"), 1024)
|
||||
Convert.ToBase64String(alg.GetBytes 64)
|
||||
|
||||
|
||||
/// Replace the first occurrence of a string with a second string within a given string
|
||||
let replaceFirst (needle : string) replacement (haystack : string) =
|
||||
let i = haystack.IndexOf needle
|
||||
match i with
|
||||
| -1 -> haystack
|
||||
| _ ->
|
||||
seq {
|
||||
yield haystack.Substring (0, i)
|
||||
yield replacement
|
||||
yield haystack.Substring (i + needle.Length)
|
||||
}
|
||||
|> Seq.reduce (+)
|
||||
|
||||
/// Strip HTML tags from the given string
|
||||
// Adapted from http://www.dijksterhuis.org/safely-cleaning-html-with-strip_tags-in-csharp/
|
||||
let stripTags allowedTags input =
|
||||
let stripHtmlExp = Regex @"(<\/?[^>]+>)"
|
||||
let mutable output = input
|
||||
for tag in stripHtmlExp.Matches input do
|
||||
let htmlTag = tag.Value.ToLower ()
|
||||
let isAllowed =
|
||||
allowedTags
|
||||
|> List.fold
|
||||
(fun acc t ->
|
||||
acc
|
||||
|| htmlTag.IndexOf (sprintf "<%s>" t) = 0
|
||||
|| htmlTag.IndexOf (sprintf "<%s " t) = 0
|
||||
|| htmlTag.IndexOf (sprintf "</%s" t) = 0) false
|
||||
match isAllowed with
|
||||
| true -> ()
|
||||
| false -> output <- replaceFirst tag.Value "" output
|
||||
output
|
||||
|
||||
/// Wrap a string at the specified number of characters
|
||||
let wordWrap charPerLine (input : string) =
|
||||
match input.Length with
|
||||
| len when len <= charPerLine -> input
|
||||
| _ ->
|
||||
let rec findSpace (inp : string) idx =
|
||||
match idx with
|
||||
| 0 -> 0
|
||||
| _ ->
|
||||
match inp.Substring (idx, 1) with
|
||||
| null | " " -> idx
|
||||
| _ -> findSpace inp (idx - 1)
|
||||
seq {
|
||||
for line in input.Replace("\r", "").Split '\n' do
|
||||
let mutable remaining = line
|
||||
match remaining.Length with
|
||||
| 0 -> ()
|
||||
| _ ->
|
||||
while charPerLine < remaining.Length do
|
||||
let spaceIdx = findSpace remaining charPerLine
|
||||
match spaceIdx with
|
||||
| 0 ->
|
||||
// No whitespace; just break it at [characters]
|
||||
yield remaining.Substring (0, charPerLine)
|
||||
remaining <- remaining.Substring charPerLine
|
||||
| _ ->
|
||||
yield remaining.Substring (0, spaceIdx)
|
||||
remaining <- remaining.Substring (spaceIdx + 1)
|
||||
match remaining.Length with
|
||||
| 0 -> ()
|
||||
| _ -> yield remaining
|
||||
}
|
||||
|> Seq.fold (fun (acc : StringBuilder) line -> acc.AppendFormat ("{0}\n", line)) (StringBuilder ())
|
||||
|> string
|
||||
|
||||
/// Modify the text returned by CKEditor into the format we need for request and announcement text
|
||||
let ckEditorToText (text : string) =
|
||||
text
|
||||
.Replace("\n\t", "") // \r
|
||||
.Replace(" ", " ")
|
||||
.Replace(" ", "  ")
|
||||
.Replace("</p><p>", "<br><br>") // \r
|
||||
.Replace("</p>", "")
|
||||
.Replace("<p>", "")
|
||||
.Trim()
|
||||
|
||||
|
||||
/// Convert an HTML piece of text to plain text
|
||||
let htmlToPlainText html =
|
||||
match html with
|
||||
| null | "" -> ""
|
||||
| _ ->
|
||||
WebUtility.HtmlDecode((html.Trim() |> stripTags [ "br" ]).Replace("<br />", "\n").Replace("<br>", "\n"))
|
||||
.Replace("\u00a0", " ")
|
||||
|
||||
/// Get the second portion of a tuple as a string
|
||||
let sndAsString x = (snd >> string) x
|
||||
|
||||
/// "Magic string" repository
|
||||
[<RequireQualifiedAccess>]
|
||||
module Key =
|
||||
|
||||
/// This contains constants for session-stored objects within PrayerTracker
|
||||
module Session =
|
||||
/// The currently logged-on small group
|
||||
let currentGroup = "CurrentGroup"
|
||||
/// The currently logged-on user
|
||||
let currentUser = "CurrentUser"
|
||||
/// User messages to be displayed the next time a page is sent
|
||||
let userMessages = "UserMessages"
|
||||
/// The URL to which the user should be redirected once they have logged in
|
||||
let redirectUrl = "RedirectUrl"
|
||||
|
||||
/// Names and value names for use with cookies
|
||||
module Cookie =
|
||||
/// The name of the user cookie
|
||||
let user = "LoggedInUser"
|
||||
/// The name of the class cookie
|
||||
let group = "LoggedInClass"
|
||||
/// The name of the culture cookie
|
||||
let culture = "CurrentCulture"
|
||||
/// The name of the idle timeout cookie
|
||||
let timeout = "TimeoutCookie"
|
||||
/// The cookies that should be cleared when a user or group logs off
|
||||
let logOffCookies = [ user; group; timeout ]
|
||||
|
||||
|
||||
/// Enumerated values for small group request list visibility (derived from preferences, used in UI)
|
||||
module RequestVisibility =
|
||||
/// Requests are publicly accessible
|
||||
[<Literal>]
|
||||
let ``public`` = 1
|
||||
/// The small group members can enter a password to view the request list
|
||||
[<Literal>]
|
||||
let passwordProtected = 2
|
||||
/// No one can see the requests for a small group except its administrators ("User" access level)
|
||||
[<Literal>]
|
||||
let ``private`` = 3
|
||||
|
||||
|
||||
/// A page with verbose user instructions
|
||||
type HelpPage =
|
||||
{ /// The module to which the help page applies
|
||||
``module`` : string
|
||||
/// The topic for the help page
|
||||
topic : string
|
||||
/// The text with which this help page is linked (context help is linked with an icon)
|
||||
linkedText : string
|
||||
}
|
||||
with
|
||||
/// A help page that does not exist
|
||||
static member None = { ``module`` = null; topic = null; linkedText = null }
|
||||
|
||||
/// The URL fragment for this page (appended to "/help/" for the full URL)
|
||||
member this.Url = sprintf "%s/%s" this.``module`` this.topic
|
||||
|
||||
|
||||
/// Links for help locations
|
||||
module Help =
|
||||
/// Help link for small group preference edit page
|
||||
let groupPreferences = { ``module`` = "group"; topic = "preferences"; linkedText = "Change Preferences" }
|
||||
/// Help link for send announcement page
|
||||
let sendAnnouncement = { ``module`` = "group"; topic = "announcement"; linkedText = "Send Announcement" }
|
||||
/// Help link for maintain group members page
|
||||
let maintainGroupMembers = { ``module`` = "group"; topic = "members"; linkedText = "Maintain Group Members" }
|
||||
/// Help link for request edit page
|
||||
let editRequest = { ``module`` = "requests"; topic = "edit"; linkedText = "Add / Edit a Request" }
|
||||
/// Help link for maintain requests page
|
||||
let maintainRequests = { ``module`` = "requests"; topic = "maintain"; linkedText = "Maintain Requests" }
|
||||
/// Help link for view request list page
|
||||
let viewRequestList = { ``module`` = "requests"; topic = "view"; linkedText = "View Request List" }
|
||||
/// Help link for user and class login pages
|
||||
let logOn = { ``module`` = "user"; topic = "logon"; linkedText = "Log On" }
|
||||
/// Help link for user password change page
|
||||
let changePassword = { ``module`` = "user"; topic = "password"; linkedText = "Change Your Password" }
|
||||
/// All help pages (the order is the order in which they are displayed on the main help page)
|
||||
let all =
|
||||
[ logOn
|
||||
maintainRequests
|
||||
editRequest
|
||||
groupPreferences
|
||||
maintainGroupMembers
|
||||
viewRequestList
|
||||
sendAnnouncement
|
||||
changePassword
|
||||
]
|
||||
|
||||
|
||||
/// This class serves as a common anchor for resources
|
||||
type Common () =
|
||||
do ()
|
||||
625
src/PrayerTracker.UI/ViewModels.fs
Normal file
625
src/PrayerTracker.UI/ViewModels.fs
Normal file
@@ -0,0 +1,625 @@
|
||||
namespace PrayerTracker.ViewModels
|
||||
|
||||
open Microsoft.AspNetCore.Html
|
||||
open Microsoft.Extensions.Localization
|
||||
open PrayerTracker
|
||||
open PrayerTracker.Entities
|
||||
open System
|
||||
|
||||
|
||||
/// Helper module to return localized reference lists
|
||||
module ReferenceList =
|
||||
|
||||
/// A list of e-mail type options
|
||||
let emailTypeList def (s : IStringLocalizer) =
|
||||
// Localize the default type
|
||||
let defaultType =
|
||||
match def with
|
||||
| EmailType.Html -> s.["HTML Format"].Value
|
||||
| EmailType.PlainText -> s.["Plain-Text Format"].Value
|
||||
| EmailType.AttachedPdf -> s.["Attached PDF"].Value
|
||||
| _ -> ""
|
||||
seq {
|
||||
yield "", LocalizedString ("", sprintf "%s (%s)" s.["Group Default"].Value defaultType)
|
||||
yield EmailType.Html, s.["HTML Format"]
|
||||
yield EmailType.PlainText, s.["Plain-Text Format"]
|
||||
}
|
||||
|
||||
/// A list of expiration options
|
||||
let expirationList (s : IStringLocalizer) includeExpireNow =
|
||||
seq {
|
||||
yield "N", s.["Expire Normally"]
|
||||
yield "Y", s.["Request Never Expires"]
|
||||
match includeExpireNow with true -> yield "X", s.["Expire Immediately"] | false -> ()
|
||||
}
|
||||
|> List.ofSeq
|
||||
|
||||
/// A list of request types
|
||||
let requestTypeList (s : IStringLocalizer) =
|
||||
[ RequestType.Current, s.["Current Requests"]
|
||||
RequestType.Recurring, s.["Long-Term Requests"]
|
||||
RequestType.Praise, s.["Praise Reports"]
|
||||
RequestType.Expecting, s.["Expecting"]
|
||||
RequestType.Announcement, s.["Announcements"]
|
||||
]
|
||||
|
||||
|
||||
/// This is used to create a message that is displayed to the user
|
||||
[<NoComparison; NoEquality>]
|
||||
type UserMessage =
|
||||
{ /// The type
|
||||
level : string
|
||||
/// The actual message
|
||||
text : HtmlString
|
||||
/// The description (further information)
|
||||
description : HtmlString option
|
||||
}
|
||||
with
|
||||
/// Error message template
|
||||
static member Error =
|
||||
{ level = "ERROR"
|
||||
text = HtmlString.Empty
|
||||
description = None
|
||||
}
|
||||
/// Warning message template
|
||||
static member Warning =
|
||||
{ level = "WARNING"
|
||||
text = HtmlString.Empty
|
||||
description = None
|
||||
}
|
||||
/// Info message template
|
||||
static member Info =
|
||||
{ level = "Info"
|
||||
text = HtmlString.Empty
|
||||
description = None
|
||||
}
|
||||
|
||||
|
||||
/// View model required by the layout template, given as first parameter for all pages in PrayerTracker
|
||||
[<NoComparison; NoEquality>]
|
||||
type AppViewInfo =
|
||||
{ /// CSS files for the page
|
||||
style : string list
|
||||
/// JavaScript files for the page
|
||||
script : string list
|
||||
/// The link for help on this page
|
||||
helpLink : HelpPage
|
||||
/// Messages to be displayed to the user
|
||||
messages : UserMessage list
|
||||
/// The current version of PrayerTracker
|
||||
version : string
|
||||
/// The ticks when the request started
|
||||
requestStart : int64
|
||||
/// The currently logged on user, if there is one
|
||||
user : User option
|
||||
/// The currently logged on small group, if there is one
|
||||
group : SmallGroup option
|
||||
}
|
||||
with
|
||||
/// A fresh version that can be populated to process the current request
|
||||
static member fresh =
|
||||
{ style = []
|
||||
script = []
|
||||
helpLink = HelpPage.None
|
||||
messages = []
|
||||
version = ""
|
||||
requestStart = DateTime.Now.Ticks
|
||||
user = None
|
||||
group = None
|
||||
}
|
||||
|
||||
|
||||
/// Form for sending a small group or system-wide announcement
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type Announcement =
|
||||
{ /// Whether the announcement should be sent to the class or to PrayerTracker users
|
||||
sendToClass : string
|
||||
/// The text of the announcement
|
||||
text : string
|
||||
/// Whether this announcement should be added to the "Announcements" of the prayer list
|
||||
addToRequestList : bool option
|
||||
/// The ID of the request type to which this announcement should be added
|
||||
requestType : string option
|
||||
}
|
||||
with
|
||||
/// The text of the announcement, in plain text
|
||||
member this.plainText () = (htmlToPlainText >> wordWrap 74) this.text
|
||||
|
||||
|
||||
/// Form for assigning small groups to a user
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type AssignGroups =
|
||||
{ /// The Id of the user being assigned
|
||||
userId : UserId
|
||||
/// The full name of the user being assigned
|
||||
userName : string
|
||||
/// The Ids of the small groups to which the user is authorized
|
||||
smallGroups : string
|
||||
}
|
||||
with
|
||||
/// Create an instance of this form from an existing user
|
||||
static member fromUser (u : User) =
|
||||
{ userId = u.userId
|
||||
userName = u.fullName
|
||||
smallGroups = ""
|
||||
}
|
||||
|
||||
|
||||
/// Form to allow users to change their password
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type ChangePassword =
|
||||
{ /// The user's current password
|
||||
oldPassword : string
|
||||
/// The user's new password
|
||||
newPassword : string
|
||||
/// The user's new password, confirmed
|
||||
newPasswordConfirm : string
|
||||
}
|
||||
|
||||
|
||||
/// Form for adding or editing a church
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type EditChurch =
|
||||
{ /// The Id of the church
|
||||
churchId : ChurchId
|
||||
/// The name of the church
|
||||
name : string
|
||||
/// The city for the church
|
||||
city : string
|
||||
/// The state for the church
|
||||
st : string
|
||||
/// Whether the church has an active VPR interface
|
||||
hasInterface : bool option
|
||||
/// The address for the interface
|
||||
interfaceAddress : string option
|
||||
}
|
||||
with
|
||||
/// Create an instance from an existing church
|
||||
static member fromChurch (ch : Church) =
|
||||
{ churchId = ch.churchId
|
||||
name = ch.name
|
||||
city = ch.city
|
||||
st = ch.st
|
||||
hasInterface = match ch.hasInterface with true -> Some true | false -> None
|
||||
interfaceAddress = ch.interfaceAddress
|
||||
}
|
||||
/// An instance to use for adding churches
|
||||
static member empty =
|
||||
{ churchId = Guid.Empty
|
||||
name = ""
|
||||
city = ""
|
||||
st = ""
|
||||
hasInterface = None
|
||||
interfaceAddress = None
|
||||
}
|
||||
/// Is this a new church?
|
||||
member this.isNew () = Guid.Empty = this.churchId
|
||||
/// Populate a church from this form
|
||||
member this.populateChurch (church : Church) =
|
||||
{ church with
|
||||
name = this.name
|
||||
city = this.city
|
||||
st = this.st
|
||||
hasInterface = match this.hasInterface with Some x -> x | None -> false
|
||||
interfaceAddress = match this.hasInterface with Some x when x -> this.interfaceAddress | _ -> None
|
||||
}
|
||||
|
||||
|
||||
/// Form for adding/editing small group members
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type EditMember =
|
||||
{ /// The Id for this small group member (not user-entered)
|
||||
memberId : MemberId
|
||||
/// The name of the member
|
||||
memberName : string
|
||||
/// The e-mail address
|
||||
emailAddress : string
|
||||
/// The e-mail format
|
||||
emailType : string
|
||||
}
|
||||
with
|
||||
/// Create an instance from an existing member
|
||||
static member fromMember (m : Member) =
|
||||
{ memberId = m.memberId
|
||||
memberName = m.memberName
|
||||
emailAddress = m.email
|
||||
emailType = match m.format with Some f -> f | None -> ""
|
||||
}
|
||||
/// An empty instance
|
||||
static member empty =
|
||||
{ memberId = Guid.Empty
|
||||
memberName = ""
|
||||
emailAddress = ""
|
||||
emailType = ""
|
||||
}
|
||||
/// Is this a new member?
|
||||
member this.isNew () = Guid.Empty = this.memberId
|
||||
|
||||
|
||||
/// This form allows the user to set class preferences
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type EditPreferences =
|
||||
{ /// The number of days after which requests are automatically expired
|
||||
expireDays : int
|
||||
/// The number of days requests are considered "new"
|
||||
daysToKeepNew : int
|
||||
/// The number of weeks after which a long-term requests is flagged as requiring an update
|
||||
longTermUpdateWeeks : int
|
||||
/// Whether to sort by updated date or requestor/subject
|
||||
requestSort : string
|
||||
/// The name from which e-mail will be sent
|
||||
emailFromName : string
|
||||
/// The e-mail address from which e-mail will be sent
|
||||
emailFromAddress : string
|
||||
/// The default e-mail type for this group
|
||||
defaultEmailType : string
|
||||
/// Whether the heading line color uses named colors or R/G/B
|
||||
headingLineType : string
|
||||
/// The named color for the heading lines
|
||||
headingLineColor : string
|
||||
/// Whether the heading text color uses named colors or R/G/B
|
||||
headingTextType : string
|
||||
/// The named color for the heading text
|
||||
headingTextColor : string
|
||||
/// The fonts to use for the list
|
||||
listFonts : string
|
||||
/// The font size for the heading text
|
||||
headingFontSize : int
|
||||
/// The font size for the list text
|
||||
listFontSize : int
|
||||
/// The time zone for the class
|
||||
timeZone : string
|
||||
/// The list visibility
|
||||
listVisibility : int
|
||||
/// The small group password
|
||||
groupPassword : string option
|
||||
}
|
||||
with
|
||||
static member fromPreferences (prefs : ListPreferences) =
|
||||
let setType (x : string) = match x.StartsWith "#" with true -> "RGB" | false -> "Name"
|
||||
{ expireDays = prefs.daysToExpire
|
||||
daysToKeepNew = prefs.daysToKeepNew
|
||||
longTermUpdateWeeks = prefs.longTermUpdateWeeks
|
||||
requestSort = prefs.requestSort
|
||||
emailFromName = prefs.emailFromName
|
||||
emailFromAddress = prefs.emailFromAddress
|
||||
defaultEmailType = prefs.defaultEmailType
|
||||
headingLineType = setType prefs.lineColor
|
||||
headingLineColor = prefs.lineColor
|
||||
headingTextType = setType prefs.headingColor
|
||||
headingTextColor = prefs.headingColor
|
||||
listFonts = prefs.listFonts
|
||||
headingFontSize = prefs.headingFontSize
|
||||
listFontSize = prefs.textFontSize
|
||||
timeZone = prefs.timeZoneId
|
||||
groupPassword = Some prefs.groupPassword
|
||||
listVisibility =
|
||||
match true with
|
||||
| _ when prefs.isPublic -> RequestVisibility.``public``
|
||||
| _ when prefs.groupPassword = "" -> RequestVisibility.``private``
|
||||
| _ -> RequestVisibility.passwordProtected
|
||||
}
|
||||
/// Set the properties of a small group based on the form's properties
|
||||
member this.populatePreferences (prefs : ListPreferences) =
|
||||
let isPublic, grpPw =
|
||||
match this.listVisibility with
|
||||
| RequestVisibility.``public`` -> true, ""
|
||||
| RequestVisibility.passwordProtected -> false, (defaultArg this.groupPassword "")
|
||||
| RequestVisibility.``private``
|
||||
| _ -> false, ""
|
||||
{ prefs with
|
||||
daysToExpire = this.expireDays
|
||||
daysToKeepNew = this.daysToKeepNew
|
||||
longTermUpdateWeeks = this.longTermUpdateWeeks
|
||||
requestSort = this.requestSort
|
||||
emailFromName = this.emailFromName
|
||||
emailFromAddress = this.emailFromAddress
|
||||
defaultEmailType = this.defaultEmailType
|
||||
lineColor = this.headingLineColor
|
||||
headingColor = this.headingTextColor
|
||||
listFonts = this.listFonts
|
||||
headingFontSize = this.headingFontSize
|
||||
textFontSize = this.listFontSize
|
||||
timeZoneId = this.timeZone
|
||||
isPublic = isPublic
|
||||
groupPassword = grpPw
|
||||
}
|
||||
|
||||
|
||||
/// Form for adding or editing prayer requests
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type EditRequest =
|
||||
{ /// The Id of the request
|
||||
requestId : PrayerRequestId
|
||||
/// The type of the request
|
||||
requestType : string
|
||||
/// The date of the request
|
||||
//[<Display (Name = "Date")>]
|
||||
enteredDate : DateTime option
|
||||
/// Whether to update the date or not
|
||||
skipDateUpdate : bool option
|
||||
/// The requestor or subject
|
||||
requestor : string option
|
||||
/// How this request is expired
|
||||
expiration : string
|
||||
/// The text of the request
|
||||
text : string
|
||||
}
|
||||
with
|
||||
/// An empty instance to use for new requests
|
||||
static member empty =
|
||||
{ requestId = Guid.Empty
|
||||
requestType = ""
|
||||
enteredDate = None
|
||||
skipDateUpdate = None
|
||||
requestor = None
|
||||
expiration = "N"
|
||||
text = ""
|
||||
}
|
||||
/// Create an instance from an existing request
|
||||
static member fromRequest req =
|
||||
{ EditRequest.empty with
|
||||
requestId = req.prayerRequestId
|
||||
requestType = req.requestType
|
||||
requestor = req.requestor
|
||||
expiration = match req.doNotExpire with true -> "Y" | false -> "N"
|
||||
text = req.text
|
||||
}
|
||||
/// Is this a new request?
|
||||
member this.isNew () = Guid.Empty = this.requestId
|
||||
|
||||
|
||||
/// Form for the admin-level editing of small groups
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type EditSmallGroup =
|
||||
{ /// The Id of the small group
|
||||
smallGroupId : SmallGroupId
|
||||
/// The name of the small group
|
||||
name : string
|
||||
/// The Id of the church to which this small group belongs
|
||||
churchId : ChurchId
|
||||
}
|
||||
with
|
||||
/// Create an instance from an existing small group
|
||||
static member fromGroup (g : SmallGroup) =
|
||||
{ smallGroupId = g.smallGroupId
|
||||
name = g.name
|
||||
churchId = g.churchId
|
||||
}
|
||||
/// An empty instance (used when adding a new group)
|
||||
static member empty =
|
||||
{ smallGroupId = Guid.Empty
|
||||
name = ""
|
||||
churchId = Guid.Empty
|
||||
}
|
||||
/// Is this a new small group?
|
||||
member this.isNew () = Guid.Empty = this.smallGroupId
|
||||
/// Populate a small group from this form
|
||||
member this.populateGroup (grp : SmallGroup) =
|
||||
{ grp with
|
||||
name = this.name
|
||||
churchId = this.churchId
|
||||
}
|
||||
|
||||
|
||||
/// Form for the user edit page
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type EditUser =
|
||||
{ /// The Id of the user
|
||||
userId : UserId
|
||||
/// The first name of the user
|
||||
firstName : string
|
||||
/// The last name of the user
|
||||
lastName : string
|
||||
/// The e-mail address for the user
|
||||
emailAddress : string
|
||||
/// The password for the user
|
||||
password : string
|
||||
/// The password hash for the user a second time
|
||||
passwordConfirm : string
|
||||
/// Is this user a PrayerTracker administrator?
|
||||
isAdmin : bool option
|
||||
}
|
||||
with
|
||||
/// An empty instance
|
||||
static member empty =
|
||||
{ userId = Guid.Empty
|
||||
firstName = ""
|
||||
lastName = ""
|
||||
emailAddress = ""
|
||||
password = ""
|
||||
passwordConfirm = ""
|
||||
isAdmin = None
|
||||
}
|
||||
/// Create an instance from an existing user
|
||||
static member fromUser (user : User) =
|
||||
{ EditUser.empty with
|
||||
userId = user.userId
|
||||
firstName = user.firstName
|
||||
lastName = user.lastName
|
||||
emailAddress = user.emailAddress
|
||||
isAdmin = match user.isAdmin with true -> Some true | false -> None
|
||||
}
|
||||
/// Is this a new user?
|
||||
member this.isNew () = Guid.Empty = this.userId
|
||||
/// Populate a user from the form
|
||||
member this.populateUser (user : User) hasher =
|
||||
{ user with
|
||||
firstName = this.firstName
|
||||
lastName = this.lastName
|
||||
emailAddress = this.emailAddress
|
||||
isAdmin = match this.isAdmin with Some x -> x | None -> false
|
||||
}
|
||||
|> function
|
||||
| u when this.password = null || this.password = "" -> u
|
||||
| u -> { u with passwordHash = hasher this.password }
|
||||
|
||||
|
||||
/// Form for the small group log on page
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type GroupLogOn =
|
||||
{ /// The ID of the small group to which the user is logging on
|
||||
smallGroupId : SmallGroupId
|
||||
/// The password entered
|
||||
password : string
|
||||
/// Whether to remember the login
|
||||
rememberMe : bool option
|
||||
}
|
||||
with
|
||||
static member empty =
|
||||
{ smallGroupId = Guid.Empty
|
||||
password = ""
|
||||
rememberMe = None
|
||||
}
|
||||
|
||||
|
||||
/// Items needed to display the small group overview page
|
||||
type Overview =
|
||||
{ /// The total number of active requests
|
||||
totalActiveReqs : int
|
||||
/// The numbers of active requests by category
|
||||
activeReqsByCat : Map<string, int>
|
||||
/// A count of all requests
|
||||
allReqs : int
|
||||
/// A count of all members
|
||||
totalMbrs : int
|
||||
}
|
||||
|
||||
|
||||
/// Form for the user log on page
|
||||
[<CLIMutable; NoComparison; NoEquality>]
|
||||
type UserLogOn =
|
||||
{ /// The e-mail address of the user
|
||||
emailAddress : string
|
||||
/// The password entered
|
||||
password : string
|
||||
/// The ID of the small group to which the user is logging on
|
||||
smallGroupId : SmallGroupId
|
||||
/// Whether to remember the login
|
||||
rememberMe : bool option
|
||||
/// The URL to which the user should be redirected once login is successful
|
||||
redirectUrl : string option
|
||||
}
|
||||
with
|
||||
static member empty =
|
||||
{ emailAddress = ""
|
||||
password = ""
|
||||
smallGroupId = Guid.Empty
|
||||
rememberMe = None
|
||||
redirectUrl = None
|
||||
}
|
||||
|
||||
|
||||
open Giraffe.GiraffeViewEngine
|
||||
|
||||
/// This represents a list of requests
|
||||
type RequestList =
|
||||
{ /// The prayer request list
|
||||
requests : PrayerRequest list
|
||||
/// The date for which this list is being generated
|
||||
date : DateTime
|
||||
/// The small group to which this list belongs
|
||||
listGroup : SmallGroup
|
||||
/// Whether to show the class header
|
||||
showHeader : bool
|
||||
/// The list of recipients (populated if requests are e-mailed)
|
||||
recipients : Member list
|
||||
/// Whether the user can e-mail this list
|
||||
canEmail : bool
|
||||
}
|
||||
with
|
||||
/// Get the requests for a specified type
|
||||
member this.requestsInCategory cat =
|
||||
let reqs =
|
||||
this.requests
|
||||
|> Seq.ofList
|
||||
|> Seq.filter (fun req -> req.requestType = cat)
|
||||
match this.listGroup.preferences.requestSort with
|
||||
| "D" -> reqs |> Seq.sortByDescending (fun req -> req.updatedDate)
|
||||
| _ -> reqs |> Seq.sortBy (fun req -> req.requestor)
|
||||
|> List.ofSeq
|
||||
/// Is this request new?
|
||||
member this.isNew (req : PrayerRequest) =
|
||||
(this.date - req.updatedDate).Days <= this.listGroup.preferences.daysToKeepNew
|
||||
/// Generate this list as HTML
|
||||
member this.asHtml (s : IStringLocalizer) =
|
||||
let prefs = this.listGroup.preferences
|
||||
[ match this.showHeader with
|
||||
| true ->
|
||||
yield div [ _style (sprintf "text-align:center;font-family:%s" prefs.listFonts) ] [
|
||||
span [ _style (sprintf "font-size:%ipt;" prefs.headingFontSize) ] [
|
||||
strong [] [ encodedText s.["Prayer Requests"].Value ]
|
||||
]
|
||||
br []
|
||||
span [ _style (sprintf "font-size:%ipt;" prefs.textFontSize) ] [
|
||||
strong [] [ encodedText this.listGroup.name ]
|
||||
br []
|
||||
encodedText (this.date.ToString s.["MMMM d, yyyy"].Value)
|
||||
]
|
||||
]
|
||||
yield br []
|
||||
| false -> ()
|
||||
let typs = ReferenceList.requestTypeList s
|
||||
for cat in
|
||||
typs
|
||||
|> Seq.ofList
|
||||
|> Seq.map fst
|
||||
|> Seq.filter (fun c -> 0 < (this.requests |> List.filter (fun req -> req.requestType = c) |> List.length)) do
|
||||
let reqs = this.requestsInCategory cat
|
||||
let catName = typs |> List.filter (fun t -> fst t = cat) |> List.head |> snd
|
||||
yield div [ _style "padding-left:10px;padding-bottom:.5em;" ] [
|
||||
table [ _style (sprintf "font-family:%s;page-break-inside:avoid;" prefs.listFonts) ] [
|
||||
tr [] [
|
||||
td [ _style (sprintf "font-size:%ipt;color:%s;padding:3px 0;border-top:solid 3px %s;border-bottom:solid 3px %s;font-weight:bold;"
|
||||
prefs.headingFontSize prefs.headingColor prefs.lineColor prefs.lineColor) ] [
|
||||
rawText " "; encodedText catName.Value; rawText " "
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
yield
|
||||
reqs
|
||||
|> List.map (fun req ->
|
||||
let bullet = match this.isNew req with true -> "circle" | false -> "disc"
|
||||
li [ _style (sprintf "list-style-type:%s;font-family:%s;font-size:%ipt;padding-bottom:.25em;"
|
||||
bullet prefs.listFonts prefs.textFontSize) ] [
|
||||
match req.requestor with
|
||||
| Some rqstr when rqstr <> "" ->
|
||||
yield strong [] [ encodedText rqstr ]
|
||||
yield rawText " — "
|
||||
| Some _ -> ()
|
||||
| None -> ()
|
||||
yield rawText req.text
|
||||
])
|
||||
|> ul []
|
||||
yield br []
|
||||
]
|
||||
|> renderHtmlNodes
|
||||
|
||||
/// Generate this list as plain text
|
||||
member this.asText (s : IStringLocalizer) =
|
||||
seq {
|
||||
yield this.listGroup.name
|
||||
yield s.["Prayer Requests"].Value
|
||||
yield this.date.ToString s.["MMMM d, yyyy"].Value
|
||||
yield " "
|
||||
let typs = ReferenceList.requestTypeList s
|
||||
for cat in
|
||||
typs
|
||||
|> Seq.ofList
|
||||
|> Seq.map fst
|
||||
|> Seq.filter (fun c -> 0 < (this.requests |> List.filter (fun req -> req.requestType = c) |> List.length)) do
|
||||
let reqs = this.requestsInCategory cat
|
||||
let typ = (typs |> List.filter (fun t -> fst t = cat) |> List.head |> snd).Value
|
||||
let dashes = String.replicate (typ.Length + 4) "-"
|
||||
yield dashes
|
||||
yield sprintf @" %s" (typ.ToUpper ())
|
||||
yield dashes
|
||||
for req in reqs do
|
||||
let bullet = match this.isNew req with true -> "+" | false -> "-"
|
||||
let requestor = match req.requestor with Some r -> sprintf "%s - " r | None -> ""
|
||||
yield sprintf " %s %s%s" bullet requestor (htmlToPlainText req.text)
|
||||
yield " "
|
||||
}
|
||||
|> String.concat "\n"
|
||||
|> wordWrap 74
|
||||
Reference in New Issue
Block a user