Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
d26dac8
Update primary and background color
obulat Feb 6, 2020
a55e713
Style Help section according to the mockup
obulat Feb 6, 2020
4791603
mockup code
obulat Feb 7, 2020
ccbdab4
Setup vuex store
obulat Feb 10, 2020
856e795
Add vuex to components
obulat Feb 10, 2020
1976966
Clean up vuex store, show Copyright Waiver if CC0
obulat Feb 10, 2020
cb37181
Remove old components
obulat Feb 10, 2020
8b146d6
Add Dropdown step
obulat Feb 10, 2020
4394bcf
Set icon size to 35 px as in the mockup
obulat Feb 10, 2020
a5940ab
Add vuex to AttributionDetails component
obulat Feb 10, 2020
ae0004f
Review strings
obulat Feb 10, 2020
909e13e
Move store to /src and remove local functions from store
obulat Feb 11, 2020
9fc52cc
Move local data and functions from store to components
obulat Feb 11, 2020
126a4d9
Rename components: VerticalStep and VerticalStepper to Step and Stepper
obulat Feb 13, 2020
0d1c5c4
Add own Header and LocaleChooser components for launch of v1
obulat Feb 13, 2020
02655e5
Add language icon to LocaleChooser
obulat Feb 13, 2020
d07a645
Add Footer
obulat Feb 13, 2020
bd0b362
Add some Vocabulary typography styles
obulat Feb 13, 2020
562833e
Replace Vocabulary footer with own Footer component in App.vue
obulat Feb 13, 2020
e5522f3
Add white icons for Footer
obulat Feb 13, 2020
4e3555e
Some style fixes
obulat Feb 13, 2020
9634a24
Add arrow-right.png icon
obulat Feb 13, 2020
1eba7d8
Remove default options from Stepper
obulat Feb 16, 2020
1992565
Remove old LicenseCard component
obulat Feb 17, 2020
07c944e
Fix vuex bugs after removing default license state
obulat Feb 17, 2020
a98a9d6
Update steps and Stepper styles
obulat Feb 17, 2020
fa1fd10
Update right column styles
obulat Feb 17, 2020
74f2ad3
Refactor vocabulary header styles
obulat Feb 17, 2020
8ed862b
Update Footer, LocaleChooser and HelpSection styles
obulat Feb 17, 2020
4432690
Small fixes to strings, icons and header styles
obulat Feb 17, 2020
a328303
Remove console.log statements
obulat Feb 17, 2020
a2de993
Update License Card strings and styles
obulat Feb 17, 2020
0170e39
Update Header and Stepper naming
obulat Feb 18, 2020
e2622d1
Add LicenseCode component for generating License richtext
obulat Feb 18, 2020
b4a543f
Add license code references and functions
obulat Feb 18, 2020
95cf8b8
Review strings and string names
obulat Feb 18, 2020
b070efd
Fix missing strings, remove old SelectedLicenseInfo component
obulat Feb 18, 2020
5b8af35
Update Vuex and Stepper data handling
obulat Feb 20, 2020
382ac7e
Fix regression bug with currentStepId and visible steps
obulat Feb 20, 2020
c37db65
Add Help item for Free Culture Licenses
obulat Feb 20, 2020
c406081
Update language
obulat Feb 20, 2020
0ea217c
Remove unnecessary Vuex getters
obulat Feb 20, 2020
ee2218d
Update styles for SelectedLicenseCode and LicenseUseCard
obulat Feb 20, 2020
6dda97a
Make 'Next' button disabled on CopyrightWaiverStep after checkbox uns…
obulat Feb 21, 2020
22335a2
Make 'Next' button on Dropdown step enabled if navigated back after l…
obulat Feb 21, 2020
425298d
Add mode to license url generation to remove '?ref=ccchooser' from th…
obulat Feb 21, 2020
0820417
Fix LocaleSelector style, put it on top on mobile screen
obulat Feb 21, 2020
6ef753b
Small fixes in language and style
obulat Feb 21, 2020
93fda80
Format License Code for Print and Media
obulat Feb 23, 2020
be42999
Styling fixes for HelpSection
obulat Feb 23, 2020
a7597d5
Fix bug when selecting ND from the dropdown would activate unnecessar…
obulat Feb 23, 2020
c4b97db
Fix LocaleChooser on narrow screen: set to two lines
obulat Feb 23, 2020
7bb2700
Add fix to Stepper updating Visible and Enabled steps
obulat Feb 23, 2020
4b1d0d7
Update some strings
obulat Feb 23, 2020
edb7e4f
Remove blue outline from radio:hover state
obulat Feb 23, 2020
b21174a
Build the site
obulat Feb 23, 2020
61588a8
Address review comments on style
obulat Feb 24, 2020
3d27a85
Add Noun Project link, add periods at the ends of sentences, update R…
obulat Feb 24, 2020
a9445a3
Build the site
obulat Feb 24, 2020
a848d2d
Remove unnecessary period and reformat footer text
obulat Feb 25, 2020
91c32ad
Build the site
obulat Feb 25, 2020
10c898d
Fix footer links and Build the site
obulat Feb 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update language
Signed-off-by: Olga Bulat <obulat@gmail.com>
  • Loading branch information
obulat committed Feb 20, 2020
commit c406081810d032b2a91dfecd343060d32527b97a
9 changes: 3 additions & 6 deletions src/components/LicenseUseCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@
<h4 class="vocab h4b hb">{{$t('license-use.heading')}}</h4>
<p class="license-use-instructions">{{$t('license-use.common-instructions')}}</p>
<b-tabs>
<b-tab-item label="Website">
<b-tab-item :label="$t('license-use.web-tab-heading')">
{{$t('license-use.web-instructions')}}
<SelectedLicenseCode v-model="value"/>
</b-tab-item>
<b-tab-item label="Print Work">
{{$t('license-use.print-instructions')}}
<b-tab-item :label="$t('license-use.print-media-tab-heading')">
{{$t('license-use.print-media-instructions')}}
<license-code attribution-type="print"/>
</b-tab-item>
<b-tab-item label="Media">
{{$t('license-use.media-instructions')}}
</b-tab-item>
</b-tabs>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Stepper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default {
*/
stepHeaderText(stepId, stepStatus) {
const prefix = `stepper.${stepId}`
if (stepId === 'AD' || stepId === 'CW') {
if (stepId === 'AD') {
return prefix + '.heading'
}
return stepStatus === 'current' ? `${prefix}.question` : `${prefix}.heading`
Expand Down
60 changes: 31 additions & 29 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,64 +5,63 @@
"header": {
"nav-feedback": "FEEDBACK"
},
"locale-selector.label": "Languages available",
"locale-selector.label": "Selected language",
"select-license": {
"heading": "SELECT YOUR LICENSE",
"instructions": "Use the most open license with attribution requirement, or select other options to restrict it."
"instructions": "Follow the steps to select the appropriate license for your work"
},
"stepper":
{
"nav": {
"previous-label": "BACK",
"next-label": "NEXT QUESTION",
"finish-label": "SEE THE LICENSE"
"finish-label": "SEE LICENSE & ATTRIBUTION"
},
"yes": "Yes. ",
"no": "No. ",
"disabled-text": "This step is disabled due to selecting waiver of copyright through use of CC0.",
"disabled-text-ND": "This step is disabled due to selecting ND, which does not allow for adaptations.",
"FS": {
"heading": "Help with choosing a license",
"heading": "License Expertise",
"question": "Do you know which license you need?",
"selected": "I know the license I need",
"not-selected": "I need help selecting the license"
"selected": "Yes, I know which license I need",
"not-selected": "No, I need help selecting a license"
},
"BY": {
"heading": "Attribution",
"question": "Do you want attribution for your work?",
"selected": "Yes, anyone using my work must include proper attribution.",
"not-selected": "No, anyone can use my work, even without giving me attribution.",
"disabled-text": "This step is disabled due to selecting waiver of copyright through use of CC0."
"not-selected": "No, anyone can use my work, even without giving me attribution."
},
"NC": {
"heading": "Commercial Use",
"question": "Do you want to allow others to use your work commercially?",
"selected": "Yes, others can use my work, even for commercial purposes.",
"not-selected": "No, others can not use my work for commercial purposes.",
"disabled-text": "This step is disabled due to selecting waiver of copyright through use of CC0."
"not-selected": "No, others can not use my work for commercial purposes."
},
"ND": {
"heading": "Derivative Works",
"question": "Do you want to allow others to remix, adapt, or build upon your work?",
"selected": "Yes, others can remix, adapt, or build upon my work.",
"not-selected": "No. If others remix, adapt, or build upon my work, they may not distribute the modified material.",
"disabled-text": "This step is disabled due to selecting waiver of copyright through use of CC0."
"not-selected": "No, others may only use my work in unadapted form."
},
"SA": {
"heading": "Share on the Same Terms",
"heading": "Sharing Requirements",
"question": "Do you want to allow others to share adaptations under any terms?",
"selected": "Yes, others can share adaptations of my work under any terms.",
"not-selected": "No, others must license adaptations of my work under identical terms.",
"disabled-text": "This step is disabled due to selecting waiver of copyright through use of CC0.",
"disabled-text-ND": "This step is disabled due to selecting ND."
"not-selected": "No, others must license adaptations of my work under identical terms."
},
"CW": {
"heading": "Waive your Copyright",
"heading": "Copyright Waiver",
"question": "Waive Your Copyright",
"selected": "You waived your copyright",
"copyright-waive-agreement": "I hereby waive all copyright and related or neighboring rights together with all associated claims and causes of action with respect to this work to the extent possible under the law.",
"copyright-waive-confirmation": "I have read and understand the terms and intended legal effect of CC0, and hereby voluntarily elect to apply it to this work."
},
"DD": {
"heading": "Creative Commons License",
"question": "Which license do you need?",
"placeholder": "Select the license you need"
"placeholder": "Creative Commons License"
},
"AD": {
"heading": "Attribution Details",
Expand Down Expand Up @@ -90,10 +89,10 @@
"license-details-card": {
"heading": "RECOMMENDED LICENSE",
"full-description": {
"cc0": "Marking your work with a CC0 public domain dedication allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, even for commercial purposes. By marking your with a CC0 public domain dedication you are giving up your copyright.",
"cc0": "By marking your work with a CC0 public domain dedication, you are giving up your copyright and allowing reusers to distribute, remix, adapt, and build upon the material in any medium or format, even for commercial purposes.",
"cc-by": "This license requires that reuses give credit to the creator. It allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, even for commercial purposes.",
"cc-by-sa": "This license requires that reusers give credit to the creator. It allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, even for commercial purposes. If others remix, adapt, or build upon the material, they must license the modified material under identical terms.",
"cc-by-nd": "This license requires that reusers give credit to the creator. It allows reusers to copy and distribute the material in any medium or format, even for commercial purposes. If others remix, adapt, or build upon the material, they may not distribute the modified material.",
"cc-by-nd": "This license requires that reusers give credit to the creator. It allows reusers to copy and distribute the material in any medium or format in unadapted form only, even for commercial purposes.",
"cc-by-nc": "This license requires that reusers give credit to the creator. It allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, for noncommercial purposes only.",
"cc-by-nc-sa": "This license requires that reusers give credit to the creator. It allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, for noncommercial purposes only. If others modify or adapt the material, they must license the modified material under identical terms.",
"cc-by-nc-nd": "This license requires that reusers give credit to the creator. It allows reusers to copy and distribute the material in any medium or format, for noncommercial purposes only. If others remix, adapt, or build upon the material, they may not distribute the modified material."
Expand All @@ -110,7 +109,9 @@
"heading": "Use your license",
"common-instructions": "Choose what kind of work you are licensing to get appropriate license code",
"web-instructions": "If you are licensing one work, paste the code next to it. If you are licensing the whole page or blog, you can paste the license code at the bottom of the page",
"print-instructions": "Copy the text below and paste it on the title and/or copyright page of your print work or presentation.",
"web-tab-heading": "Website",
"print-media-tab-heading": "Print Work or Media",
"print-media-instructions": "Copy the text below and paste it on the title and/or copyright page of your print work or presentation, or in the credits of your media.",
"media-instructions": "TODO",
"rich-text-label": "Rich Text",
"html-label": "HTML",
Expand All @@ -121,14 +122,10 @@
"workTitle": "This work",
"by": "by",
"print-instructions": ". To view a copy of this license, visit {linkToLicenseDeed}."
}
}
},
"help": {
"heading": "CONFUSED? NEED HELP?",
"instructions": {
"mobile": "You can tap the buttons below to get answers to the questions on them!",
"desktop": "You can click the buttons below to get answers to the questions on them!"
},
"what-are-cc-licenses": {
"heading": "What Are Creative Commons Licenses?",
"text": "<p class='help-text'>The Creative Commons copyright licenses and tools forge a balance inside the traditional \"all rights reserved\" setting that copyright law creates. Our licenses and tools give everyone from individual creators to large companies a simple, standardized way to grant copyright permissions to their creative work.</p><p class='help-text'>This helps you as a creator, because instead of having to hire a lawyer to parse legalese and create a license for you, you can save time and money, use Creative Commons licenses instead!</p>",
Expand Down Expand Up @@ -166,7 +163,7 @@
},
"how-licenses-communicated": {
"heading": "How are Licenses Communicated?",
"text": "Creative Commons licenses can be represented by their names, their associated icons, or both. For example, a CC BY-NC license, which requires attribution, and prohibits commercial use could be represented by its:",
"text": "Creative Commons licenses can be represented by their names, their associated icons, or both. For example, a CC BY-NC license, which requires attribution, and prohibits commercial use could be represented by its:",
"full-name": "Full Name",
"short-name": "Short Name",
"license-icons": "Icons",
Expand All @@ -184,8 +181,13 @@
},
"six-cc-licenses": {
"heading": "The Six Creative Commons Licenses",
"text": " <p class='help-text'>There are six main licenses that Creative Commons offers.</p> <p class='help-text'>In the diagram to the right, you can see the six main licenses and the public domain CC0 license, and how restrictive they are, with licenses at the top being the least restrictive, and licenses at the bottom being the most restrictive.</p> <p class='help-text'>If you are unsure about which one is right for you and your work, please select <strong>\"I need help selecting a license\"</strong> on the first question of this page.</p>",
"text": "<p class='help-text'>There are six main licenses that Creative Commons offers.</p> <p class='help-text'>In the diagram to the right, you can see the six main licenses and the public domain CC0 license, and how restrictive they are, with licenses at the top being the least restrictive, and licenses at the bottom being the most restrictive.</p> <p class='help-text'>If you are unsure about which one is right for you and your work, please select <strong>\"I need help selecting a license\"</strong> on the first question of this page.</p>",
"footer": "For more information, please read more about <a id='licensing_examples_link' href='https://creativecommons.org/share-your-work/licensing-types-examples/' target='_blank'>CC Licenses and Examples.</a>"
},
"what-free-culture-license": {
"heading": "What is a Free Culture License?",
"text": "<p class='help-text'>CC uses the definition of free cultural works at <a href='https://freedomdefined.org/Definition' target='_blank'>Freedom Defined</a> to categorize certain CC licenses as Free Culture Licenses. Freedom Defined is an open organization of free culture advocates and researchers; the definition was developed by its community as a parallel to efforts such as the Free Software Definition, to have a standard for defining Free Culture. Using that definition, material licensed under CC BY or BY-SA is a free cultural work, as is anything in the worldwide public domain marked with CC0 or the Public Domain Mark.",
"footer": "Read more about <a href='https://creativecommons.org/share-your-work/public-domain/freeworks' target='_blank'>Understanding Free Cultural Works</a></p>"
}
},
"alt": {
Expand All @@ -211,5 +213,5 @@
"yes": "Free Culture License",
"no": "Not a Free Culture License"
}

}