Problem/Motivation

In many User Guide pages, there are tables of fields, explanations, and values that tell how to fill in administration forms.

In the block-create-custom topic, the table is missing the explanation column. Here's a link to the topic page:
https://www.drupal.org/docs/user_guide/en/block-create-custom.html

The source file is source/en/block-create-custom.txt.

Also the next topic has the same problem:
https://www.drupal.org/docs/user_guide/en/block-place.html
source file: block-place.txt

Proposed resolution

Add the Explanation column to the tables in these two topics.

Here are the guidelines for how these tables should be constructed:
https://www.drupal.org/docs/user_guide_guidelines/good-writing.html#good...

Remaining tasks

Make a patch that adds an Explanation column to the tables.

CommentFileSizeAuthor
#6 2864484.patch1.69 KBjhodgdon
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhodgdon created an issue. See original summary.

jhodgdon’s picture

Title: Table of fields and values in block-create-custom has no descriptions » Tables of fields and values in Block chapter have no descriptions
Issue summary: View changes

The Description field is also missing from the next topic, so adding this to the issue.

jhodgdon’s picture

Title: Tables of fields and values in Block chapter have no descriptions » Tables of fields and values in Block chapter have no explanations
Issue summary: View changes

Whoops. that should be "Explanation" not "Description".

ashishdalvi’s picture

Issue tags: +dcm2017

We will work on it at DCM2017

jhodgdon’s picture

Assigned: Unassigned » jhodgdon
Issue tags: -Novice, -dcm2017 +Translation updates needed

I guess the work at DCM didn't happen... I will make a patch.

jhodgdon’s picture

Status: Active » Needs review
FileSize
1.69 KB

I used grep and found one more topic with no explanations in the tables -- structure-image-style-create. But I looked at the tables there:
https://www.drupal.org/docs/user_guide/en/structure-image-style-create.html
and I think the explanations are probably OK to be omitted. For instance, explaining what "width" and "height" fields are doesn't seem very useful.

This is in contrast to the ones in the Block topics that were part of this issue, which seem to be a good thing to add, because the title/description fields in blocks are a bit confusing. Anyway, here is a patch.

jhodgdon’s picture

Anyone want to review this patch please?

Balu Ertl’s picture

Status: Needs review » Reviewed & tested by the community

Patch downloaded, applies smoothly on 8.x-3.x branch, the two Blocks-related files (source/en/block-create-custom.txt and block-place.txt) opened in Atom's AsciiDoc Preview mode, and indeed now the tables has the "Explanation" column in between of Field name and Example values columns. I agree with Jennifer in #6 on that table in structure-image-style-create.txt is quite simple, so no real need to stick to our general rule in this case. Here are the issues of translating these two sections:

block-create-custom.txt

  1. #2806431: [CA] Tradueix aquest fitxer block-create-custom.txt
  2. #2879794: [DE] Übersetzung von: block-create-custom.txt
  3. #2830948: [ES] Traducir este archivo fuente: block-create-custom.txt
  4. [FA] did not found
  5. #2837617: [FR] Traduire ce fichier source block-create-custom.txt
  6. #2803525: [HU] block-create-custom.txt lefordítása
  7. #2883355: [ID] Terjemahkan berkas sumber ini: block-create-custom.txt
  8. #2885959: [JA] ファイル翻訳: block-create-custom.txt
  9. #2838813: [UK] Переклад вихідного файла: block-create-custom.txt
  10. #2832746: [ZH-HANS] 翻译文件: block-create-custom.txt

block-place.txt

  1. #2806433: [CA] Tradueix aquest fitxer block-place.txt
  2. #2879795: [DE] Übersetzung von: block-place.txt
  3. #2830949: [ES] Traducir este archivo fuente: block-place.txt
  4. [FA] did not found
  5. #2837618: [FR] Traduire ce fichier source block-place.txt
  6. #2803527: [HU] block-place.txt lefordítása
  7. #2883356: [ID] Terjemahkan berkas sumber ini: block-place.txt
  8. #2885960: [JA] ファイル翻訳: block-place.txt
  9. #2838814: [UK] Переклад вихідного файла: block-place.txt
  10. #2832747: [ZH-HANS] 翻译文件: block-place.txt

All of them are in Active status, except HU, which I can take for.

jhodgdon’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev
Status: Reviewed & tested by the community » Fixed

Thanks for the review! I am no longer adding notes to every translation issue when we make changes to English -- instead I am just putting out a notice on the email list with a suggested action for the translation team managers.

Anyway, I went ahead and committed the change to English, 3.x branch, and am sending out a message to the email list now too.

  • jhodgdon committed 509d11b on 8.x-3.x
    Issue #2864484 by jhodgdon, Balu Ertl: Tables of fields and values in...
Balu Ertl’s picture

Of course I didn't meant to go through on all issues and leave comments on them. This is exactly why we changed the update procedure :) I just collected to have a visual overview on how many locales are affected or not.

Meanwhile HU translation is updated as well.

Balu Ertl’s picture

One observation turns out during the first commit in this new system: in HU we already pre-processed our source files in favor of being able to feed the Translation Memory (TM). Now when I simply copy-paste from /source/en folder into /source/hu folder, this benefit will lost.

At the moment I believe it's an acceptable level of discomfort for us, but good to know about this issue if other translation teams (eg. German) also wants to utilize TM software in the future.

As a kind of workaround these updates in English source are good motivation to get that section already translated soon instead of postponing them into far future :)

jhodgdon’s picture

Sorry for your discomfort!

In this case, only a few lines of the source file were changed, so you would have been better off just copying these few lines. That is why I always include a link to the commit in the email messages, because you can look and see if the change is small (so copying just the new lines might be sensible) or large (easier to copy the whole file and fix the newlines).

Also I thought maybe after you did that change, you figured out how to tell the TM to ignore line breaks maybe? Or maybe I am remembering incorrectly... We should really get the TM guide into the Contributor Guide by the way! :) #2828137: Add section about using Translation Memory to contributor guide Hint hint. :) I will gladly review/proofread any patches you submit there!

  • kabetani committed 73ed2f0 on 8.x-3.x
    Issue #2864484 by jhodgdon: Update to the latest source file.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.