Skip to content

[Feature] Import CC0 1.0 German translation #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
TimidRobot opened this issue Dec 9, 2022 · 1 comment · Fixed by #119
Closed
1 task done

[Feature] Import CC0 1.0 German translation #112

TimidRobot opened this issue Dec 9, 2022 · 1 comment · Fixed by #119
Assignees
Labels
📄 aspect: text Concerns the textual material in the repository ✨ goal: improvement Improvement to an existing feature 🟨 priority: medium Not blocking but should be fixed soon 🏁 status: ready for work Ready for work

Comments

@TimidRobot
Copy link
Member

TimidRobot commented Dec 9, 2022

Problem

CC0 1.0 German translation was recently added to (legacy) production:

Description

Import/cherry pick the appropriate commits and publish files.

Additional context

See previous related work:

(Was previously blocked by [Feature] Support separation Transifex projects for Deeds & UX and the lLegal Code translation domains · Issue #319 · creativecommons/cc-legal-tools-app)

Implementation

  • I would be interested in implementing this feature.
@TimidRobot TimidRobot added 🟨 priority: medium Not blocking but should be fixed soon 🚧 status: blocked Blocked & therefore, not ready for work ✨ goal: improvement Improvement to an existing feature 📄 aspect: text Concerns the textual material in the repository labels Dec 9, 2022
@TimidRobot
Copy link
Member Author

TimidRobot commented Jan 6, 2023

Import Process

  1. Publish CC0 1.0 legalcode German translation by TimidRobot · Pull Request #1252 · creativecommons/creativecommons.org
  2. Clone this repository (creativecommons/cc-legal-tools-data)
    • Perform any needed configuration (ex. GnuPG signing)
  3. Create working/destination branch (from main default branch)
    git checkout -b cc0-de
  4. Add creativecommons/creativecommons.org as a remote (named legacy) and update branches
    git remote add legacy https://github.com/creativecommons/creativecommons.org.git
    git remote update
  5. Cherry-pick relevant commits:
    git cherry-pick 70e457f84a22e1f61bc7e23e607c8646e052aa65
    CONFLICT (file location): docroot/legalcode/zero_1.0_de.html added in 70e457f84a (Stage 1st version of German CC0) inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to legacy/legalcode/zero_1.0_de.html.
    error: could not apply 70e457f84a... Stage 1st version of German CC0
    git add legacy/legalcode/zero_1.0_de.html
    git cherry-pick --continue
    git cherry-pick df3fc2fbf1180eb936a6c672a216f6443e6d5408
    git cherry-pick f79767a42811c3ee7c08e64185479fc4de0ed357
    git cherry-pick 5e786225a6d113c5f47b6fbab347b2d10af484d0
    git cherry-pick 109a0fe0a9296fe2007ebbe090ab6b4f8b9acca0
    git cherry-pick 5d5d65e8231e0c00c48efcc5e6546081455cbbb0
    git cherry-pick e3aac161a48dc57baf2618790560f12d99712c1f
    git cherry-pick d062aa1cc60ac4074e77f4c270ce5bc0c6fd07eb
    git cherry-pick 5a9844379ba9f58368de8e0fec7328a485d77687
    git cherry-pick 15af156b3e4fba9985c35bfc860c01d0955897a8
    git cherry-pick b084ab650d9692231433baedf706033773088890
    git cherry-pick 563564637f7c61bae81c8e582c5a9fe2cdf21a50
    git cherry-pick bea2a942959894154bbf7f30c4de4324e634704d
  6. Verify history:
    git log --follow legacy/legalcode/zero_1.0_de.html
    commit 83800fa4ede663ecd28691d018512c8236af69b4 (HEAD -> german-cc0)
    Author: Timid Robot Zehta <timid@creativecommons.org>
    Date:   2022-10-25 12:48:58 -0700
    
        replace opening paragraph tag
    
    commit 8872fc5ffd0c16c337e2640ac9822adbefcac18b
    Author: Timid Robot Zehta <timid@creativecommons.org>
    Date:   2022-10-25 12:43:22 -0700
    
        add missing 3rd paragraph
    
    commit 0d10a34093c364734c28275b400500a9d7719870
    Author: Timid Robot Zehta <timid@creativecommons.org>
    Date:   2022-08-09 07:38:32 -0700
    
        add missing space
    
    commit 4d76c0990caed34bfb31decdbc7a55319ae22fa4
    Author: Timid Robot Zehta <timid@creativecommons.org>
    Date:   2022-08-08 13:35:23 -0700
    
        remove whitespace
    
    commit ba3402702eacc1efd6d74525fda2a17a6f6a5f96
    Author: Timid Robot Zehta <timid@creativecommons.org>
    Date:   2022-08-08 13:28:39 -0700
    
        cut and paste contents from CC0 Übersetzung Deutsch Oppenheimer-Jaeger-Weitzmann-Gausepohl (final).pdf
    
    commit 4227fcd3eea736500f8f3cb8e8a788e6975e4ca4
    Author: Timid Robot Zehta <timid@creativecommons.org>
    Date:   2022-07-15 11:48:08 -0700
    
        ran `../../tools/cc0_update.py zero_1.0*.html` to update German translation formatting and add it to the footer language links
    
    commit ba420b9f6d9923aae7ccb03eaa8e154449a14701
    Author: Sarah Pearson <sarah@creativecommons.org>
    Date:   2021-03-28 17:10:39 -0500
    
        Update zero_1.0_de.html
        
        Made changes per email from John W from Sept 2020
    
    [...]
    
  7. Verify difference from source branch (main default branch):
    git diff main...HEAD
    
  8. Remove remote legacy and update branches
    git remote remove legacy
    
    git remote update
  9. Push cc0-de branch and create Pull Request

Related Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📄 aspect: text Concerns the textual material in the repository ✨ goal: improvement Improvement to an existing feature 🟨 priority: medium Not blocking but should be fixed soon 🏁 status: ready for work Ready for work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant