Skip to content

Commit

Permalink
chore(doclicense): Update docs and tests for #92
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed Oct 3, 2022
1 parent 5c9e1c4 commit 6e6ff8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doclicense/doclicense.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% \changes{3.0.0}{2021/07/11}{Breaking change: Hard require package options "type", "modifier" and "version" now after one year in soft require migration period. Add Croatian translation. Add sections to docs about choosing a license and the REUSE specification. Update Spanish translation to match Creative Commons website. Add note to README that CC license texts and images are licensed themselves under CC0-1.0. Load csquotes after hyperref to avoid hyperref warning. Do not load the hyperxmp package if the silence package is loaded to avoid an endless loop. Improve warning messages generated by the package. Add "Dependency packages and load order" section to docs.}
% \changes{3.1.0}{2022/04/27}{Add macro \cmd{\doclicenseLongTextForHyperref} and use it inside \cmd{\hypersetup} to replace the fagile code that was previously used. Add Traditional Chinese (Taiwan), Swedish and Esperanto translations.}
% \changes{3.2.0}{2022/05/18}{Add Ukrainian translation.}
% \changes{3.3.0}{2022/10/XX}{Add Austrian and Swiss German translations.}
%
%
%
Expand Down Expand Up @@ -271,6 +272,7 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% Supported languages:
% ^^A Sorted alphabetically.
% \begin{itemize}
% \item Austrian
% \item Brazilian
% \item Bulgarian
% \item Catalan
Expand All @@ -289,6 +291,7 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% \item Russian
% \item Spanish
% \item Swedish
% \item Swiss German
% \item Ukrainian
% \end{itemize}
%
Expand Down
3 changes: 2 additions & 1 deletion doclicense/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ grep '\\item.*@nameuse{doclicense@lang' ./doclicense.dtx | sed 's/.*doclicense@l
# echo 'by-nc 3.0' | while read modifier version; do
# echo 'by-nc 4.0' | while read modifier version; do
for imagemodifier in "" "-eu" "-80x15"; do
for lang in "spanish" "english" "ngerman" "french" "russian" "italian" "polish" "portuguese" "catalan" "galician" "croatian" "swedish" "esperanto" "ukrainian"; do
for lang in "spanish" "english" "ngerman" "french" "russian" "italian" "polish" "portuguese" "catalan" "galician" "croatian" "swedish" "esperanto" "ukrainian" "austrian" "naustrian" "swissgerman" "nswissgerman"; do
# for lang in "spanish"; do
# for lang in "english" "ngerman"; do
# for lang in "ngerman"; do
Expand All @@ -26,6 +26,7 @@ grep '\\item.*@nameuse{doclicense@lang' ./doclicense.dtx | sed 's/.*doclicense@l
# for lang in "swedish"; do
# for lang in "esperanto"; do
# for lang in "ukrainian"; do
# for lang in "austrian" "naustrian" "swissgerman" "nswissgerman"; do
if [ "$lang" == "ngerman" ] && [ "$modifier" == "pd" ]; then
continue # Does not exist in Germany.
fi
Expand Down

0 comments on commit 6e6ff8c

Please sign in to comment.