Print this page
6621176 $SRC/cmd/cmd-crypto/cryptoadm/*.c seem to have syntax errors in the translation notes

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-crypto/cryptoadm/adm_metaslot.c
          +++ new/usr/src/cmd/cmd-crypto/cryptoadm/adm_metaslot.c
↓ open down ↓ 76 lines elided ↑ open up ↑
  77   77           * in pkcs11.conf file.
  78   78           */
  79   79          if ((puent = getent_uef(METASLOT_KEYWORD)) == NULL) {
  80   80                  cryptoerror(LOG_STDERR,
  81   81                      gettext("metaslot entry doesn't exist."));
  82   82                  return (FAILURE);
  83   83          }
  84   84  
  85   85          (void) printf(gettext("System-wide Meta Slot Configuration:\n"));
  86   86          /*
  87      -         * TRANSLATION_NOTE:
       87 +         * TRANSLATION_NOTE
  88   88           * Strictly for appearance's sake, this line should be as long as
  89   89           * the length of the translated text above.
  90   90           */
  91   91          (void) printf(gettext("------------------------------------\n"));
  92   92          (void) printf(gettext("Status: %s\n"), puent->flag_metaslot_enabled ?
  93   93              gettext("enabled") : gettext("disabled"));
  94   94          (void) printf(gettext("Sensitive Token Object Automatic Migrate: %s\n"),
  95   95              puent->flag_metaslot_auto_key_migrate ? gettext("enabled") :
  96   96              gettext("disabled"));
  97   97  
↓ open down ↓ 8 lines elided ↑ open up ↑
 106  106                      puent->metaslot_ks_token);
 107  107          }
 108  108  
 109  109          if ((!verbose) && (!show_mechs)) {
 110  110                  return (SUCCESS);
 111  111          }
 112  112  
 113  113          if (verbose) {
 114  114                  (void) printf(gettext("\nDetailed Meta Slot Information:\n"));
 115  115                  /*
 116      -                 * TRANSLATION_NOTE:
      116 +                 * TRANSLATION_NOTE
 117  117                   * Strictly for appearance's sake, this line should be as
 118  118                   * long as the length of the translated text above.
 119  119                   */
 120  120                  (void) printf(gettext("-------------------------------\n"));
 121  121          }
 122  122  
 123  123          /*
 124  124           * Need to actually make calls to libpkcs11.so to get
 125  125           * information about metaslot.
 126  126           */
↓ open down ↓ 414 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX