Skip to content

Commit

Permalink
feat: additional user fields (#1092)
Browse files Browse the repository at this point in the history
* feat: additional user fields

* fix: prevent acf field deletion

* refactor: apply code standards

* fix: update translations
  • Loading branch information
thorbrink authored Oct 23, 2024
1 parent 1652137 commit f6ee23c
Show file tree
Hide file tree
Showing 6 changed files with 346 additions and 28 deletions.
52 changes: 40 additions & 12 deletions languages/municipio.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-10-22T06:56:19+00:00\n"
"POT-Creation-Date: 2024-10-23T08:41:10+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.10.0\n"
"X-Domain: municipio\n"
Expand Down Expand Up @@ -274,6 +274,7 @@ msgstr ""
#: AcfFields/php/external-content-settings.php:30
#: AcfFields/php/options-api-resources-apis.php:30
#: AcfFields/php/post-type-schema-settings.php:30
#: AcfFields/php/user-author-image.php:131
msgid "Add Row"
msgstr ""

Expand Down Expand Up @@ -4022,6 +4023,7 @@ msgid "slow_motion_video"
msgstr ""

#: AcfFields/php/options-menu-icon.php:877
#: AcfFields/php/user-author-image.php:152
msgid "smartphone"
msgstr ""

Expand Down Expand Up @@ -6239,6 +6241,7 @@ msgid "Colour"
msgstr ""

#: AcfFields/php/term-icon-and-colour.php:47
#: AcfFields/php/user-author-image.php:136
msgid "Type"
msgstr ""

Expand Down Expand Up @@ -14751,31 +14754,60 @@ msgstr ""
msgid "Will default to \"Select <name of taxonomy>\"."
msgstr ""

#: AcfFields/php/user-author-image.php:8
msgid "Additional user information"
msgstr ""

#: AcfFields/php/user-author-image.php:12
msgid "Profile picture"
msgstr ""

#: AcfFields/php/user-author-image.php:36
#: AcfFields/php/user-author-image.php:39
msgid "Facebook profile url"
msgstr ""

#: AcfFields/php/user-author-image.php:52
#: AcfFields/php/user-author-image.php:56
msgid "Linkedin profile url"
msgstr ""

#: AcfFields/php/user-author-image.php:68
#: AcfFields/php/user-author-image.php:73
msgid "Instagram username"
msgstr ""

#: AcfFields/php/user-author-image.php:82
#: AcfFields/php/user-author-image.php:101
#: AcfFields/php/user-author-image.php:88
#: AcfFields/php/user-author-image.php:108
msgid "@"
msgstr ""

#: AcfFields/php/user-author-image.php:87
#: AcfFields/php/user-author-image.php:93
msgid "Twitter username"
msgstr ""

#: AcfFields/php/user-author-image.php:113
msgid "Phone numbers"
msgstr ""

#: AcfFields/php/user-author-image.php:149
msgid "Cell phone"
msgstr ""

#: AcfFields/php/user-author-image.php:150
msgid "Landline"
msgstr ""

#: AcfFields/php/user-author-image.php:165
msgid "Number"
msgstr ""

#: AcfFields/php/user-author-image.php:188
#: AcfFields/php/widget-contact.php:100
msgid "Address"
msgstr ""

#: AcfFields/php/user-author-image.php:209
msgid "Visiting Address"
msgstr ""

#: AcfFields/php/widget-contact.php:19
msgid "Contact person"
msgstr ""
Expand All @@ -14792,10 +14824,6 @@ msgstr ""
msgid "Email"
msgstr ""

#: AcfFields/php/widget-contact.php:100
msgid "Address"
msgstr ""

#: AcfFields/php/widget-contact.php:118
msgid "Lägg till rad"
msgstr ""
Expand Down Expand Up @@ -15011,7 +15039,7 @@ msgstr ""
msgid "Please add an alt text to the image."
msgstr ""

#: Admin/General.php:113
#: Admin/General.php:115
msgid "Only for logged in users"
msgstr ""

Expand Down
Binary file modified languages/sv_SE.mo
Binary file not shown.
42 changes: 35 additions & 7 deletions languages/sv_SE.po
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ msgstr "Färgen med lägst stopp visas alltid först."
#: AcfFields/php/external-content-settings.php:30
#: AcfFields/php/options-api-resources-apis.php:30
#: AcfFields/php/post-type-schema-settings.php:30
#: AcfFields/php/user-author-image.php:131
msgid "Add Row"
msgstr "Lägg till rad"

Expand Down Expand Up @@ -4013,6 +4014,7 @@ msgid "slow_motion_video"
msgstr "slow_motion_video"

#: AcfFields/php/options-menu-icon.php:877
#: AcfFields/php/user-author-image.php:152
msgid "smartphone"
msgstr "smartphone"

Expand Down Expand Up @@ -6230,6 +6232,7 @@ msgid "Colour"
msgstr "Färg"

#: AcfFields/php/term-icon-and-colour.php:47
#: AcfFields/php/user-author-image.php:136
msgid "Type"
msgstr "Typ"

Expand Down Expand Up @@ -14746,24 +14749,24 @@ msgstr "Kommer som standard att vara \"Välj <namn på taxonomi>\"."
msgid "Profile picture"
msgstr "Profilbild"

#: AcfFields/php/user-author-image.php:36
#: AcfFields/php/user-author-image.php:39
msgid "Facebook profile url"
msgstr "Url till Facebook-profil"

#: AcfFields/php/user-author-image.php:52
#: AcfFields/php/user-author-image.php:56
msgid "Linkedin profile url"
msgstr "Url till LinkedIn-profil"

#: AcfFields/php/user-author-image.php:68
#: AcfFields/php/user-author-image.php:73
msgid "Instagram username"
msgstr "Användarnamn på Instagram"

#: AcfFields/php/user-author-image.php:82
#: AcfFields/php/user-author-image.php:101
#: AcfFields/php/user-author-image.php:88
#: AcfFields/php/user-author-image.php:108
msgid "@"
msgstr "@"

#: AcfFields/php/user-author-image.php:87
#: AcfFields/php/user-author-image.php:93
msgid "Twitter username"
msgstr "Användarnamn på Twitter"

Expand All @@ -14783,6 +14786,7 @@ msgstr "Telefonnummer"
msgid "Email"
msgstr "Epost"

#: AcfFields/php/user-author-image.php:188
#: AcfFields/php/widget-contact.php:100
msgid "Address"
msgstr "Adress"
Expand Down Expand Up @@ -15002,7 +15006,7 @@ msgstr "Var god och lägg till en alt-text till bilden."
msgid "Please add an alt text to the image."
msgstr "Var god och lägg till en alt-text till bilden."

#: Admin/General.php:113
#: Admin/General.php:115
msgid "Only for logged in users"
msgstr "Endast för inloggade användare"

Expand Down Expand Up @@ -18116,3 +18120,27 @@ msgstr ""
#: ImageConvert/ImageConvertFilter.php:137
msgid "Image files must be smaller than %s"
msgstr ""

#: AcfFields/php/user-author-image.php:8
msgid "Additional user information"
msgstr "Övrig användarinformation"

#: AcfFields/php/user-author-image.php:113
msgid "Phone numbers"
msgstr "Telefonnummer"

#: AcfFields/php/user-author-image.php:149
msgid "Cell phone"
msgstr "Mobiltelefon"

#: AcfFields/php/user-author-image.php:150
msgid "Landline"
msgstr "Fast telefon"

#: AcfFields/php/user-author-image.php:165
msgid "Number"
msgstr "Nummer"

#: AcfFields/php/user-author-image.php:209
msgid "Visiting Address"
msgstr "Besöksadress"
Loading

0 comments on commit f6ee23c

Please sign in to comment.