Barbara: This is the change I discussed in email with you in email a couple of weeks ago. If you are still ok with this change, please confirm on this thread.
Thanks, Geoffrey ----- Original Message ----- From: [email protected] To: [email protected] Cc: [email protected], [email protected], [email protected] Sent: Thursday, June 14, 2012 10:00:03 AM GMT -07:00 US/Canada Mountain Subject: Re: [caiman-discuss] Wording change for recommended disk size Geoffrey: Your fix also had documentation impact since we document the disk size recommendation in the release notes. Since the wording change, we need to update the release note wording as well. I had included Barbara Lundquist and I believe a doc impact bug should be filed The link to the S11 FCS is here: http://docs.oracle.com/cd/E23824_01/html/E23811/glmru.html#glmuu On 06/13/12 03:58 PM, Geoffrey Hart wrote: > Thank you Takeshi for helping me get this right for internationalization. > > Below is an updated webrev for review. > > BUG: 7097153 Advice seems oddly small for solaris partition > > CODE REVIEW: > https://cr.opensolaris.org/action/browse/caiman/ghart/UpdateDiskSizeText2/ > > DESCRIPTION: Wording improvement for the recommended disk size. Before > it listed the "minimum" and "recommended" size. The new wording makes > it clear that what we are showing is the "minimum" and "recommended > minimum" size. > > TESTING: > - Confirmed that new test appears in the text and gui installer. > - Verified that the install still succeeds and the OS boots correctly > after install. > > Thanks, > Geoffrey > > On 06/12/12 19:45, Takeshi Asano wrote: >> Hi Ginnie, >> >> Regarding current case, the spaces look for indentation and not >> padding (for alignment between labels) so problem could be less >> than in the padding case. But it's still better to move >> the spaces outside of _() so how about to do like this: >> >> + REC_SIZE_TEXT = _("Recommended minimum: ") >> + self._size_line = DiskScreen.MIN_SIZE_TEXT + >> min_size_str + \ >> + " " + DiskScreen.REC_SIZE_TEXT + rec_size_str >> >> There are two typical types of use of spaces in string literal: >> >> (1) padding for alignment between labels >> (2) indentation >> >> As Jack said, key (more problematic) is (1) for localizable strings. >> It's often not clear the spaces are for padding for alignment, which >> string to align with, and also the other string's length can be changed >> when localized. >> >> Spaces for (2) is usually no need to adjust number of spaces so less >> problematic than in (1), but it's better to exclude the spaces from >> localizable string (move it out from _()). >> >> Thanks, >> Takeshi >> >> On 2012年06月13日 02:19, Jack Schwartz wrote: >>> Hi Geoffrey. >>> >>> Regarding Ginnie's comment: Takeshi-san told me the same thing about >>> padding. The issue is that while the padding may be good for the C >>> locale, it will won't accommodate words of different lengths from >>> other languages. The key is to do dynamic padding, and adjust the >>> offset of the right-side words based on the length of the largest >>> left-side word. For an example, please highlighted lines from >>> 463-497 of support.py see my latest code review: >>> >>> https://cr.opensolaris.org/action/browse/caiman/schwartz/7162609_2/webrev.2a/ >>> >>> >>> >>> Thanks, >>> Jack >>> >>> On 06/12/12 09:36, Virginia Wray wrote: >>>> Hi Geoffrey -- >>>> >>>> Just one comment on the disk_selection.py file. >>>> >>>> Mary did a bug fix not too long ago. It was 7170341. >>>> There was a discussion regarding padded spaces in >>>> the static string, such as what is at line 76. >>>> >>>> Takashi said that it would be more appropriate for >>>> internationalization to eliminate padding spaces from >>>> the static string and doing dynamic padding. >>>> >>>> I think Mary was going to follow up on this. Can check >>>> and see if that would apply in this case as well? >>>> >>>> Other than that, your changes look fine. >>>> >>>> thanks, >>>> ginnie >>>> >>>> >>>> On 06/11/12 03:28 PM, Geoffrey Hart wrote: >>>>> Afternoon all! >>>>> >>>>> Could I please have a code review for: >>>>> >>>>> BUG: 7097153 Advice seems oddly small for solaris partition >>>>> >>>>> CODE REVIEW: >>>>> https://cr.opensolaris.org/action/browse/caiman/ghart/UpdateDiskSizeText/ >>>>> >>>>> DESCRIPTION: Wording improvement for the recommended disk size. >>>>> Before it listed the "minimum" and "recommended" size. The new >>>>> wording makes it clear that what we are showing is the "minimum" >>>>> and "recommended minimum" size. >>>>> >>>>> TESTING: >>>>> - Confirmed that new test appears in the text and gui installer. >>>>> - Verified that the install still succeeds and the OS boots >>>>> correctly after install. >>>>> >>>>> Thanks, >>>>> Geoffrey >>>>> _______________________________________________ >>>>> caiman-discuss mailing list >>>>> [email protected] >>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >>>> >>>> _______________________________________________ >>>> caiman-discuss mailing list >>>> [email protected] >>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >>> >>> _______________________________________________ >>> caiman-discuss mailing list >>> [email protected] >>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >> >> _______________________________________________ >> caiman-discuss mailing list >> [email protected] >> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss > > _______________________________________________ > caiman-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/caiman-discuss _______________________________________________ caiman-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

