mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Picasa is no longer supported, but Google now has Google Photos. Although it's not working, just rename the filenames from Picasa to Google Photos.
This commit is contained in:
parent
48a197b942
commit
a9fd3b66b5
38 changed files with 829 additions and 836 deletions
|
@ -43,7 +43,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotDropboxPlugin", "G
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotFlickrPlugin", "GreenshotFlickrPlugin\GreenshotFlickrPlugin.csproj", "{7EC72A5A-D73A-4B4B-9CA1-2216C7D92D5E}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotPicasaPlugin", "GreenshotPicasaPlugin\GreenshotPicasaPlugin.csproj", "{1893A2E4-A78A-4713-A8E7-E70058DABEE0}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotGooglePhotosPlugin", "GreenshotGooglePhotosPlugin\GreenshotGooglePhotosPlugin.csproj", "{1893A2E4-A78A-4713-A8E7-E70058DABEE0}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GreenshotOfficePlugin", "GreenshotOfficePlugin\GreenshotOfficePlugin.csproj", "{92599C09-FF29-4ABD-B6E6-C48ECD781BAB}"
|
||||
EndProject
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* A Picasa Plugin for Greenshot
|
||||
* A GooglePhotos Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
|
@ -20,7 +20,7 @@
|
|||
|
||||
using GreenshotPlugin.Controls;
|
||||
|
||||
namespace GreenshotPicasaPlugin.Forms {
|
||||
public class PicasaForm : GreenshotForm {
|
||||
namespace GreenshotGooglePhotosPlugin.Forms {
|
||||
public class GooglePhotosForm : GreenshotForm {
|
||||
}
|
||||
}
|
|
@ -1,147 +1,147 @@
|
|||
/*
|
||||
* A Picasa Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
namespace GreenshotPicasaPlugin.Forms {
|
||||
partial class SettingsForm {
|
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Disposes resources used by the form.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing) {
|
||||
if (components != null) {
|
||||
components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is required for Windows Forms designer support.
|
||||
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||
/// not be able to load this method if it was changed manually.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.buttonOK = new GreenshotPlugin.Controls.GreenshotButton();
|
||||
this.buttonCancel = new GreenshotPlugin.Controls.GreenshotButton();
|
||||
this.combobox_uploadimageformat = new GreenshotPlugin.Controls.GreenshotComboBox();
|
||||
this.label_upload_format = new GreenshotPlugin.Controls.GreenshotLabel();
|
||||
this.label_AfterUpload = new GreenshotPlugin.Controls.GreenshotLabel();
|
||||
this.checkboxAfterUploadLinkToClipBoard = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// buttonOK
|
||||
//
|
||||
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.buttonOK.LanguageKey = "OK";
|
||||
this.buttonOK.Location = new System.Drawing.Point(267, 78);
|
||||
this.buttonOK.Name = "buttonOK";
|
||||
this.buttonOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonOK.TabIndex = 10;
|
||||
this.buttonOK.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.buttonCancel.LanguageKey = "CANCEL";
|
||||
this.buttonCancel.Location = new System.Drawing.Point(348, 78);
|
||||
this.buttonCancel.Name = "buttonCancel";
|
||||
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonCancel.TabIndex = 11;
|
||||
this.buttonCancel.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// combobox_uploadimageformat
|
||||
//
|
||||
this.combobox_uploadimageformat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.combobox_uploadimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combobox_uploadimageformat.FormattingEnabled = true;
|
||||
this.combobox_uploadimageformat.Location = new System.Drawing.Point(197, 12);
|
||||
this.combobox_uploadimageformat.Name = "combobox_uploadimageformat";
|
||||
this.combobox_uploadimageformat.PropertyName = "UploadFormat";
|
||||
this.combobox_uploadimageformat.SectionName = "Picasa";
|
||||
this.combobox_uploadimageformat.Size = new System.Drawing.Size(225, 21);
|
||||
this.combobox_uploadimageformat.TabIndex = 1;
|
||||
//
|
||||
// label_upload_format
|
||||
//
|
||||
this.label_upload_format.LanguageKey = "picasa.label_upload_format";
|
||||
this.label_upload_format.Location = new System.Drawing.Point(10, 18);
|
||||
this.label_upload_format.Name = "label_upload_format";
|
||||
this.label_upload_format.Size = new System.Drawing.Size(181, 33);
|
||||
this.label_upload_format.TabIndex = 4;
|
||||
//
|
||||
// label_AfterUpload
|
||||
//
|
||||
this.label_AfterUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label_AfterUpload.LanguageKey = "picasa.label_AfterUpload";
|
||||
this.label_AfterUpload.Location = new System.Drawing.Point(10, 51);
|
||||
this.label_AfterUpload.Name = "label_AfterUpload";
|
||||
this.label_AfterUpload.Size = new System.Drawing.Size(181, 29);
|
||||
this.label_AfterUpload.TabIndex = 8;
|
||||
//
|
||||
// checkboxAfterUploadLinkToClipBoard
|
||||
//
|
||||
this.checkboxAfterUploadLinkToClipBoard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.checkboxAfterUploadLinkToClipBoard.LanguageKey = "picasa.label_AfterUploadLinkToClipBoard";
|
||||
this.checkboxAfterUploadLinkToClipBoard.Location = new System.Drawing.Point(197, 50);
|
||||
this.checkboxAfterUploadLinkToClipBoard.Name = "checkboxAfterUploadLinkToClipBoard";
|
||||
this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard";
|
||||
this.checkboxAfterUploadLinkToClipBoard.SectionName = "Picasa";
|
||||
this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17);
|
||||
this.checkboxAfterUploadLinkToClipBoard.TabIndex = 2;
|
||||
this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// SettingsForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.ClientSize = new System.Drawing.Size(432, 110);
|
||||
this.Controls.Add(this.checkboxAfterUploadLinkToClipBoard);
|
||||
this.Controls.Add(this.label_AfterUpload);
|
||||
this.Controls.Add(this.label_upload_format);
|
||||
this.Controls.Add(this.combobox_uploadimageformat);
|
||||
this.Controls.Add(this.buttonCancel);
|
||||
this.Controls.Add(this.buttonOK);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.LanguageKey = "picasa.settings_title";
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "SettingsForm";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
private GreenshotPlugin.Controls.GreenshotComboBox combobox_uploadimageformat;
|
||||
private GreenshotPlugin.Controls.GreenshotLabel label_upload_format;
|
||||
private GreenshotPlugin.Controls.GreenshotButton buttonCancel;
|
||||
private GreenshotPlugin.Controls.GreenshotButton buttonOK;
|
||||
private GreenshotPlugin.Controls.GreenshotLabel label_AfterUpload;
|
||||
private GreenshotPlugin.Controls.GreenshotCheckBox checkboxAfterUploadLinkToClipBoard;
|
||||
}
|
||||
}
|
||||
/*
|
||||
* A GooglePhotos Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
namespace GreenshotGooglePhotosPlugin.Forms {
|
||||
partial class SettingsForm {
|
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Disposes resources used by the form.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing) {
|
||||
if (components != null) {
|
||||
components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is required for Windows Forms designer support.
|
||||
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||
/// not be able to load this method if it was changed manually.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.buttonOK = new GreenshotPlugin.Controls.GreenshotButton();
|
||||
this.buttonCancel = new GreenshotPlugin.Controls.GreenshotButton();
|
||||
this.combobox_uploadimageformat = new GreenshotPlugin.Controls.GreenshotComboBox();
|
||||
this.label_upload_format = new GreenshotPlugin.Controls.GreenshotLabel();
|
||||
this.label_AfterUpload = new GreenshotPlugin.Controls.GreenshotLabel();
|
||||
this.checkboxAfterUploadLinkToClipBoard = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// buttonOK
|
||||
//
|
||||
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.buttonOK.LanguageKey = "OK";
|
||||
this.buttonOK.Location = new System.Drawing.Point(267, 78);
|
||||
this.buttonOK.Name = "buttonOK";
|
||||
this.buttonOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonOK.TabIndex = 10;
|
||||
this.buttonOK.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.buttonCancel.LanguageKey = "CANCEL";
|
||||
this.buttonCancel.Location = new System.Drawing.Point(348, 78);
|
||||
this.buttonCancel.Name = "buttonCancel";
|
||||
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonCancel.TabIndex = 11;
|
||||
this.buttonCancel.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// combobox_uploadimageformat
|
||||
//
|
||||
this.combobox_uploadimageformat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.combobox_uploadimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combobox_uploadimageformat.FormattingEnabled = true;
|
||||
this.combobox_uploadimageformat.Location = new System.Drawing.Point(197, 12);
|
||||
this.combobox_uploadimageformat.Name = "combobox_uploadimageformat";
|
||||
this.combobox_uploadimageformat.PropertyName = "UploadFormat";
|
||||
this.combobox_uploadimageformat.SectionName = "GooglePhotos";
|
||||
this.combobox_uploadimageformat.Size = new System.Drawing.Size(225, 21);
|
||||
this.combobox_uploadimageformat.TabIndex = 1;
|
||||
//
|
||||
// label_upload_format
|
||||
//
|
||||
this.label_upload_format.LanguageKey = "googlephotos.label_upload_format";
|
||||
this.label_upload_format.Location = new System.Drawing.Point(10, 18);
|
||||
this.label_upload_format.Name = "label_upload_format";
|
||||
this.label_upload_format.Size = new System.Drawing.Size(181, 33);
|
||||
this.label_upload_format.TabIndex = 4;
|
||||
//
|
||||
// label_AfterUpload
|
||||
//
|
||||
this.label_AfterUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label_AfterUpload.LanguageKey = "googlephotos.label_AfterUpload";
|
||||
this.label_AfterUpload.Location = new System.Drawing.Point(10, 51);
|
||||
this.label_AfterUpload.Name = "label_AfterUpload";
|
||||
this.label_AfterUpload.Size = new System.Drawing.Size(181, 29);
|
||||
this.label_AfterUpload.TabIndex = 8;
|
||||
//
|
||||
// checkboxAfterUploadLinkToClipBoard
|
||||
//
|
||||
this.checkboxAfterUploadLinkToClipBoard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.checkboxAfterUploadLinkToClipBoard.LanguageKey = "googlephotos.label_AfterUploadLinkToClipBoard";
|
||||
this.checkboxAfterUploadLinkToClipBoard.Location = new System.Drawing.Point(197, 50);
|
||||
this.checkboxAfterUploadLinkToClipBoard.Name = "checkboxAfterUploadLinkToClipBoard";
|
||||
this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard";
|
||||
this.checkboxAfterUploadLinkToClipBoard.SectionName = "GooglePhotos";
|
||||
this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17);
|
||||
this.checkboxAfterUploadLinkToClipBoard.TabIndex = 2;
|
||||
this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// SettingsForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.ClientSize = new System.Drawing.Size(432, 110);
|
||||
this.Controls.Add(this.checkboxAfterUploadLinkToClipBoard);
|
||||
this.Controls.Add(this.label_AfterUpload);
|
||||
this.Controls.Add(this.label_upload_format);
|
||||
this.Controls.Add(this.combobox_uploadimageformat);
|
||||
this.Controls.Add(this.buttonCancel);
|
||||
this.Controls.Add(this.buttonOK);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.LanguageKey = "googlephotos.settings_title";
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "SettingsForm";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
private GreenshotPlugin.Controls.GreenshotComboBox combobox_uploadimageformat;
|
||||
private GreenshotPlugin.Controls.GreenshotLabel label_upload_format;
|
||||
private GreenshotPlugin.Controls.GreenshotButton buttonCancel;
|
||||
private GreenshotPlugin.Controls.GreenshotButton buttonOK;
|
||||
private GreenshotPlugin.Controls.GreenshotLabel label_AfterUpload;
|
||||
private GreenshotPlugin.Controls.GreenshotCheckBox checkboxAfterUploadLinkToClipBoard;
|
||||
}
|
||||
}
|
|
@ -1,38 +1,38 @@
|
|||
/*
|
||||
* A Picasa Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace GreenshotPicasaPlugin.Forms {
|
||||
/// <summary>
|
||||
/// Description of PasswordRequestForm.
|
||||
/// </summary>
|
||||
public partial class SettingsForm : PicasaForm {
|
||||
|
||||
public SettingsForm()
|
||||
{
|
||||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
InitializeComponent();
|
||||
CancelButton = buttonCancel;
|
||||
AcceptButton = buttonOK;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
/*
|
||||
* A GooglePhotos Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace GreenshotGooglePhotosPlugin.Forms {
|
||||
/// <summary>
|
||||
/// Description of PasswordRequestForm.
|
||||
/// </summary>
|
||||
public partial class SettingsForm : GooglePhotosForm {
|
||||
|
||||
public SettingsForm()
|
||||
{
|
||||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
InitializeComponent();
|
||||
CancelButton = buttonCancel;
|
||||
AcceptButton = buttonOK;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
BIN
GreenshotGooglePhotosPlugin/GooglePhotos.png
Normal file
BIN
GreenshotGooglePhotosPlugin/GooglePhotos.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -1,93 +1,93 @@
|
|||
/*
|
||||
* A Picasa Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
using System.Windows.Forms;
|
||||
using GreenshotPlugin.Core;
|
||||
using System;
|
||||
using GreenshotPicasaPlugin.Forms;
|
||||
using GreenshotPlugin.IniFile;
|
||||
|
||||
namespace GreenshotPicasaPlugin {
|
||||
/// <summary>
|
||||
/// Description of PicasaConfiguration.
|
||||
/// </summary>
|
||||
[IniSection("Picasa", Description = "Greenshot Picasa Plugin configuration")]
|
||||
public class PicasaConfiguration : IniSection {
|
||||
[IniProperty("UploadFormat", Description="What file type to use for uploading", DefaultValue="png")]
|
||||
public OutputFormat UploadFormat { get; set; }
|
||||
|
||||
[IniProperty("UploadJpegQuality", Description="JPEG file save quality in %.", DefaultValue="80")]
|
||||
public int UploadJpegQuality { get; set; }
|
||||
|
||||
[IniProperty("AfterUploadLinkToClipBoard", Description = "After upload send Picasa link to clipboard.", DefaultValue = "true")]
|
||||
public bool AfterUploadLinkToClipBoard { get; set; }
|
||||
[IniProperty("AddFilename", Description = "Is the filename passed on to Picasa", DefaultValue = "False")]
|
||||
public bool AddFilename {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[IniProperty("UploadUser", Description = "The Picasa user to upload to", DefaultValue = "default")]
|
||||
public string UploadUser {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[IniProperty("UploadAlbum", Description = "The Picasa album to upload to", DefaultValue = "default")]
|
||||
public string UploadAlbum {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[IniProperty("RefreshToken", Description = "Picasa authorization refresh Token", Encrypted = true)]
|
||||
public string RefreshToken {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not stored
|
||||
/// </summary>
|
||||
public string AccessToken {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not stored
|
||||
/// </summary>
|
||||
public DateTimeOffset AccessTokenExpires {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A form for token
|
||||
/// </summary>
|
||||
/// <returns>bool true if OK was pressed, false if cancel</returns>
|
||||
public bool ShowConfigDialog() {
|
||||
DialogResult result = new SettingsForm().ShowDialog();
|
||||
if (result == DialogResult.OK) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
/*
|
||||
* A GooglePhotos Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
using System.Windows.Forms;
|
||||
using GreenshotPlugin.Core;
|
||||
using System;
|
||||
using GreenshotGooglePhotosPlugin.Forms;
|
||||
using GreenshotPlugin.IniFile;
|
||||
|
||||
namespace GreenshotGooglePhotosPlugin {
|
||||
/// <summary>
|
||||
/// Description of GooglePhotosConfiguration.
|
||||
/// </summary>
|
||||
[IniSection("GooglePhotos", Description = "Greenshot GooglePhotos Plugin configuration")]
|
||||
public class GooglePhotosConfiguration : IniSection {
|
||||
[IniProperty("UploadFormat", Description="What file type to use for uploading", DefaultValue="png")]
|
||||
public OutputFormat UploadFormat { get; set; }
|
||||
|
||||
[IniProperty("UploadJpegQuality", Description="JPEG file save quality in %.", DefaultValue="80")]
|
||||
public int UploadJpegQuality { get; set; }
|
||||
|
||||
[IniProperty("AfterUploadLinkToClipBoard", Description = "After upload send GooglePhotos link to clipboard.", DefaultValue = "true")]
|
||||
public bool AfterUploadLinkToClipBoard { get; set; }
|
||||
[IniProperty("AddFilename", Description = "Is the filename passed on to GooglePhotos", DefaultValue = "False")]
|
||||
public bool AddFilename {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[IniProperty("UploadUser", Description = "The GooglePhotos user to upload to", DefaultValue = "default")]
|
||||
public string UploadUser {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[IniProperty("UploadAlbum", Description = "The GooglePhotos album to upload to", DefaultValue = "default")]
|
||||
public string UploadAlbum {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[IniProperty("RefreshToken", Description = "GooglePhotos authorization refresh Token", Encrypted = true)]
|
||||
public string RefreshToken {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not stored
|
||||
/// </summary>
|
||||
public string AccessToken {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not stored
|
||||
/// </summary>
|
||||
public DateTimeOffset AccessTokenExpires {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A form for token
|
||||
/// </summary>
|
||||
/// <returns>bool true if OK was pressed, false if cancel</returns>
|
||||
public bool ShowConfigDialog() {
|
||||
DialogResult result = new SettingsForm().ShowDialog();
|
||||
if (result == DialogResult.OK) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,54 +1,54 @@
|
|||
/*
|
||||
* A Picasa Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using GreenshotPlugin.Core;
|
||||
using GreenshotPlugin.Interfaces;
|
||||
|
||||
namespace GreenshotPicasaPlugin {
|
||||
public class PicasaDestination : AbstractDestination {
|
||||
private readonly PicasaPlugin _plugin;
|
||||
public PicasaDestination(PicasaPlugin plugin) {
|
||||
_plugin = plugin;
|
||||
}
|
||||
|
||||
public override string Designation => "Picasa";
|
||||
|
||||
public override string Description => Language.GetString("picasa", LangKey.upload_menu_item);
|
||||
|
||||
public override Image DisplayIcon {
|
||||
get {
|
||||
ComponentResourceManager resources = new ComponentResourceManager(typeof(PicasaPlugin));
|
||||
return (Image)resources.GetObject("Picasa");
|
||||
}
|
||||
}
|
||||
|
||||
public override ExportInformation ExportCapture(bool manuallyInitiated, ISurface surface, ICaptureDetails captureDetails) {
|
||||
ExportInformation exportInformation = new ExportInformation(Designation, Description);
|
||||
bool uploaded = _plugin.Upload(captureDetails, surface, out var uploadUrl);
|
||||
if (uploaded) {
|
||||
exportInformation.ExportMade = true;
|
||||
exportInformation.Uri = uploadUrl;
|
||||
}
|
||||
ProcessExport(exportInformation, surface);
|
||||
return exportInformation;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
* A GooglePhotos Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using GreenshotPlugin.Core;
|
||||
using GreenshotPlugin.Interfaces;
|
||||
|
||||
namespace GreenshotGooglePhotosPlugin {
|
||||
public class GooglePhotosDestination : AbstractDestination {
|
||||
private readonly GooglePhotosPlugin _plugin;
|
||||
public GooglePhotosDestination(GooglePhotosPlugin plugin) {
|
||||
_plugin = plugin;
|
||||
}
|
||||
|
||||
public override string Designation => "GooglePhotos";
|
||||
|
||||
public override string Description => Language.GetString("googlephotos", LangKey.upload_menu_item);
|
||||
|
||||
public override Image DisplayIcon {
|
||||
get {
|
||||
ComponentResourceManager resources = new ComponentResourceManager(typeof(GooglePhotosPlugin));
|
||||
return (Image)resources.GetObject("GooglePhotos");
|
||||
}
|
||||
}
|
||||
|
||||
public override ExportInformation ExportCapture(bool manuallyInitiated, ISurface surface, ICaptureDetails captureDetails) {
|
||||
ExportInformation exportInformation = new ExportInformation(Designation, Description);
|
||||
bool uploaded = _plugin.Upload(captureDetails, surface, out var uploadUrl);
|
||||
if (uploaded) {
|
||||
exportInformation.ExportMade = true;
|
||||
exportInformation.Uri = uploadUrl;
|
||||
}
|
||||
ProcessExport(exportInformation, surface);
|
||||
return exportInformation;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,125 +1,124 @@
|
|||
/*
|
||||
* A Picasa Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
using GreenshotPlugin.Controls;
|
||||
using GreenshotPlugin.Core;
|
||||
using GreenshotPlugin.IniFile;
|
||||
using GreenshotPlugin.Interfaces;
|
||||
using GreenshotPlugin.Interfaces.Plugin;
|
||||
|
||||
namespace GreenshotPicasaPlugin {
|
||||
/// <summary>
|
||||
/// This is the Picasa base code
|
||||
/// </summary>
|
||||
[Plugin("Picasa", true)]
|
||||
public class PicasaPlugin : IGreenshotPlugin {
|
||||
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(PicasaPlugin));
|
||||
private static PicasaConfiguration _config;
|
||||
private ComponentResourceManager _resources;
|
||||
private ToolStripMenuItem _itemPlugInRoot;
|
||||
|
||||
public void Dispose() {
|
||||
Dispose(true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected void Dispose(bool disposing) {
|
||||
if (disposing) {
|
||||
if (_itemPlugInRoot != null) {
|
||||
_itemPlugInRoot.Dispose();
|
||||
_itemPlugInRoot = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Implementation of the IGreenshotPlugin.Initialize
|
||||
/// </summary>
|
||||
public bool Initialize() {
|
||||
SimpleServiceProvider.Current.AddService<IDestination>(new PicasaDestination(this));
|
||||
|
||||
// Get configuration
|
||||
_config = IniConfig.GetIniSection<PicasaConfiguration>();
|
||||
_resources = new ComponentResourceManager(typeof(PicasaPlugin));
|
||||
|
||||
_itemPlugInRoot = new ToolStripMenuItem
|
||||
{
|
||||
Text = Language.GetString("picasa", LangKey.Configure),
|
||||
Image = (Image) _resources.GetObject("Picasa")
|
||||
};
|
||||
_itemPlugInRoot.Click += ConfigMenuClick;
|
||||
PluginUtils.AddToContextMenu(_itemPlugInRoot);
|
||||
Language.LanguageChanged += OnLanguageChanged;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void OnLanguageChanged(object sender, EventArgs e) {
|
||||
if (_itemPlugInRoot != null) {
|
||||
_itemPlugInRoot.Text = Language.GetString("picasa", LangKey.Configure);
|
||||
}
|
||||
}
|
||||
|
||||
public void Shutdown() {
|
||||
Log.Debug("Picasa Plugin shutdown.");
|
||||
Language.LanguageChanged -= OnLanguageChanged;
|
||||
//host.OnImageEditorOpen -= new OnImageEditorOpenHandler(ImageEditorOpened);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Implementation of the IPlugin.Configure
|
||||
/// </summary>
|
||||
public void Configure() {
|
||||
_config.ShowConfigDialog();
|
||||
}
|
||||
|
||||
public void ConfigMenuClick(object sender, EventArgs eventArgs) {
|
||||
Configure();
|
||||
}
|
||||
|
||||
public bool Upload(ICaptureDetails captureDetails, ISurface surfaceToUpload, out string uploadUrl) {
|
||||
SurfaceOutputSettings outputSettings = new SurfaceOutputSettings(_config.UploadFormat, _config.UploadJpegQuality);
|
||||
try {
|
||||
string url = null;
|
||||
new PleaseWaitForm().ShowAndWait("Picasa", Language.GetString("picasa", LangKey.communication_wait),
|
||||
delegate
|
||||
{
|
||||
string filename = Path.GetFileName(FilenameHelper.GetFilename(_config.UploadFormat, captureDetails));
|
||||
url = PicasaUtils.UploadToPicasa(surfaceToUpload, outputSettings, captureDetails.Title, filename);
|
||||
}
|
||||
);
|
||||
uploadUrl = url;
|
||||
|
||||
if (uploadUrl != null && _config.AfterUploadLinkToClipBoard) {
|
||||
ClipboardHelper.SetClipboardData(uploadUrl);
|
||||
}
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
Log.Error("Error uploading.", e);
|
||||
MessageBox.Show(Language.GetString("picasa", LangKey.upload_failure) + " " + e.Message);
|
||||
}
|
||||
uploadUrl = null;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
* A GooglePhotos Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
using GreenshotPlugin.Controls;
|
||||
using GreenshotPlugin.Core;
|
||||
using GreenshotPlugin.IniFile;
|
||||
using GreenshotPlugin.Interfaces;
|
||||
using GreenshotPlugin.Interfaces.Plugin;
|
||||
|
||||
namespace GreenshotGooglePhotosPlugin {
|
||||
/// <summary>
|
||||
/// This is the GooglePhotos base code
|
||||
/// </summary>
|
||||
[Plugin("GooglePhotos", true)]
|
||||
public class GooglePhotosPlugin : IGreenshotPlugin {
|
||||
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(GooglePhotosPlugin));
|
||||
private static GooglePhotosConfiguration _config;
|
||||
private ComponentResourceManager _resources;
|
||||
private ToolStripMenuItem _itemPlugInRoot;
|
||||
|
||||
public void Dispose() {
|
||||
Dispose(true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
private void Dispose(bool disposing)
|
||||
{
|
||||
if (!disposing) return;
|
||||
if (_itemPlugInRoot == null) return;
|
||||
_itemPlugInRoot.Dispose();
|
||||
_itemPlugInRoot = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Implementation of the IGreenshotPlugin.Initialize
|
||||
/// </summary>
|
||||
public bool Initialize() {
|
||||
SimpleServiceProvider.Current.AddService<IDestination>(new GooglePhotosDestination(this));
|
||||
|
||||
// Get configuration
|
||||
_config = IniConfig.GetIniSection<GooglePhotosConfiguration>();
|
||||
_resources = new ComponentResourceManager(typeof(GooglePhotosPlugin));
|
||||
|
||||
_itemPlugInRoot = new ToolStripMenuItem
|
||||
{
|
||||
Text = Language.GetString("googlephotos", LangKey.Configure),
|
||||
Image = (Image) _resources.GetObject("GooglePhotos")
|
||||
};
|
||||
_itemPlugInRoot.Click += ConfigMenuClick;
|
||||
PluginUtils.AddToContextMenu(_itemPlugInRoot);
|
||||
Language.LanguageChanged += OnLanguageChanged;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void OnLanguageChanged(object sender, EventArgs e) {
|
||||
if (_itemPlugInRoot != null) {
|
||||
_itemPlugInRoot.Text = Language.GetString("googlephotos", LangKey.Configure);
|
||||
}
|
||||
}
|
||||
|
||||
public void Shutdown() {
|
||||
Log.Debug("GooglePhotos Plugin shutdown.");
|
||||
Language.LanguageChanged -= OnLanguageChanged;
|
||||
//host.OnImageEditorOpen -= new OnImageEditorOpenHandler(ImageEditorOpened);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Implementation of the IPlugin.Configure
|
||||
/// </summary>
|
||||
public void Configure() {
|
||||
_config.ShowConfigDialog();
|
||||
}
|
||||
|
||||
public void ConfigMenuClick(object sender, EventArgs eventArgs) {
|
||||
Configure();
|
||||
}
|
||||
|
||||
public bool Upload(ICaptureDetails captureDetails, ISurface surfaceToUpload, out string uploadUrl) {
|
||||
SurfaceOutputSettings outputSettings = new SurfaceOutputSettings(_config.UploadFormat, _config.UploadJpegQuality);
|
||||
try {
|
||||
string url = null;
|
||||
new PleaseWaitForm().ShowAndWait("GooglePhotos", Language.GetString("googlephotos", LangKey.communication_wait),
|
||||
delegate
|
||||
{
|
||||
string filename = Path.GetFileName(FilenameHelper.GetFilename(_config.UploadFormat, captureDetails));
|
||||
url = GooglePhotosUtils.UploadToGooglePhotos(surfaceToUpload, outputSettings, captureDetails.Title, filename);
|
||||
}
|
||||
);
|
||||
uploadUrl = url;
|
||||
|
||||
if (uploadUrl != null && _config.AfterUploadLinkToClipBoard) {
|
||||
ClipboardHelper.SetClipboardData(uploadUrl);
|
||||
}
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
Log.Error("Error uploading.", e);
|
||||
MessageBox.Show(Language.GetString("googlephotos", LangKey.upload_failure) + " " + e.Message);
|
||||
}
|
||||
uploadUrl = null;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -118,7 +118,7 @@
|
|||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="Picasa" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>picasa.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="GooglePhotos" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>GooglePhotos.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
|
@ -1,120 +1,120 @@
|
|||
/*
|
||||
* A Picasa Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using GreenshotPlugin.Core;
|
||||
using System;
|
||||
using System.Xml;
|
||||
using GreenshotPlugin.Core.OAuth;
|
||||
using GreenshotPlugin.IniFile;
|
||||
using GreenshotPlugin.Interfaces;
|
||||
using GreenshotPlugin.Interfaces.Plugin;
|
||||
|
||||
namespace GreenshotPicasaPlugin {
|
||||
/// <summary>
|
||||
/// Description of PicasaUtils.
|
||||
/// </summary>
|
||||
public static class PicasaUtils {
|
||||
private const string PicasaScope = "https://picasaweb.google.com/data/";
|
||||
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(PicasaUtils));
|
||||
private static readonly PicasaConfiguration Config = IniConfig.GetIniSection<PicasaConfiguration>();
|
||||
private const string AuthUrl = "https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={ClientId}&redirect_uri={RedirectUrl}&state={State}&scope=" + PicasaScope;
|
||||
private const string TokenUrl = "https://www.googleapis.com/oauth2/v3/token";
|
||||
private const string UploadUrl = "https://picasaweb.google.com/data/feed/api/user/{0}/albumid/{1}";
|
||||
|
||||
/// <summary>
|
||||
/// Do the actual upload to Picasa
|
||||
/// </summary>
|
||||
/// <param name="surfaceToUpload">Image to upload</param>
|
||||
/// <param name="outputSettings"></param>
|
||||
/// <param name="title"></param>
|
||||
/// <param name="filename"></param>
|
||||
/// <returns>PicasaResponse</returns>
|
||||
public static string UploadToPicasa(ISurface surfaceToUpload, SurfaceOutputSettings outputSettings, string title, string filename) {
|
||||
// Fill the OAuth2Settings
|
||||
var settings = new OAuth2Settings
|
||||
{
|
||||
AuthUrlPattern = AuthUrl,
|
||||
TokenUrl = TokenUrl,
|
||||
CloudServiceName = "Picasa",
|
||||
ClientId = PicasaCredentials.ClientId,
|
||||
ClientSecret = PicasaCredentials.ClientSecret,
|
||||
AuthorizeMode = OAuth2AuthorizeMode.LocalServer,
|
||||
RefreshToken = Config.RefreshToken,
|
||||
AccessToken = Config.AccessToken,
|
||||
AccessTokenExpires = Config.AccessTokenExpires
|
||||
};
|
||||
|
||||
// Copy the settings from the config, which is kept in memory and on the disk
|
||||
|
||||
try {
|
||||
var webRequest = OAuth2Helper.CreateOAuth2WebRequest(HTTPMethod.POST, string.Format(UploadUrl, Config.UploadUser, Config.UploadAlbum), settings);
|
||||
if (Config.AddFilename) {
|
||||
webRequest.Headers.Add("Slug", NetworkHelper.EscapeDataString(filename));
|
||||
}
|
||||
SurfaceContainer container = new SurfaceContainer(surfaceToUpload, outputSettings, filename);
|
||||
container.Upload(webRequest);
|
||||
|
||||
string response = NetworkHelper.GetResponseAsString(webRequest);
|
||||
|
||||
return ParseResponse(response);
|
||||
} finally {
|
||||
// Copy the settings back to the config, so they are stored.
|
||||
Config.RefreshToken = settings.RefreshToken;
|
||||
Config.AccessToken = settings.AccessToken;
|
||||
Config.AccessTokenExpires = settings.AccessTokenExpires;
|
||||
Config.IsDirty = true;
|
||||
IniConfig.Save();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Parse the upload URL from the response
|
||||
/// </summary>
|
||||
/// <param name="response"></param>
|
||||
/// <returns></returns>
|
||||
public static string ParseResponse(string response) {
|
||||
if (response == null) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
XmlDocument doc = new XmlDocument();
|
||||
doc.LoadXml(response);
|
||||
XmlNodeList nodes = doc.GetElementsByTagName("link", "*");
|
||||
if(nodes.Count > 0) {
|
||||
string url = null;
|
||||
foreach(XmlNode node in nodes) {
|
||||
if (node.Attributes != null) {
|
||||
url = node.Attributes["href"].Value;
|
||||
string rel = node.Attributes["rel"].Value;
|
||||
// Pictures with rel="http://schemas.google.com/photos/2007#canonical" are the direct link
|
||||
if (rel != null && rel.EndsWith("canonical")) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return url;
|
||||
}
|
||||
} catch(Exception e) {
|
||||
Log.ErrorFormat("Could not parse Picasa response due to error {0}, response was: {1}", e.Message, response);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
* A GooglePhotos Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using GreenshotPlugin.Core;
|
||||
using System;
|
||||
using System.Xml;
|
||||
using GreenshotPlugin.Core.OAuth;
|
||||
using GreenshotPlugin.IniFile;
|
||||
using GreenshotPlugin.Interfaces;
|
||||
using GreenshotPlugin.Interfaces.Plugin;
|
||||
|
||||
namespace GreenshotGooglePhotosPlugin {
|
||||
/// <summary>
|
||||
/// Description of GooglePhotosUtils.
|
||||
/// </summary>
|
||||
public static class GooglePhotosUtils {
|
||||
private const string GooglePhotosScope = "https://picasaweb.google.com/data/";
|
||||
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(GooglePhotosUtils));
|
||||
private static readonly GooglePhotosConfiguration Config = IniConfig.GetIniSection<GooglePhotosConfiguration>();
|
||||
private const string AuthUrl = "https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={ClientId}&redirect_uri={RedirectUrl}&state={State}&scope=" + GooglePhotosScope;
|
||||
private const string TokenUrl = "https://www.googleapis.com/oauth2/v3/token";
|
||||
private const string UploadUrl = "https://picasaweb.google.com/data/feed/api/user/{0}/albumid/{1}";
|
||||
|
||||
/// <summary>
|
||||
/// Do the actual upload to GooglePhotos
|
||||
/// </summary>
|
||||
/// <param name="surfaceToUpload">Image to upload</param>
|
||||
/// <param name="outputSettings">SurfaceOutputSettings</param>
|
||||
/// <param name="title">string</param>
|
||||
/// <param name="filename">string</param>
|
||||
/// <returns>GooglePhotosResponse</returns>
|
||||
public static string UploadToGooglePhotos(ISurface surfaceToUpload, SurfaceOutputSettings outputSettings, string title, string filename) {
|
||||
// Fill the OAuth2Settings
|
||||
var settings = new OAuth2Settings
|
||||
{
|
||||
AuthUrlPattern = AuthUrl,
|
||||
TokenUrl = TokenUrl,
|
||||
CloudServiceName = "GooglePhotos",
|
||||
ClientId = GooglePhotosCredentials.ClientId,
|
||||
ClientSecret = GooglePhotosCredentials.ClientSecret,
|
||||
AuthorizeMode = OAuth2AuthorizeMode.JsonReceiver,
|
||||
RefreshToken = Config.RefreshToken,
|
||||
AccessToken = Config.AccessToken,
|
||||
AccessTokenExpires = Config.AccessTokenExpires
|
||||
};
|
||||
|
||||
// Copy the settings from the config, which is kept in memory and on the disk
|
||||
|
||||
try {
|
||||
var webRequest = OAuth2Helper.CreateOAuth2WebRequest(HTTPMethod.POST, string.Format(UploadUrl, Config.UploadUser, Config.UploadAlbum), settings);
|
||||
if (Config.AddFilename) {
|
||||
webRequest.Headers.Add("Slug", NetworkHelper.EscapeDataString(filename));
|
||||
}
|
||||
SurfaceContainer container = new SurfaceContainer(surfaceToUpload, outputSettings, filename);
|
||||
container.Upload(webRequest);
|
||||
|
||||
string response = NetworkHelper.GetResponseAsString(webRequest);
|
||||
|
||||
return ParseResponse(response);
|
||||
} finally {
|
||||
// Copy the settings back to the config, so they are stored.
|
||||
Config.RefreshToken = settings.RefreshToken;
|
||||
Config.AccessToken = settings.AccessToken;
|
||||
Config.AccessTokenExpires = settings.AccessTokenExpires;
|
||||
Config.IsDirty = true;
|
||||
IniConfig.Save();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Parse the upload URL from the response
|
||||
/// </summary>
|
||||
/// <param name="response"></param>
|
||||
/// <returns></returns>
|
||||
public static string ParseResponse(string response) {
|
||||
if (response == null) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
XmlDocument doc = new XmlDocument();
|
||||
doc.LoadXml(response);
|
||||
XmlNodeList nodes = doc.GetElementsByTagName("link", "*");
|
||||
if(nodes.Count > 0) {
|
||||
string url = null;
|
||||
foreach(XmlNode node in nodes) {
|
||||
if (node.Attributes != null) {
|
||||
url = node.Attributes["href"].Value;
|
||||
string rel = node.Attributes["rel"].Value;
|
||||
// Pictures with rel="http://schemas.google.com/photos/2007#canonical" are the direct link
|
||||
if (rel != null && rel.EndsWith("canonical")) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return url;
|
||||
}
|
||||
} catch(Exception e) {
|
||||
Log.ErrorFormat("Could not parse GooglePhotos response due to error {0}, response was: {1}", e.Message, response);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -19,13 +19,13 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace GreenshotPicasaPlugin {
|
||||
namespace GreenshotGooglePhotosPlugin {
|
||||
/// <summary>
|
||||
/// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration.
|
||||
/// You can set your own values here
|
||||
/// </summary>
|
||||
public static class PicasaCredentials {
|
||||
public static string ClientId = "${Picasa_ClientId}";
|
||||
public static string ClientSecret = "${Picasa_ClientSecret}";
|
||||
public static class GooglePhotosCredentials {
|
||||
public static string ClientId = "${GooglePhotos_ClientId}";
|
||||
public static string ClientSecret = "${GooglePhotos_ClientSecret}";
|
||||
}
|
||||
}
|
|
@ -1,21 +1,15 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>GreenshotPicasaPlugin</RootNamespace>
|
||||
<AssemblyName>GreenshotPicasaPlugin</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="Languages\language*.xml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Picasa.png" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\GreenshotPlugin\GreenshotPlugin.csproj" />
|
||||
</ItemGroup>
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
<ItemGroup>
|
||||
<None Include="Languages\language*.xml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="GooglePhotos.png" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\GreenshotPlugin\GreenshotPlugin.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* A Picasa Plugin for Greenshot
|
||||
* A GooglePhotos Plugin for Greenshot
|
||||
* Copyright (C) 2011 Francis Noel
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
|
@ -16,9 +16,9 @@
|
|||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace GreenshotPicasaPlugin {
|
||||
*/
|
||||
|
||||
namespace GreenshotGooglePhotosPlugin {
|
||||
public enum LangKey
|
||||
{
|
||||
upload_menu_item,
|
|
@ -1,29 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Czech" ietf="cs-CZ" version="1.1.0.2411" languagegroup="">
|
||||
<resources>
|
||||
<resource name="CANCEL">Zrušit</resource>
|
||||
<resource name="communication_wait">Probíhá komunikace s Picasem. Prosím počkejte ...</resource>
|
||||
<resource name="Configure">Konfigurace</resource>
|
||||
<resource name="delete_question">Opravdu chcete odstranit obrázek {0} z Picasa?</resource>
|
||||
<resource name="delete_title">Odstranit Picasa {0}</resource>
|
||||
<resource name="History">Historie</resource>
|
||||
<resource name="InvalidCredentials">Neplatná oprávnění. Otevřít nastavení pro provedené změn.</resource>
|
||||
<resource name="label_AfterUpload">Po odeslání</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Kopírovat odkaz do schránky</resource>
|
||||
<resource name="label_AfterUploadOpenHistory">Zobrazit historii</resource>
|
||||
<resource name="label_DefaultSize">Výchozí velikost</resource>
|
||||
<resource name="label_Password">Heslo</resource>
|
||||
<resource name="label_upload_format">Formát obrázku</resource>
|
||||
<resource name="label_Username">Jméno</resource>
|
||||
<resource name="OK">OK</resource>
|
||||
<resource name="PictureDisplaySize.OriginalUrl">Originál URL</resource>
|
||||
<resource name="PictureDisplaySize.SquareThumbnailUrl">Čtvercové náhledy URL ???</resource>
|
||||
<resource name="PictureDisplaySize.WebUrl">Webová adresa URL</resource>
|
||||
<resource name="settings_title">Nastavení Picasa</resource>
|
||||
<resource name="Upload">Nahrát</resource>
|
||||
<resource name="upload_failure">Nahrání obrázku do Picasa se nezdařilo:</resource>
|
||||
<resource name="upload_menu_item">Nahrát do Picasa</resource>
|
||||
<resource name="upload_success">Úspěšně odeslaný obrázek do Picasa!</resource>
|
||||
<resource name="UsernameNotSet">Prosím ověřit aplikaci Picasa. Otevřít nastavení obrazovky. ???</resource>
|
||||
</resources>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Czech" ietf="cs-CZ" version="1.1.0.2411" languagegroup="">
|
||||
<resources>
|
||||
<resource name="CANCEL">Zrušit</resource>
|
||||
<resource name="communication_wait">Probíhá komunikace s Picasem. Prosím počkejte ...</resource>
|
||||
<resource name="Configure">Konfigurace</resource>
|
||||
<resource name="delete_question">Opravdu chcete odstranit obrázek {0} z GooglePhotos?</resource>
|
||||
<resource name="delete_title">Odstranit GooglePhotos {0}</resource>
|
||||
<resource name="History">Historie</resource>
|
||||
<resource name="InvalidCredentials">Neplatná oprávnění. Otevřít nastavení pro provedené změn.</resource>
|
||||
<resource name="label_AfterUpload">Po odeslání</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Kopírovat odkaz do schránky</resource>
|
||||
<resource name="label_AfterUploadOpenHistory">Zobrazit historii</resource>
|
||||
<resource name="label_DefaultSize">Výchozí velikost</resource>
|
||||
<resource name="label_Password">Heslo</resource>
|
||||
<resource name="label_upload_format">Formát obrázku</resource>
|
||||
<resource name="label_Username">Jméno</resource>
|
||||
<resource name="OK">OK</resource>
|
||||
<resource name="PictureDisplaySize.OriginalUrl">Originál URL</resource>
|
||||
<resource name="PictureDisplaySize.SquareThumbnailUrl">Čtvercové náhledy URL ???</resource>
|
||||
<resource name="PictureDisplaySize.WebUrl">Webová adresa URL</resource>
|
||||
<resource name="settings_title">Nastavení GooglePhotos</resource>
|
||||
<resource name="Upload">Nahrát</resource>
|
||||
<resource name="upload_failure">Nahrání obrázku do GooglePhotos se nezdařilo:</resource>
|
||||
<resource name="upload_menu_item">Nahrát do GooglePhotos</resource>
|
||||
<resource name="upload_success">Úspěšně odeslaný obrázek do GooglePhotos!</resource>
|
||||
<resource name="UsernameNotSet">Prosím ověřit aplikaci GooglePhotos. Otevřít nastavení obrazovky. ???</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -8,25 +8,25 @@
|
|||
Anschliessend
|
||||
</resource>
|
||||
<resource name="Configure">
|
||||
Picasa konfigurieren
|
||||
GooglePhotos konfigurieren
|
||||
</resource>
|
||||
<resource name="upload_menu_item">
|
||||
Hochladen zu Picasa
|
||||
Hochladen zu GooglePhotos
|
||||
</resource>
|
||||
<resource name="settings_title">
|
||||
Picasa Einstellungen
|
||||
GooglePhotos Einstellungen
|
||||
</resource>
|
||||
<resource name="upload_success">
|
||||
Hochladen zu Picasa war erfolgreich !
|
||||
Hochladen zu GooglePhotos war erfolgreich !
|
||||
</resource>
|
||||
<resource name="upload_failure">
|
||||
Fehler beim Hochladen zu Picasa:
|
||||
Fehler beim Hochladen zu GooglePhotos:
|
||||
</resource>
|
||||
<resource name="label_upload_format">
|
||||
Grafikformat
|
||||
</resource>
|
||||
<resource name="communication_wait">
|
||||
Übermittle Daten zu Picasa. Bitte warten...
|
||||
Übermittle Daten zu GooglePhotos. Bitte warten...
|
||||
</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -8,25 +8,25 @@
|
|||
After upload
|
||||
</resource>
|
||||
<resource name="Configure">
|
||||
Configure Picasa
|
||||
Configure GooglePhotos
|
||||
</resource>
|
||||
<resource name="upload_menu_item">
|
||||
Upload to Picasa
|
||||
Upload to GooglePhotos
|
||||
</resource>
|
||||
<resource name="settings_title">
|
||||
Picasa settings
|
||||
GooglePhotos settings
|
||||
</resource>
|
||||
<resource name="upload_success">
|
||||
Successfully uploaded image to Picasa!
|
||||
Successfully uploaded image to GooglePhotos!
|
||||
</resource>
|
||||
<resource name="upload_failure">
|
||||
An error occured while uploading to Picasa:
|
||||
An error occured while uploading to GooglePhotos:
|
||||
</resource>
|
||||
<resource name="label_upload_format">
|
||||
Image format
|
||||
</resource>
|
||||
<resource name="communication_wait">
|
||||
Communicating with Picasa. Please wait...
|
||||
Communicating with GooglePhotos. Please wait...
|
||||
</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Français" ietf="fr-FR" version="1.0.0" languagegroup="">
|
||||
<resources>
|
||||
<resource name="communication_wait">Communication en cours avec Picasa. Veuillez patientez...</resource>
|
||||
<resource name="Configure">Configurer Picasa</resource>
|
||||
<resource name="label_AfterUpload">Après téléversement</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Copier le lien dans le presse-papier</resource>
|
||||
<resource name="label_upload_format">Format image</resource>
|
||||
<resource name="settings_title">Paramètres Picasa</resource>
|
||||
<resource name="upload_failure">Une erreur s'est produite lors du téléversement vers Picasa :</resource>
|
||||
<resource name="upload_menu_item">Téléverser vers Picasa</resource>
|
||||
<resource name="upload_success">Image téléversée avec succès vers Picasa !</resource>
|
||||
</resources>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Français" ietf="fr-FR" version="1.0.0" languagegroup="">
|
||||
<resources>
|
||||
<resource name="communication_wait">Communication en cours avec GooglePhotos. Veuillez patientez...</resource>
|
||||
<resource name="Configure">Configurer GooglePhotos</resource>
|
||||
<resource name="label_AfterUpload">Après téléversement</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Copier le lien dans le presse-papier</resource>
|
||||
<resource name="label_upload_format">Format image</resource>
|
||||
<resource name="settings_title">Paramètres GooglePhotos</resource>
|
||||
<resource name="upload_failure">Une erreur s'est produite lors du téléversement vers GooglePhotos :</resource>
|
||||
<resource name="upload_menu_item">Téléverser vers GooglePhotos</resource>
|
||||
<resource name="upload_success">Image téléversée avec succès vers GooglePhotos !</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Bahasa Indonesia" ietf="id-ID" version="1.0.0.0" languagegroup="">
|
||||
<resources>
|
||||
<resource name="communication_wait">Menyambungkan ke Picasa. Tunggu sebentar...</resource>
|
||||
<resource name="Configure">Konfigurasi Picasa</resource>
|
||||
<resource name="label_AfterUpload">Sesudah mengunggah</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Sambung ke papanklip</resource>
|
||||
<resource name="label_upload_format">Format gambar</resource>
|
||||
<resource name="settings_title">Pengaturan Picasa</resource>
|
||||
<resource name="upload_failure">Kesalahan terjadi ketika mengunggah ke Picasa:</resource>
|
||||
<resource name="upload_menu_item">Unggah ke Picasa</resource>
|
||||
<resource name="upload_success">Berhasil mengunggah gambar ke Picasa!</resource>
|
||||
</resources>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Bahasa Indonesia" ietf="id-ID" version="1.0.0.0" languagegroup="">
|
||||
<resources>
|
||||
<resource name="communication_wait">Menyambungkan ke GooglePhotos. Tunggu sebentar...</resource>
|
||||
<resource name="Configure">Konfigurasi GooglePhotos</resource>
|
||||
<resource name="label_AfterUpload">Sesudah mengunggah</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Sambung ke papanklip</resource>
|
||||
<resource name="label_upload_format">Format gambar</resource>
|
||||
<resource name="settings_title">Pengaturan GooglePhotos</resource>
|
||||
<resource name="upload_failure">Kesalahan terjadi ketika mengunggah ke GooglePhotos:</resource>
|
||||
<resource name="upload_menu_item">Unggah ke GooglePhotos</resource>
|
||||
<resource name="upload_success">Berhasil mengunggah gambar ke GooglePhotos!</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,32 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Italiano" ietf="it-IT" version="1.1.5">
|
||||
<resources>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">
|
||||
Collegamento agli Appunti
|
||||
</resource>
|
||||
<resource name="label_AfterUpload">
|
||||
Dopo il caricamento
|
||||
</resource>
|
||||
<resource name="Configure">
|
||||
Impostazioni Picasa
|
||||
</resource>
|
||||
<resource name="upload_menu_item">
|
||||
Carica su Picasa
|
||||
</resource>
|
||||
<resource name="settings_title">
|
||||
Impostazioni Picasa
|
||||
</resource>
|
||||
<resource name="upload_success">
|
||||
Caricamento immagine su Picasa completato!
|
||||
</resource>
|
||||
<resource name="upload_failure">
|
||||
Si è verificato un errore durante il caricamento su Picasa:
|
||||
</resource>
|
||||
<resource name="label_upload_format">
|
||||
Formato immagine
|
||||
</resource>
|
||||
<resource name="communication_wait">
|
||||
Comunicazione con Picasa...
|
||||
</resource>
|
||||
</resources>
|
||||
</language>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Italiano" ietf="it-IT" version="1.1.5">
|
||||
<resources>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">
|
||||
Collegamento agli Appunti
|
||||
</resource>
|
||||
<resource name="label_AfterUpload">
|
||||
Dopo il caricamento
|
||||
</resource>
|
||||
<resource name="Configure">
|
||||
Impostazioni GooglePhotos
|
||||
</resource>
|
||||
<resource name="upload_menu_item">
|
||||
Carica su GooglePhotos
|
||||
</resource>
|
||||
<resource name="settings_title">
|
||||
Impostazioni GooglePhotos
|
||||
</resource>
|
||||
<resource name="upload_success">
|
||||
Caricamento immagine su GooglePhotos completato!
|
||||
</resource>
|
||||
<resource name="upload_failure">
|
||||
Si è verificato un errore durante il caricamento su GooglePhotos:
|
||||
</resource>
|
||||
<resource name="label_upload_format">
|
||||
Formato immagine
|
||||
</resource>
|
||||
<resource name="communication_wait">
|
||||
Comunicazione con GooglePhotos...
|
||||
</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="日本語" ietf="ja-JP" version="1.0.0">
|
||||
<resources>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">リンクをクリップボードへコピー</resource>
|
||||
<resource name="label_AfterUpload">アップロード後</resource>
|
||||
<resource name="Configure">GooglePhotos の設定</resource>
|
||||
<resource name="upload_menu_item">GooglePhotos にアップロード</resource>
|
||||
<resource name="settings_title">GooglePhotos の設定</resource>
|
||||
<resource name="upload_success">GooglePhotos へのアップロードに成功しました!</resource>
|
||||
<resource name="upload_failure">GooglePhotos へのアップロード中にエラーが発生しました:</resource>
|
||||
<resource name="label_upload_format">画像フォーマット</resource>
|
||||
<resource name="communication_wait">GooglePhotos に接続中です。しばらくお待ち下さい...</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Taqbaylit" ietf="kab-DZ" version="1.0.0" languagegroup="">
|
||||
<resources>
|
||||
<resource name="communication_wait">S tidett tebɣiḍ ad tekkseḍ amazray adigan n Picasa ?...</resource>
|
||||
<resource name="Configure">Swel Picasa</resource>
|
||||
<resource name="communication_wait">S tidett tebɣiḍ ad tekkseḍ amazray adigan n GooglePhotos ?...</resource>
|
||||
<resource name="Configure">Swel GooglePhotos</resource>
|
||||
<resource name="label_AfterUpload">Ticki yemmed usali</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Nɣel aseɣwen ɣef afus</resource>
|
||||
<resource name="label_upload_format">Amsal n tugna</resource>
|
||||
<resource name="settings_title">Iɣewwaṛen Picasa</resource>
|
||||
<resource name="upload_failure">Teḍra-d tuccḍa deg usali ɣer Picasa :</resource>
|
||||
<resource name="upload_menu_item">Sali ɣer Picasa</resource>
|
||||
<resource name="upload_success">Tugna tuli ɣer Picasa !</resource>
|
||||
<resource name="settings_title">Iɣewwaṛen GooglePhotos</resource>
|
||||
<resource name="upload_failure">Teḍra-d tuccḍa deg usali ɣer GooglePhotos :</resource>
|
||||
<resource name="upload_menu_item">Sali ɣer GooglePhotos</resource>
|
||||
<resource name="upload_success">Tugna tuli ɣer GooglePhotos !</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -8,25 +8,25 @@
|
|||
얼로드 후
|
||||
</resource>
|
||||
<resource name="Configure">
|
||||
Picasa 설정
|
||||
GooglePhotos 설정
|
||||
</resource>
|
||||
<resource name="upload_menu_item">
|
||||
Picasa로 업로드
|
||||
GooglePhotos로 업로드
|
||||
</resource>
|
||||
<resource name="settings_title">
|
||||
Picasa 설정
|
||||
GooglePhotos 설정
|
||||
</resource>
|
||||
<resource name="upload_success">
|
||||
Picasa로 이미지 업로드 성공!
|
||||
GooglePhotos로 이미지 업로드 성공!
|
||||
</resource>
|
||||
<resource name="upload_failure">
|
||||
Picasa로 업로드시 오류 발생:
|
||||
GooglePhotos로 업로드시 오류 발생:
|
||||
</resource>
|
||||
<resource name="label_upload_format">
|
||||
이미지 형식
|
||||
</resource>
|
||||
<resource name="communication_wait">
|
||||
Picasa와 연결 중 잠시 기다리세요...
|
||||
GooglePhotos와 연결 중 잠시 기다리세요...
|
||||
</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -9,25 +9,25 @@
|
|||
Pēc augšupielādes
|
||||
</resource>
|
||||
<resource name="Configure">
|
||||
Picasa iestatījumi
|
||||
GooglePhotos iestatījumi
|
||||
</resource>
|
||||
<resource name="upload_menu_item">
|
||||
Augšupieladēt uz Picasa
|
||||
Augšupieladēt uz GooglePhotos
|
||||
</resource>
|
||||
<resource name="settings_title">
|
||||
Picasa iestatījumi
|
||||
GooglePhotos iestatījumi
|
||||
</resource>
|
||||
<resource name="upload_success">
|
||||
Attēls veiksmīgi augšupielādēts uz Picasa!
|
||||
Attēls veiksmīgi augšupielādēts uz GooglePhotos!
|
||||
</resource>
|
||||
<resource name="upload_failure">
|
||||
Kļūda augšuplādējot uz Picasa:
|
||||
Kļūda augšuplādējot uz GooglePhotos:
|
||||
</resource>
|
||||
<resource name="label_upload_format">
|
||||
Attēla formāts
|
||||
</resource>
|
||||
<resource name="communication_wait">
|
||||
Savienojos ar Picasa. Lūdzu uzgaidiet...
|
||||
Savienojos ar GooglePhotos. Lūdzu uzgaidiet...
|
||||
</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Polski" ietf="pl-PL" version="1.1.4" languagegroup="2">
|
||||
<resources>
|
||||
<resource name="communication_wait">Trwa komunikacja z GooglePhotos. Proszę czekać...</resource>
|
||||
<resource name="Configure">Konfiguruj GooglePhotos</resource>
|
||||
<resource name="label_AfterUpload">Po wysłaniu</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Link do schowka</resource>
|
||||
<resource name="label_upload_format">Format obrazów</resource>
|
||||
<resource name="settings_title">Ustawienia GooglePhotos</resource>
|
||||
<resource name="upload_failure">Wystąpił błąd przy wysyłaniu do GooglePhotos:</resource>
|
||||
<resource name="upload_menu_item">Wyślij do GooglePhotos</resource>
|
||||
<resource name="upload_success">Wysyłanie obrazu do GooglePhotos powiodło się!</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -8,25 +8,25 @@
|
|||
Após enviar
|
||||
</resource>
|
||||
<resource name="Configure">
|
||||
Configurar o Picasa
|
||||
Configurar o GooglePhotos
|
||||
</resource>
|
||||
<resource name="upload_menu_item">
|
||||
enviar para o Picasa
|
||||
enviar para o GooglePhotos
|
||||
</resource>
|
||||
<resource name="settings_title">
|
||||
Definições Picasa
|
||||
Definições GooglePhotos
|
||||
</resource>
|
||||
<resource name="upload_success">
|
||||
Imagem enviada com êxito para o Picasa!
|
||||
Imagem enviada com êxito para o GooglePhotos!
|
||||
</resource>
|
||||
<resource name="upload_failure">
|
||||
Ocorreu um erro ao enviar para o Picasa:
|
||||
Ocorreu um erro ao enviar para o GooglePhotos:
|
||||
</resource>
|
||||
<resource name="label_upload_format">
|
||||
Formato da imagem
|
||||
</resource>
|
||||
<resource name="communication_wait">
|
||||
A comunicar com o Picasa. Por favor aguarde...
|
||||
A comunicar com o GooglePhotos. Por favor aguarde...
|
||||
</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Русский" ietf="ru-RU" version="1.1.0.2515" languagegroup="5">
|
||||
<resources>
|
||||
<resource name="communication_wait">Обмен данными с Picasa. Подождите...</resource>
|
||||
<resource name="Configure">Настройка Picasa</resource>
|
||||
<resource name="label_AfterUpload">После загрузки</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Ссылки в буфер обмена</resource>
|
||||
<resource name="label_upload_format">Формат изображения</resource>
|
||||
<resource name="settings_title">Настройки Picasa</resource>
|
||||
<resource name="upload_failure">Произошла ошибка при загрузке на Picasa:</resource>
|
||||
<resource name="upload_menu_item">Загрузить на Picasa</resource>
|
||||
<resource name="upload_success">Изображение успешно загружено на Picasa!</resource>
|
||||
</resources>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Русский" ietf="ru-RU" version="1.1.0.2515" languagegroup="5">
|
||||
<resources>
|
||||
<resource name="communication_wait">Обмен данными с GooglePhotos. Подождите...</resource>
|
||||
<resource name="Configure">Настройка GooglePhotos</resource>
|
||||
<resource name="label_AfterUpload">После загрузки</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Ссылки в буфер обмена</resource>
|
||||
<resource name="label_upload_format">Формат изображения</resource>
|
||||
<resource name="settings_title">Настройки GooglePhotos</resource>
|
||||
<resource name="upload_failure">Произошла ошибка при загрузке на GooglePhotos:</resource>
|
||||
<resource name="upload_menu_item">Загрузить на GooglePhotos</resource>
|
||||
<resource name="upload_success">Изображение успешно загружено на GooglePhotos!</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Српски" ietf="sr-RS" version="1.0.5" languagegroup="">
|
||||
<resources>
|
||||
<resource name="communication_wait">Комуницирам с Пикасом. Сачекајте…</resource>
|
||||
<resource name="Configure">Поставке Пикасе</resource>
|
||||
<resource name="label_AfterUpload">Након отпремања:</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Веза ка остави</resource>
|
||||
<resource name="label_upload_format">Формат слике:</resource>
|
||||
<resource name="settings_title">Поставке Пикасе</resource>
|
||||
<resource name="upload_failure">Дошло је до грешке при отпремању на Пикасу:</resource>
|
||||
<resource name="upload_menu_item">Отпреми на Пикасу</resource>
|
||||
<resource name="upload_success">Слика је успешно отпремљена на Пикасу.</resource>
|
||||
</resources>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Српски" ietf="sr-RS" version="1.0.5" languagegroup="">
|
||||
<resources>
|
||||
<resource name="communication_wait">Комуницирам с Пикасом. Сачекајте…</resource>
|
||||
<resource name="Configure">Поставке Пикасе</resource>
|
||||
<resource name="label_AfterUpload">Након отпремања:</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Веза ка остави</resource>
|
||||
<resource name="label_upload_format">Формат слике:</resource>
|
||||
<resource name="settings_title">Поставке Пикасе</resource>
|
||||
<resource name="upload_failure">Дошло је до грешке при отпремању на Пикасу:</resource>
|
||||
<resource name="upload_menu_item">Отпреми на Пикасу</resource>
|
||||
<resource name="upload_success">Слика је успешно отпремљена на Пикасу.</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -8,25 +8,25 @@
|
|||
Vid uppladdning
|
||||
</resource>
|
||||
<resource name="Configure">
|
||||
Konfigurera Picasa
|
||||
Konfigurera GooglePhotos
|
||||
</resource>
|
||||
<resource name="upload_menu_item">
|
||||
Ladda upp till Picasa
|
||||
Ladda upp till GooglePhotos
|
||||
</resource>
|
||||
<resource name="settings_title">
|
||||
Picasa-inställningar
|
||||
GooglePhotos-inställningar
|
||||
</resource>
|
||||
<resource name="upload_success">
|
||||
Skärmdumpen laddades upp till Picasa!
|
||||
Skärmdumpen laddades upp till GooglePhotos!
|
||||
</resource>
|
||||
<resource name="upload_failure">
|
||||
Ett fel uppstod vid uppladdning till Picasa:
|
||||
Ett fel uppstod vid uppladdning till GooglePhotos:
|
||||
</resource>
|
||||
<resource name="label_upload_format">
|
||||
Bildformat
|
||||
</resource>
|
||||
<resource name="communication_wait">
|
||||
Kommunicerar med Picasa. Vänta...
|
||||
Kommunicerar med GooglePhotos. Vänta...
|
||||
</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Українська" ietf="uk-UA" version="1.0.0">
|
||||
<resources>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Посилання в буфер обміну</resource>
|
||||
<resource name="label_AfterUpload">Після вивантаження</resource>
|
||||
<resource name="Configure">Налаштувати Picasa</resource>
|
||||
<resource name="upload_menu_item">Вивантажити на Picasa</resource>
|
||||
<resource name="settings_title">Параметри Picasa</resource>
|
||||
<resource name="upload_success">Зображення вдало вивантажено на Picasa!</resource>
|
||||
<resource name="upload_failure">Відбулась помилка під час вивантаження на Picasa:</resource>
|
||||
<resource name="label_upload_format">Формат зображення</resource>
|
||||
<resource name="communication_wait">З’єднання з Picasa. Будь ласка, зачекайте...</resource>
|
||||
</resources>
|
||||
</language>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Українська" ietf="uk-UA" version="1.0.0">
|
||||
<resources>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Посилання в буфер обміну</resource>
|
||||
<resource name="label_AfterUpload">Після вивантаження</resource>
|
||||
<resource name="Configure">Налаштувати GooglePhotos</resource>
|
||||
<resource name="upload_menu_item">Вивантажити на GooglePhotos</resource>
|
||||
<resource name="settings_title">Параметри GooglePhotos</resource>
|
||||
<resource name="upload_success">Зображення вдало вивантажено на GooglePhotos!</resource>
|
||||
<resource name="upload_failure">Відбулась помилка під час вивантаження на GooglePhotos:</resource>
|
||||
<resource name="label_upload_format">Формат зображення</resource>
|
||||
<resource name="communication_wait">З’єднання з GooglePhotos. Будь ласка, зачекайте...</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="简体中文" ietf="zh-CN" version="1.0.3" languagegroup="a">
|
||||
<resources>
|
||||
<resource name="communication_wait">正在连接到GooglePhotos。请稍后...</resource>
|
||||
<resource name="Configure">配置 GooglePhotos</resource>
|
||||
<resource name="label_AfterUpload">上传之后</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">复制链接到剪贴板</resource>
|
||||
<resource name="label_upload_format">图片格式</resource>
|
||||
<resource name="settings_title">GooglePhotos设置</resource>
|
||||
<resource name="upload_failure">上传到GooglePhotos时发生错误:</resource>
|
||||
<resource name="upload_menu_item">上传到GooglePhotos</resource>
|
||||
<resource name="upload_success">图片已成功上传到了GooglePhotos!</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="正體中文" ietf="zh-TW" version="1.0.0" languagegroup="9">
|
||||
<resources>
|
||||
<resource name="communication_wait">正在與 GooglePhotos 通訊,請稍候...</resource>
|
||||
<resource name="Configure">組態 GooglePhotos</resource>
|
||||
<resource name="label_AfterUpload">上傳後</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">連結到剪貼簿</resource>
|
||||
<resource name="label_upload_format">圖片格式</resource>
|
||||
<resource name="settings_title">GooglePhotos 設定</resource>
|
||||
<resource name="upload_failure">上傳到 GooglePhotos 時發生錯誤:</resource>
|
||||
<resource name="upload_menu_item">上傳到 GooglePhotos</resource>
|
||||
<resource name="upload_success">上傳圖片到 GooglePhotos 成功!</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -25,7 +25,7 @@ using System.Runtime.InteropServices;
|
|||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyDescription("A plugin to upload images to Picasa")]
|
||||
[assembly: AssemblyDescription("A plugin to upload images to GooglePhotos")]
|
||||
|
||||
// This sets the default COM visibility of types in the assembly to invisible.
|
||||
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="日本語" ietf="ja-JP" version="1.0.0">
|
||||
<resources>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">リンクをクリップボードへコピー</resource>
|
||||
<resource name="label_AfterUpload">アップロード後</resource>
|
||||
<resource name="Configure">Picasa の設定</resource>
|
||||
<resource name="upload_menu_item">Picasa にアップロード</resource>
|
||||
<resource name="settings_title">Picasa の設定</resource>
|
||||
<resource name="upload_success">Picasa へのアップロードに成功しました!</resource>
|
||||
<resource name="upload_failure">Picasa へのアップロード中にエラーが発生しました:</resource>
|
||||
<resource name="label_upload_format">画像フォーマット</resource>
|
||||
<resource name="communication_wait">Picasa に接続中です。しばらくお待ち下さい...</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="Polski" ietf="pl-PL" version="1.1.4" languagegroup="2">
|
||||
<resources>
|
||||
<resource name="communication_wait">Trwa komunikacja z Picasa. Proszę czekać...</resource>
|
||||
<resource name="Configure">Konfiguruj Picasa</resource>
|
||||
<resource name="label_AfterUpload">Po wysłaniu</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">Link do schowka</resource>
|
||||
<resource name="label_upload_format">Format obrazów</resource>
|
||||
<resource name="settings_title">Ustawienia Picasa</resource>
|
||||
<resource name="upload_failure">Wystąpił błąd przy wysyłaniu do Picasa:</resource>
|
||||
<resource name="upload_menu_item">Wyślij do Picasa</resource>
|
||||
<resource name="upload_success">Wysyłanie obrazu do Picasa powiodło się!</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="简体中文" ietf="zh-CN" version="1.0.3" languagegroup="a">
|
||||
<resources>
|
||||
<resource name="communication_wait">正在连接到Picasa。请稍后...</resource>
|
||||
<resource name="Configure">配置 Picasa</resource>
|
||||
<resource name="label_AfterUpload">上传之后</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">复制链接到剪贴板</resource>
|
||||
<resource name="label_upload_format">图片格式</resource>
|
||||
<resource name="settings_title">Picasa设置</resource>
|
||||
<resource name="upload_failure">上传到Picasa时发生错误:</resource>
|
||||
<resource name="upload_menu_item">上传到Picasa</resource>
|
||||
<resource name="upload_success">图片已成功上传到了Picasa!</resource>
|
||||
</resources>
|
||||
</language>
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<language description="正體中文" ietf="zh-TW" version="1.0.0" languagegroup="9">
|
||||
<resources>
|
||||
<resource name="communication_wait">正在與 Picasa 通訊,請稍候...</resource>
|
||||
<resource name="Configure">組態 Picasa</resource>
|
||||
<resource name="label_AfterUpload">上傳後</resource>
|
||||
<resource name="label_AfterUploadLinkToClipBoard">連結到剪貼簿</resource>
|
||||
<resource name="label_upload_format">圖片格式</resource>
|
||||
<resource name="settings_title">Picasa 設定</resource>
|
||||
<resource name="upload_failure">上傳到 Picasa 時發生錯誤:</resource>
|
||||
<resource name="upload_menu_item">上傳到 Picasa</resource>
|
||||
<resource name="upload_success">上傳圖片到 Picasa 成功!</resource>
|
||||
</resources>
|
||||
</language>
|
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue